Searched refs:start_sect (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/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() 381 le32_to_cpu(p->start_sect), in parse_unixware() 425 start_sect(p), nr_sects(p)); in parse_minix() 529 sector_t start = start_sect(p)*sector_size; in msdos_partition() 577 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()
|
/linux-4.1.27/block/ |
D | ioctl.c | 54 if (!(start + length <= part->start_sect || in blkpg_ioctl() 55 start >= part->start_sect + part->nr_sects)) { in blkpg_ioctl() 117 if (start != part->start_sect) { in blkpg_ioctl() 129 !(start + length <= lpart->start_sect || in blkpg_ioctl() 130 start >= lpart->start_sect + lpart->nr_sects) in blkpg_ioctl()
|
D | partition-generic.c | 80 return sprintf(buf, "%llu\n",(unsigned long long)p->start_sect); in part_start_show() 230 part->start_sect = 0; in delete_partition_rcu_cb() 301 p->start_sect = start; in add_partition()
|
D | genhd.c | 196 return part->start_sect <= sector && in sector_in_part() 197 sector < part->start_sect + part_nr_sects_read(part); in sector_in_part()
|
D | blk-core.c | 1702 bio->bi_iter.bi_sector += p->start_sect; in blk_partition_remap() 1707 bio->bi_iter.bi_sector - p->start_sect); in blk_partition_remap()
|
/linux-4.1.27/include/linux/ |
D | genhd.h | 77 __le32 start_sect; /* starting sector counting from 0 */ member 103 sector_t start_sect; member 443 return bdev->bd_part->start_sect; in get_start_sect() 553 __le32 start_sect; /* starting sector */ member
|
/linux-4.1.27/drivers/scsi/ |
D | scsicam.c | 166 logical_end = get_unaligned_le32(&largest->start_sect) in scsi_partsize()
|
D | scsi_debug.c | 3936 pp->start_sect = cpu_to_le32(start_sec); in sdebug_build_parts()
|
/linux-4.1.27/kernel/trace/ |
D | blktrace.c | 425 bt->start_lba = part->start_sect; in blk_trace_setup_lba() 426 bt->end_lba = part->start_sect + part->nr_sects; in blk_trace_setup_lba()
|
/linux-4.1.27/fs/ |
D | block_dev.c | 1241 if ((bdev->bd_part->start_sect % (PAGE_SIZE / 512)) || in __blkdev_get()
|