Searched refs:max_discard_segments (Results 1 – 8 of 8) sorted by relevance
37 lim->max_discard_segments = 1; in blk_set_default_limits()77 lim->max_discard_segments = USHRT_MAX; in blk_set_stacking_limits()265 q->limits.max_discard_segments = max_segments; in blk_queue_max_discard_segments()567 t->max_discard_segments = min_not_zero(t->max_discard_segments, in blk_stack_limits()568 b->max_discard_segments); in blk_stack_limits()
213 __u16 max_discard_segments; member
308 unsigned short max_discard_segments; member1148 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()
286 u32 max_discard_segments; member
1722 blk_queue_max_discard_segments(queue, ctrl->max_discard_segments); in nvme_config_discard()3049 ctrl->max_discard_segments = NVME_DSM_MAX_RANGES; in nvme_init_non_mdts_limits()3052 ctrl->max_discard_segments = 0; in nvme_init_non_mdts_limits()3083 ctrl->max_discard_segments = id->dmrl; in nvme_init_non_mdts_limits()
227 blk_queue_max_discard_segments(q, p->max_discard_segments); in ublk_dev_param_discard_apply()251 if (p->max_discard_sectors && p->max_discard_segments != 1) in ublk_validate_params()
394 What: /sys/block/<disk>/queue/max_discard_segments