Home
last modified time | relevance | path

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

/block/partitions/
Dacorn.c120 __le32 start_sect; member
148 le32_to_cpu(linuxp->start_sect), in linux_partition()
253 unsigned long start_sect, nr_sects, sectscyl, heads; in adfspart_check_ADFS() local
272 start_sect = ((data[0x1fe] << 8) + data[0x1fd]) * sectscyl; in adfspart_check_ADFS()
279 nr_sects = (state->bdev->bd_inode->i_size >> 9) - start_sect; in adfspart_check_ADFS()
281 if (start_sect) { in adfspart_check_ADFS()
286 slot = riscix_partition(state, start_sect, slot, in adfspart_check_ADFS()
292 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 int start_sect, nr_sects, blk, part, res = 0; in amiga_partition() local
110 start_sect = be32_to_cpu(pb->pb_Environment[9]) * in amiga_partition()
114 put_partition(state,slot++,start_sect,nr_sects); in amiga_partition()
/block/
Dioctl.c59 if (!(start + length <= part->start_sect || in blkpg_ioctl()
60 start >= part->start_sect + part->nr_sects)) { in blkpg_ioctl()
122 if (start != part->start_sect) { in blkpg_ioctl()
134 !(start + length <= lpart->start_sect || in blkpg_ioctl()
135 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()
253 part->start_sect = 0; in delete_partition_work_fn()
341 p->start_sect = start; in add_partition()
Dblk-core.c858 bio->bi_iter.bi_sector += p->start_sect; in blk_partition_remap()
860 bio->bi_iter.bi_sector - p->start_sect); in blk_partition_remap()
Dgenhd.c261 return part->start_sect <= sector && in sector_in_part()
262 sector < part->start_sect + part_nr_sects_read(part); in sector_in_part()