Searched refs:max_segments (Results 1 – 1 of 1) sorted by relevance
44 lim->max_segments = BLK_MAX_SEGMENTS; in blk_set_default_limits()85 lim->max_segments = USHRT_MAX; in blk_set_stacking_limits()308 void blk_queue_max_segments(struct request_queue *q, unsigned short max_segments) in blk_queue_max_segments() argument310 if (!max_segments) { in blk_queue_max_segments()311 max_segments = 1; in blk_queue_max_segments()312 pr_info("set to minimum %u\n", max_segments); in blk_queue_max_segments()315 q->limits.max_segments = max_segments; in blk_queue_max_segments()329 unsigned short max_segments) in blk_queue_max_discard_segments() argument331 q->limits.max_discard_segments = max_segments; in blk_queue_max_discard_segments()606 t->max_segments = min_not_zero(t->max_segments, b->max_segments); in blk_stack_limits()