Home
last modified time | relevance | path

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

12345

/linux/block/
H A Dblk-settings.c35 void blk_set_stacking_limits(struct queue_limits *lim) in blk_set_stacking_limits()
59 struct queue_limits *lim) in blk_apply_bdi_limits()
69 static int blk_validate_zoned_limits(struct queue_limits *lim) in blk_validate_zoned_limits()
108 static int blk_validate_integrity_limits(struct queue_limits *lim) in blk_validate_integrity_limits()
145 static unsigned int blk_queue_max_guaranteed_bio(struct queue_limits *lim) in blk_queue_max_guaranteed_bio()
157 static void blk_atomic_writes_update_limits(struct queue_limits *lim) in blk_atomic_writes_update_limits()
175 static void blk_validate_atomic_write_limits(struct queue_limits *lim) in blk_validate_atomic_write_limits()
226 static int blk_validate_limits(struct queue_limits *lim) in blk_validate_limits()
375 int blk_set_default_limits(struct queue_limits *lim) in blk_set_default_limits()
397 struct queue_limits *lim) in queue_limits_commit_update()
[all …]
H A Dblk.h121 static inline bool __bvec_gap_to_prev(const struct queue_limits *lim, in __bvec_gap_to_prev()
132 static inline bool bvec_gap_to_prev(const struct queue_limits *lim, in bvec_gap_to_prev()
334 struct bio *bio_split_discard(struct bio *bio, const struct queue_limits *lim,
337 const struct queue_limits *lim, unsigned *nsegs);
338 struct bio *bio_split_rw(struct bio *bio, const struct queue_limits *lim,
341 const struct queue_limits *lim, unsigned *nr_segs);
352 const struct queue_limits *lim) in bio_may_need_split()
372 const struct queue_limits *lim, unsigned int *nr_segs) in __bio_split_to_limits()
403 int blk_set_default_limits(struct queue_limits *lim);
405 struct queue_limits *lim);
[all …]
H A Dblk-merge.c103 static unsigned int bio_allowed_max_sectors(const struct queue_limits *lim) in bio_allowed_max_sectors()
133 struct bio *bio_split_discard(struct bio *bio, const struct queue_limits *lim, in bio_split_discard()
170 const struct queue_limits *lim, unsigned *nsegs) in bio_split_write_zeroes()
180 static inline unsigned int blk_boundary_sectors(const struct queue_limits *lim, in blk_boundary_sectors()
202 const struct queue_limits *lim) in get_max_io_size()
241 static inline unsigned get_max_segment_size(const struct queue_limits *lim, in get_max_segment_size()
273 static bool bvec_split_segs(const struct queue_limits *lim, in bvec_split_segs()
311 int bio_split_rw_at(struct bio *bio, const struct queue_limits *lim, in bio_split_rw_at()
373 struct bio *bio_split_rw(struct bio *bio, const struct queue_limits *lim, in bio_split_rw()
389 const struct queue_limits *lim, unsigned *nr_segs) in bio_split_zone_append()
[all …]
H A Dblk-sysfs.c159 struct queue_limits lim;
197 struct queue_limits lim; in queue_max_sectors_store()
216 struct queue_limits lim; in queue_feature_store()
380 struct queue_limits lim; in queue_wc_store()
/linux/include/linux/
H A Dblk-integrity.h19 bool queue_limits_stack_integrity(struct queue_limits *t,
20 struct queue_limits *b);
21 static inline bool queue_limits_stack_integrity_bdev(struct queue_limits *t, in queue_limits_stack_integrity_bdev()
H A Dblkdev.h352 struct queue_limits { struct
488 struct queue_limits limits;
806 struct gendisk *__blk_alloc_disk(struct queue_limits *lim, int node,
923 static inline struct queue_limits
930 struct queue_limits *lim);
931 int queue_limits_set(struct request_queue *q, struct queue_limits *lim);
972 extern void blk_set_stacking_limits(struct queue_limits *lim);
973 extern int blk_stack_limits(struct queue_limits *t, struct queue_limits *b,
975 void queue_limits_stack_bdev(struct queue_limits *t, struct block_device *bdev,
1189 queue_limits_max_zone_append_sectors(const struct queue_limits *l) in queue_limits_max_zone_append_sectors()
[all …]
H A Dbsg-lib.h68 struct queue_limits *lim, bsg_job_fn *job_fn,
/linux/drivers/scsi/
H A Dsd.h231 void sd_dif_config_host(struct scsi_disk *sdkp, struct queue_limits *lim);
235 int sd_zbc_read_zones(struct scsi_disk *sdkp, struct queue_limits *lim,
248 struct queue_limits *lim, u8 buf[SD_BUF_SIZE]) in sd_zbc_read_zones()
H A Dsd_dif.c27 void sd_dif_config_host(struct scsi_disk *sdkp, struct queue_limits *lim) in sd_dif_config_host()
H A Dsd.c105 static void sd_config_discard(struct scsi_disk *sdkp, struct queue_limits *lim,
108 struct queue_limits *lim);
125 struct queue_limits *lim) in sd_set_flush_flag()
173 struct queue_limits lim; in cache_type_store()
471 struct queue_limits lim; in provisioning_mode_store()
573 struct queue_limits lim; in max_write_same_blocks_store()
850 static void sd_config_discard(struct scsi_disk *sdkp, struct queue_limits *lim, in sd_config_discard()
943 static void sd_config_atomic(struct scsi_disk *sdkp, struct queue_limits *lim) in sd_config_atomic()
1091 struct queue_limits *lim) in sd_config_write_same()
2577 struct queue_limits *lim) in sd_config_protection()
[all …]
/linux/drivers/block/null_blk/
H A Dnull_blk.h135 int null_init_zoned_dev(struct nullb_device *dev, struct queue_limits *lim);
148 struct queue_limits *lim) in null_init_zoned_dev()
/linux/include/scsi/
H A Dscsi_transport.h86 void scsi_init_limits(struct Scsi_Host *shost, struct queue_limits *lim);
/linux/drivers/md/
H A Ddm-table.c235 struct queue_limits *limits = data; in device_area_is_invalid()
424 struct queue_limits *limits = data; in dm_set_device_limits()
598 static void dm_set_stacking_limits(struct queue_limits *limits) in dm_set_stacking_limits()
612 struct queue_limits *limits) in validate_hardware_logical_block_alignment()
633 struct queue_limits ti_limits; in validate_hardware_logical_block_alignment()
1596 struct queue_limits *limits) in dm_calculate_queue_limits()
1598 struct queue_limits ti_limits; in dm_calculate_queue_limits()
1815 struct queue_limits *limits) in dm_table_set_restrictions()
H A Ddm-zone.c256 struct queue_limits *lim;
329 struct queue_limits *lim) in dm_set_zones_restrictions()
H A Ddm-unstripe.c176 struct queue_limits *limits) in unstripe_io_hints()
H A Dmd.h887 void md_init_stacking_limits(struct queue_limits *lim);
983 int mddev_stack_rdev_limits(struct mddev *mddev, struct queue_limits *lim,
/linux/Documentation/block/
H A Dwriteback_cache_control.rst62 flag in the queue_limits feature field. For devices that also support the FUA
68 flag in the features field of the queue_limits structure.
/linux/drivers/usb/storage/
H A Dscsiglue.c91 static int device_configure(struct scsi_device *sdev, struct queue_limits *lim) in device_configure()
588 struct queue_limits lim; in max_sectors_store()
/linux/drivers/block/
H A Dn64cart.c117 struct queue_limits lim = { in n64cart_probe()
H A Dvirtio_blk.c724 struct queue_limits *lim) in virtblk_read_zoned_limits()
799 struct queue_limits *lim) in virtblk_read_zoned_limits()
1099 struct queue_limits lim; in cache_type_store()
1246 struct queue_limits *lim) in virtblk_read_limits()
1440 struct queue_limits lim = { in virtblk_probe()
/linux/rust/kernel/block/mq/
H A Dgen_disk.rs97 let mut lim: bindings::queue_limits = unsafe { core::mem::zeroed() }; in build()
/linux/drivers/s390/block/
H A Ddasd_genhd.c37 struct queue_limits lim = { in dasd_gendisk_alloc()
/linux/drivers/mmc/core/
H A Dqueue.c178 struct queue_limits *lim) in mmc_queue_setup_discard()
350 struct queue_limits lim = { in mmc_alloc_disk()
/linux/arch/m68k/emu/
H A Dnfblock.c99 struct queue_limits lim = { in nfhd_init_one()
/linux/drivers/nvme/host/
H A Dcore.c1778 struct queue_limits *lim, struct nvme_ns_info *info) in nvme_init_integrity()
1840 static void nvme_config_discard(struct nvme_ns *ns, struct queue_limits *lim) in nvme_config_discard()
1985 struct nvme_id_ns *id, struct queue_limits *lim, in nvme_update_atomic_write_disk_info()
2006 struct queue_limits *lim) in nvme_set_ctrl_limits()
2018 struct queue_limits *lim) in nvme_update_disk_info()
2086 struct queue_limits *lim) in nvme_set_chunk_sectors()
2120 struct queue_limits lim; in nvme_update_ns_info_generic()
2139 struct queue_limits lim; in nvme_update_ns_info_block()
2274 struct queue_limits *ns_lim = &ns->disk->queue->limits; in nvme_update_ns_info()
2275 struct queue_limits lim; in nvme_update_ns_info()
[all …]

12345