Home
last modified time | relevance | path

Searched refs:queue_limits (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/block/
Dblk-settings.c35 void blk_set_default_limits(struct queue_limits *lim) in blk_set_default_limits()
72 void blk_set_stacking_limits(struct queue_limits *lim) in blk_set_stacking_limits()
125 struct queue_limits *limits = &q->limits; in blk_queue_max_hw_sectors()
311 struct queue_limits *limits = &q->limits; in blk_queue_logical_block_size()
416 void blk_limits_io_min(struct queue_limits *limits, unsigned int min) in blk_limits_io_min()
461 void blk_limits_io_opt(struct queue_limits *limits, unsigned int opt) in blk_limits_io_opt()
490 static int queue_limit_alignment_offset(const struct queue_limits *lim, in queue_limit_alignment_offset()
501 const struct queue_limits *lim, sector_t sector) in queue_limit_discard_alignment()
553 int blk_stack_limits(struct queue_limits *t, struct queue_limits *b, in blk_stack_limits()
Dblk-merge.c103 static unsigned int bio_allowed_max_sectors(const struct queue_limits *lim) in bio_allowed_max_sectors()
109 const struct queue_limits *lim, in bio_split_discard()
150 const struct queue_limits *lim, in bio_split_write_zeroes()
170 const struct queue_limits *lim) in get_max_io_size()
197 static inline unsigned get_max_segment_size(const struct queue_limits *lim, in get_max_segment_size()
231 static bool bvec_split_segs(const struct queue_limits *lim, in bvec_split_segs()
279 struct bio *bio_split_rw(struct bio *bio, const struct queue_limits *lim, in bio_split_rw()
355 const struct queue_limits *lim, in __bio_split_to_limits()
403 const struct queue_limits *lim = &bdev_get_queue(bio->bi_bdev)->limits; in bio_split_to_limits()
Dblk.h105 static inline bool __bvec_gap_to_prev(const struct queue_limits *lim, in __bvec_gap_to_prev()
116 static inline bool bvec_gap_to_prev(const struct queue_limits *lim, in bvec_gap_to_prev()
297 const struct queue_limits *lim) in bio_may_exceed_limits()
321 const struct queue_limits *lim,
332 void blk_set_default_limits(struct queue_limits *lim);
Dblk-map.c568 const struct queue_limits *lim = &q->limits; in blk_rq_map_user_bvec()
/linux-6.6.21/drivers/md/
Ddm.h62 struct queue_limits *limits);
64 struct queue_limits *limits);
Ddm-zero.c62 static void zero_io_hints(struct dm_target *ti, struct queue_limits *limits) in zero_io_hints()
Ddm-target.c152 static void io_err_io_hints(struct dm_target *ti, struct queue_limits *limits) in io_err_io_hints()
Ddm-table.c234 struct queue_limits *limits = data; in device_area_is_invalid()
408 struct queue_limits *limits = data; in dm_set_device_limits()
583 struct queue_limits *limits) in validate_hardware_logical_block_alignment()
604 struct queue_limits ti_limits; in validate_hardware_logical_block_alignment()
1667 struct queue_limits *limits) in dm_calculate_queue_limits()
1669 struct queue_limits ti_limits; in dm_calculate_queue_limits()
1945 struct queue_limits *limits) in dm_table_set_restrictions()
Ddm-unstripe.c176 struct queue_limits *limits) in unstripe_io_hints()
Ddm.c1066 static inline struct queue_limits *dm_get_queue_limits(struct mapped_device *md) in dm_get_queue_limits()
1073 struct queue_limits *limits = dm_get_queue_limits(md); in disable_discard()
1081 struct queue_limits *limits = dm_get_queue_limits(md); in disable_write_zeroes()
1616 struct queue_limits *limits = dm_get_queue_limits(ti->table->md); in __process_abnormal_io()
2186 struct queue_limits *limits) in __bind()
2322 struct queue_limits limits; in dm_setup_md_queue()
2603 struct queue_limits limits; in dm_swap_table()
Ddm-clone-target.c2027 struct queue_limits *dest_limits = &bdev_get_queue(dest_dev)->limits; in disable_passdown_if_not_supported()
2045 static void set_discard_limits(struct clone *clone, struct queue_limits *limits) in set_discard_limits()
2048 struct queue_limits *dest_limits = &bdev_get_queue(dest_bdev)->limits; in set_discard_limits()
2070 static void clone_io_hints(struct dm_target *ti, struct queue_limits *limits) in clone_io_hints()
Ddm-ebs-target.c424 static void ebs_io_hints(struct dm_target *ti, struct queue_limits *limits) in ebs_io_hints()
Ddm-stripe.c456 struct queue_limits *limits) in stripe_io_hints()
Ddm-cache-target.c3371 struct queue_limits *origin_limits = &bdev_get_queue(origin_bdev)->limits; in disable_passdown_if_not_supported()
3390 static void set_discard_limits(struct cache *cache, struct queue_limits *limits) in set_discard_limits()
3393 struct queue_limits *origin_limits = &bdev_get_queue(origin_bdev)->limits; in set_discard_limits()
3414 static void cache_io_hints(struct dm_target *ti, struct queue_limits *limits) in cache_io_hints()
Ddm-log-writes.c867 static void log_writes_io_hints(struct dm_target *ti, struct queue_limits *limits) in log_writes_io_hints()
Ddm-zoned-target.c991 static void dmz_io_hints(struct dm_target *ti, struct queue_limits *limits) in dmz_io_hints()
Ddm-thin.c2847 struct queue_limits *data_limits = &bdev_get_queue(data_bdev)->limits; in disable_discard_passdown_if_not_supported()
4054 static void pool_io_hints(struct dm_target *ti, struct queue_limits *limits) in pool_io_hints()
4489 static void thin_io_hints(struct dm_target *ti, struct queue_limits *limits) in thin_io_hints()
Ddm-era-target.c1726 static void era_io_hints(struct dm_target *ti, struct queue_limits *limits) in era_io_hints()
Ddm-verity-target.c980 static void verity_io_hints(struct dm_target *ti, struct queue_limits *limits) in verity_io_hints()
Ddm-snap.c2396 static void snapshot_io_hints(struct dm_target *ti, struct queue_limits *limits) in snapshot_io_hints()
/linux-6.6.21/include/linux/
Dblkdev.h287 struct queue_limits { struct
470 struct queue_limits limits;
912 extern void blk_limits_io_min(struct queue_limits *limits, unsigned int min);
914 extern void blk_limits_io_opt(struct queue_limits *limits, unsigned int opt);
917 extern void blk_set_stacking_limits(struct queue_limits *lim);
918 extern int blk_stack_limits(struct queue_limits *t, struct queue_limits *b,
1128 const struct queue_limits *l = &q->limits; in queue_max_zone_append_sectors()
Dbio.h15 struct queue_limits;
388 struct bio *bio_split_rw(struct bio *bio, const struct queue_limits *lim,
Ddevice-mapper.h136 struct queue_limits *limits);
/linux-6.6.21/fs/btrfs/
Dfs.h758 struct queue_limits limits;
/linux-6.6.21/drivers/block/rnbd/
Drnbd-clt.c950 struct queue_limits *limit = &dev->queue->limits; in rnbd_client_getgeo()

12