Home
last modified time | relevance | path

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

/linux/lib/
H A 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()
102 gfp_t flags, int node, bool round_robin, in sbitmap_init_node() argument
118 sb->round_robin = round_robin; in sbitmap_init_node()
272 if (sb->round_robin) in __sbitmap_get()
278 !sb->round_robin); in __sbitmap_get()
449 int shift, bool round_robin, gfp_t flags, int node) in sbitmap_queue_init_node() argument
455 round_robin, true); in sbitmap_queue_init_node()
523 if (unlikely(sb->round_robin)) in __sbitmap_queue_get_batch()
638 if (likely(!sb->round_robin && tag < sb->depth)) in sbitmap_update_cpu_hint()
[all …]
/linux/drivers/md/dm-vdo/
H A Dfunnel-workqueue.c508 struct round_robin_work_queue *round_robin = as_round_robin_work_queue(queue); in vdo_dump_work_queue() local
511 for (i = 0; i < round_robin->num_service_queues; i++) in vdo_dump_work_queue()
512 dump_simple_work_queue(round_robin->service_queues[i]); in vdo_dump_work_queue()
574 struct round_robin_work_queue *round_robin = as_round_robin_work_queue(queue); in vdo_enqueue_work_queue() local
584 unsigned int index = rotor % round_robin->num_service_queues; in vdo_enqueue_work_queue()
586 simple_queue = round_robin->service_queues[index]; in vdo_enqueue_work_queue()
/linux/include/linux/
H A Dsbitmap.h69 * @round_robin: Allocate bits in strict round-robin order.
71 bool round_robin; member
162 * @round_robin: If true, be stricter about allocation order; always allocate
171 gfp_t flags, int node, bool round_robin, bool alloc_hint);
332 if (likely(sb->alloc_hint && !sb->round_robin && bitnr < sb->depth)) in sbitmap_put()
395 * @round_robin: See sbitmap_get().
402 int shift, bool round_robin, gfp_t flags, int node);
/linux/block/
H A Dblk-mq-tag.c544 bool round_robin, int node) in bt_alloc() argument
546 return sbitmap_queue_init_node(bt, depth, -1, round_robin, GFP_KERNEL, in bt_alloc()
554 bool round_robin = flags & BLK_MQ_F_TAG_RR; in blk_mq_init_tags() local
571 if (bt_alloc(&tags->bitmap_tags, depth, round_robin, node)) in blk_mq_init_tags()
573 if (bt_alloc(&tags->breserved_tags, reserved_tags, round_robin, node)) in blk_mq_init_tags()