Searched refs:sector (Results 1 – 7 of 7) sorted by relevance
/block/ |
D | blk-lib.c | 40 int blkdev_issue_discard(struct block_device *bdev, sector_t sector, in blkdev_issue_discard() argument 91 end_sect = sector + req_sects; in blkdev_issue_discard() 98 req_sects = end_sect - sector; in blkdev_issue_discard() 101 bio->bi_iter.bi_sector = sector; in blkdev_issue_discard() 108 sector = end_sect; in blkdev_issue_discard() 144 int blkdev_issue_write_same(struct block_device *bdev, sector_t sector, in blkdev_issue_write_same() argument 172 bio->bi_iter.bi_sector = sector; in blkdev_issue_write_same() 184 sector += max_write_same_sectors; in blkdev_issue_write_same() 215 static int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in __blkdev_issue_zeroout() argument 237 bio->bi_iter.bi_sector = sector; in __blkdev_issue_zeroout() [all …]
|
D | deadline-iosched.c | 135 sector_t sector = bio_end_sector(bio); in deadline_merge() local 137 __rq = elv_rb_find(&dd->sort_list[bio_data_dir(bio)], sector); in deadline_merge() 139 BUG_ON(sector != blk_rq_pos(__rq)); in deadline_merge()
|
D | genhd.c | 198 static inline int sector_in_part(struct hd_struct *part, sector_t sector) in sector_in_part() argument 200 return part->start_sect <= sector && in sector_in_part() 201 sector < part->start_sect + part_nr_sects_read(part); in sector_in_part() 219 struct hd_struct *disk_map_sector_rcu(struct gendisk *disk, sector_t sector) in disk_map_sector_rcu() argument 228 if (part && sector_in_part(part, sector)) in disk_map_sector_rcu() 234 if (part && sector_in_part(part, sector)) { in disk_map_sector_rcu()
|
D | elevator.c | 326 struct request *elv_rb_find(struct rb_root *root, sector_t sector) in elv_rb_find() argument 334 if (sector < blk_rq_pos(rq)) in elv_rb_find() 336 else if (sector > blk_rq_pos(rq)) in elv_rb_find()
|
D | cfq-iosched.c | 2279 sector_t sector, struct rb_node **ret_parent, in cfq_prio_tree_lookup() argument 2297 if (sector > blk_rq_pos(cfqq->next_rq)) in cfq_prio_tree_lookup() 2299 else if (sector < blk_rq_pos(cfqq->next_rq)) in cfq_prio_tree_lookup() 2769 sector_t sector = cfqd->last_position; in cfqq_close() local 2778 __cfqq = cfq_prio_tree_lookup(cfqd, root, sector, &parent, NULL); in cfqq_close() 2790 if (blk_rq_pos(__cfqq->next_rq) < sector) in cfqq_close()
|
D | blk-core.c | 1900 sector_t sector = bio->bi_iter.bi_sector; in bio_check_eod() local 1902 if (maxsector < nr_sectors || maxsector - nr_sectors < sector) { in bio_check_eod()
|
/block/partitions/ |
D | Kconfig | 131 first sector a new partition table in BSD disklabel format. Saying Y
|