Searched refs:start_sect (Results 1 – 7 of 7) sorted by relevance
/block/partitions/ |
D | acorn.c | 125 __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()
|
D | msdos.c | 42 static inline sector_t start_sect(struct partition *p) in start_sect() function 44 return (sector_t)get_unaligned_le32(&p->start_sect); in start_sect() 170 offs = start_sect(p)*sector_size; in parse_extended() 204 this_sector = first_sector + start_sect(p) * sector_size; in parse_extended() 385 le32_to_cpu(p->start_sect), in parse_unixware() 429 start_sect(p), nr_sects(p)); in parse_minix() 533 sector_t start = start_sect(p)*sector_size; in msdos_partition() 581 subtypes[n].parse(state, start_sect(p) * sector_size, in msdos_partition()
|
D | amiga.c | 34 int start_sect, nr_sects, blk, part, res = 0; in amiga_partition() local 109 start_sect = be32_to_cpu(pb->pb_Environment[9]) * in amiga_partition() 113 put_partition(state,slot++,start_sect,nr_sects); in amiga_partition()
|
/block/ |
D | ioctl.c | 55 if (!(start + length <= part->start_sect || in blkpg_ioctl() 56 start >= part->start_sect + part->nr_sects)) { in blkpg_ioctl() 118 if (start != part->start_sect) { in blkpg_ioctl() 130 !(start + length <= lpart->start_sect || in blkpg_ioctl() 131 start >= lpart->start_sect + lpart->nr_sects) in blkpg_ioctl()
|
D | partition-generic.c | 81 return sprintf(buf, "%llu\n",(unsigned long long)p->start_sect); in part_start_show() 241 part->start_sect = 0; in delete_partition_rcu_cb() 313 p->start_sect = start; in add_partition()
|
D | genhd.c | 198 return part->start_sect <= sector && in sector_in_part() 199 sector < part->start_sect + part_nr_sects_read(part); in sector_in_part()
|
D | blk-core.c | 1798 bio->bi_iter.bi_sector += p->start_sect; in blk_partition_remap() 1803 bio->bi_iter.bi_sector - p->start_sect); in blk_partition_remap()
|