Home
last modified time | relevance | path

Searched refs:round_robin (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/lib/
Dsbitmap.c20 if (depth && !sb->round_robin) { in init_alloc_hint()
51 } else if (nr == hint || unlikely(sb->round_robin)) { in update_alloc_hint_after_get()
84 gfp_t flags, int node, bool round_robin, in sbitmap_init_node() argument
100 sb->round_robin = round_robin; in sbitmap_init_node()
188 !sb->round_robin); in sbitmap_find_bit_in_index()
210 if (sb->round_robin) in __sbitmap_get()
430 int shift, bool round_robin, gfp_t flags, int node) in sbitmap_queue_init_node() argument
436 round_robin, true); in sbitmap_queue_init_node()
605 if (likely(!sbq->sb.round_robin && nr < sbq->sb.depth)) in sbitmap_queue_clear()
662 seq_printf(m, "round_robin=%d\n", sbq->sb.round_robin); in sbitmap_queue_show()
/Linux-v5.15/include/linux/
Dsbitmap.h62 bool round_robin; member
156 gfp_t flags, int node, bool round_robin, bool alloc_hint);
326 if (likely(sb->alloc_hint && !sb->round_robin && bitnr < sb->depth)) in sbitmap_put()
396 int shift, bool round_robin, gfp_t flags, int node);
/Linux-v5.15/block/
Dblk-mq-tag.c469 bool round_robin, int node) in bt_alloc() argument
471 return sbitmap_queue_init_node(bt, depth, -1, round_robin, GFP_KERNEL, in bt_alloc()
481 bool round_robin = alloc_policy == BLK_TAG_ALLOC_RR; in blk_mq_init_bitmaps() local
483 if (bt_alloc(bitmap_tags, depth, round_robin, node)) in blk_mq_init_bitmaps()
485 if (bt_alloc(breserved_tags, reserved, round_robin, node)) in blk_mq_init_bitmaps()