Home
last modified time | relevance | path

Searched refs:max_discard_segments (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/block/
Dblk-settings.c38 lim->max_discard_segments = 1; in blk_set_default_limits()
78 lim->max_discard_segments = USHRT_MAX; in blk_set_stacking_limits()
271 q->limits.max_discard_segments = max_segments; in blk_queue_max_discard_segments()
573 t->max_discard_segments = min_not_zero(t->max_discard_segments, in blk_stack_limits()
574 b->max_discard_segments); in blk_stack_limits()
/linux-6.6.21/include/uapi/linux/
Dublk_cmd.h356 __u16 max_discard_segments; member
/linux-6.6.21/include/linux/
Dblkdev.h314 unsigned short max_discard_segments; member
1117 return q->limits.max_discard_segments; in queue_max_discard_segments()
/linux-6.6.21/drivers/md/
Ddm-clone-target.c2067 limits->max_discard_segments = dest_limits->max_discard_segments; in set_discard_limits()
/linux-6.6.21/drivers/nvme/host/
Dnvme.h306 u32 max_discard_segments; member
Dcore.c1747 blk_queue_max_discard_segments(queue, ctrl->max_discard_segments); in nvme_config_discard()
2917 ctrl->max_discard_segments = NVME_DSM_MAX_RANGES; in nvme_init_non_mdts_limits()
2920 ctrl->max_discard_segments = 0; in nvme_init_non_mdts_limits()
2953 ctrl->max_discard_segments = id->dmrl; in nvme_init_non_mdts_limits()
/linux-6.6.21/drivers/block/
Dublk_drv.c536 blk_queue_max_discard_segments(q, p->max_discard_segments); in ublk_dev_param_discard_apply()
563 if (p->max_discard_sectors && p->max_discard_segments != 1) in ublk_validate_params()
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-block387 What: /sys/block/<disk>/queue/max_discard_segments