Home
last modified time | relevance | path

Searched refs:start_sect (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/block/partitions/
Dacorn.c125 __le32 start_sect; member
153 le32_to_cpu(linuxp->start_sect), in linux_partition()
258 unsigned long start_sect, nr_sects, sectscyl, heads; in adfspart_check_ADFS() local
277 start_sect = ((data[0x1fe] << 8) + data[0x1fd]) * sectscyl; in adfspart_check_ADFS()
284 nr_sects = (state->bdev->bd_inode->i_size >> 9) - start_sect; in adfspart_check_ADFS()
286 if (start_sect) { in adfspart_check_ADFS()
291 slot = riscix_partition(state, start_sect, slot, in adfspart_check_ADFS()
297 slot = linux_partition(state, start_sect, slot, in adfspart_check_ADFS()
Dmsdos.c43 static inline sector_t start_sect(struct partition *p) in start_sect() function
45 return (sector_t)get_unaligned_le32(&p->start_sect); in start_sect()
171 offs = start_sect(p)*sector_size; in parse_extended()
205 this_sector = first_sector + start_sect(p) * sector_size; in parse_extended()
386 le32_to_cpu(p->start_sect), in parse_unixware()
430 start_sect(p), nr_sects(p)); in parse_minix()
534 sector_t start = start_sect(p)*sector_size; in msdos_partition()
582 subtypes[n].parse(state, start_sect(p) * sector_size, in msdos_partition()
Damiga.c35 sector_t start_sect, nr_sects; in amiga_partition() local
111 start_sect = (sector_t)be32_to_cpu(pb->pb_Environment[9]) * in amiga_partition()
115 put_partition(state,slot++,start_sect,nr_sects); in amiga_partition()
/linux-4.19.296/block/
Dioctl.c58 if (!(start + length <= part->start_sect || in blkpg_ioctl()
59 start >= part->start_sect + part->nr_sects)) { in blkpg_ioctl()
121 if (start != part->start_sect) { in blkpg_ioctl()
133 !(start + length <= lpart->start_sect || in blkpg_ioctl()
134 start >= lpart->start_sect + lpart->nr_sects) in blkpg_ioctl()
Dpartition-generic.c87 return sprintf(buf, "%llu\n",(unsigned long long)p->start_sect); in part_start_show()
257 part->start_sect = 0; in delete_partition_work_fn()
352 p->start_sect = start; in add_partition()
Dgenhd.c250 return part->start_sect <= sector && in sector_in_part()
251 sector < part->start_sect + part_nr_sects_read(part); in sector_in_part()
Dblk-core.c2241 bio->bi_iter.bi_sector += p->start_sect; in blk_partition_remap()
2243 bio->bi_iter.bi_sector - p->start_sect); in blk_partition_remap()
/linux-4.19.296/include/linux/
Dgenhd.h81 __le32 start_sect; /* starting sector counting from 0 */ member
107 sector_t start_sect; member
440 return bdev->bd_part->start_sect; in get_start_sect()
550 __le32 start_sect; /* starting sector */ member