Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/block/partitions/
Dacorn.c119 __le32 start_sect; member
147 le32_to_cpu(linuxp->start_sect), in linux_partition()
252 unsigned long start_sect, nr_sects, sectscyl, heads; in adfspart_check_ADFS() local
271 start_sect = ((data[0x1fe] << 8) + data[0x1fd]) * sectscyl; in adfspart_check_ADFS()
278 nr_sects = (state->bdev->bd_inode->i_size >> 9) - start_sect; in adfspart_check_ADFS()
280 if (start_sect) { in adfspart_check_ADFS()
285 slot = riscix_partition(state, start_sect, slot, in adfspart_check_ADFS()
291 slot = linux_partition(state, start_sect, slot, in adfspart_check_ADFS()
Dmsdos.c46 static inline sector_t start_sect(struct msdos_partition *p) in start_sect() function
48 return (sector_t)get_unaligned_le32(&p->start_sect); in start_sect()
180 offs = start_sect(p)*sector_size; in parse_extended()
214 this_sector = first_sector + start_sect(p) * sector_size; in parse_extended()
441 __le32 start_sect; /* starting sector */ member
512 le32_to_cpu(p->start_sect), in parse_unixware()
558 start_sect(p), nr_sects(p)); in parse_minix()
662 sector_t start = start_sect(p)*sector_size; in msdos_partition()
710 subtypes[n].parse(state, start_sect(p) * sector_size, in msdos_partition()
Damiga.c34 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()
Dcore.c188 return sprintf(buf, "%llu\n",(unsigned long long)p->start_sect); in part_start_show()
205 p->start_sect)); in part_alignment_offset_show()
215 p->start_sect)); in part_discard_alignment_show()
297 part->start_sect = 0; in hd_struct_free_work()
421 p->start_sect = start; in add_partition()
514 start >= part->start_sect + part->nr_sects || in partition_overlaps()
515 start + length <= part->start_sect) in partition_overlaps()
607 if (start != part->start_sect) in bdev_resize_partition()
/kernel/linux/linux-5.10/include/linux/
Dpstore_blk.h22 typedef int (*pstore_blk_panic_write_op)(const char *buf, sector_t start_sect,
46 sector_t start_sect; member
Dmsdos_partition.h16 __le32 start_sect; /* starting sector counting from 0 */ member
Dgenhd.h54 sector_t start_sect; member
327 return bdev->bd_part->start_sect; in get_start_sect()
Dblkdev.h1511 bdev->bd_part->start_sect); in bdev_alignment_offset()
1568 bdev->bd_part->start_sect); in bdev_discard_alignment()
/kernel/linux/linux-5.10/fs/pstore/
Dblk.c107 sector_t start_sect; member
268 info->start_sect = get_start_sect(bdev); in psblk_get_bdev()
406 info->start_sect = binfo.start_sect; in __register_pstore_blk()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsicam.c107 logical_end = get_unaligned_le32(&largest->start_sect) in scsi_partsize()
Dscsi_debug.c5344 pp->start_sect = cpu_to_le32(start_sec); in sdebug_build_parts()
/kernel/linux/linux-5.10/drivers/dax/
Dsuper.c49 sector_t start_sect = bdev ? get_start_sect(bdev) : 0; in bdev_dax_pgoff() local
50 phys_addr_t phys_off = (start_sect + sector) * 512; in bdev_dax_pgoff()
/kernel/linux/linux-5.10/block/
Dblk-lib.c68 part_offset = bdev->bd_part->start_sect; in __blkdev_issue_discard()
Dblk-core.c760 bio->bi_iter.bi_sector += p->start_sect; in blk_partition_remap()
762 bio->bi_iter.bi_sector - p->start_sect); in blk_partition_remap()
Dgenhd.c298 return part->start_sect <= sector && in sector_in_part()
299 sector < part->start_sect + part_nr_sects_read(part); in sector_in_part()
/kernel/linux/linux-5.10/kernel/trace/
Dblktrace.c467 bt->start_lba = part->start_sect; in blk_trace_setup_lba()
468 bt->end_lba = part->start_sect + part->nr_sects; in blk_trace_setup_lba()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch49067 + p->start_sect = start;