Searched refs:max_discard_segments (Results 1 – 8 of 8) sorted by relevance
38 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()
356 __u16 max_discard_segments; member
314 unsigned short max_discard_segments; member1117 return q->limits.max_discard_segments; in queue_max_discard_segments()
2067 limits->max_discard_segments = dest_limits->max_discard_segments; in set_discard_limits()
306 u32 max_discard_segments; member
1747 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()
536 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()
387 What: /sys/block/<disk>/queue/max_discard_segments