Home
last modified time | relevance | path

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

/linux-3.4.99/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.c41 static inline sector_t start_sect(struct partition *p) in start_sect() function
43 return (sector_t)get_unaligned_le32(&p->start_sect); in start_sect()
156 offs = start_sect(p)*sector_size; in parse_extended()
189 this_sector = first_sector + start_sect(p) * sector_size; in parse_extended()
366 le32_to_cpu(p->start_sect), in parse_unixware()
410 start_sect(p), nr_sects(p)); in parse_minix()
502 sector_t start = start_sect(p)*sector_size; in msdos_partition()
547 subtypes[n].parse(state, start_sect(p) * sector_size, in msdos_partition()
Damiga.c32 int start_sect, nr_sects, blk, part, res = 0; in amiga_partition() local
107 start_sect = be32_to_cpu(pb->pb_Environment[9]) * in amiga_partition()
111 put_partition(state,slot++,start_sect,nr_sects); in amiga_partition()
Defi.c156 le32_to_cpu(part->start_sect) == 1UL) in pmbr_part_valid()
/linux-3.4.99/include/linux/
Dgenhd.h78 __le32 start_sect; /* starting sector counting from 0 */ member
100 sector_t start_sect; member
428 return bdev->bd_part->start_sect; in get_start_sect()
538 __le32 start_sect; /* starting sector */ member
/linux-3.4.99/block/
Dioctl.c54 if (!(start + length <= part->start_sect || in blkpg_ioctl()
55 start >= part->start_sect + part->nr_sects)) { in blkpg_ioctl()
Dpartition-generic.c80 return sprintf(buf, "%llu\n",(unsigned long long)p->start_sect); in part_start_show()
229 part->start_sect = 0; in delete_partition_rcu_cb()
299 p->start_sect = start; in add_partition()
Dgenhd.c193 return part->start_sect <= sector && in sector_in_part()
194 sector < part->start_sect + part->nr_sects; in sector_in_part()
Dblk-core.c1440 bio->bi_sector += p->start_sect; in blk_partition_remap()
1445 bio->bi_sector - p->start_sect); in blk_partition_remap()
/linux-3.4.99/drivers/scsi/
Dscsicam.c166 logical_end = get_unaligned(&largest->start_sect) in scsi_partsize()
Dscsi_debug.c2664 pp->start_sect = start_sec; in sdebug_build_parts()
/linux-3.4.99/arch/powerpc/sysdev/
Daxonram.c150 offset += device->bd_part->start_sect; in axon_ram_direct_access()
/linux-3.4.99/kernel/trace/
Dblktrace.c414 bt->start_lba = part->start_sect; in blk_trace_setup_lba()
415 bt->end_lba = part->start_sect + part->nr_sects; in blk_trace_setup_lba()