Searched refs:lim (Results 1 – 2 of 2) sorted by relevance
42 void blk_set_default_limits(struct queue_limits *lim) in blk_set_default_limits() argument44 lim->max_segments = BLK_MAX_SEGMENTS; in blk_set_default_limits()45 lim->max_discard_segments = 1; in blk_set_default_limits()46 lim->max_integrity_segments = 0; in blk_set_default_limits()47 lim->seg_boundary_mask = BLK_SEG_BOUNDARY_MASK; in blk_set_default_limits()48 lim->virt_boundary_mask = 0; in blk_set_default_limits()49 lim->max_segment_size = BLK_MAX_SEGMENT_SIZE; in blk_set_default_limits()50 lim->max_sectors = lim->max_hw_sectors = BLK_SAFE_MAX_SECTORS; in blk_set_default_limits()51 lim->max_dev_sectors = 0; in blk_set_default_limits()52 lim->chunk_sectors = 0; in blk_set_default_limits()[all …]
65 static inline bool blk_queue_sub_page_limits(const struct queue_limits *lim) in blk_queue_sub_page_limits() argument68 lim->sub_page_limits; in blk_queue_sub_page_limits()