MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bqueue_enqueue

Function bqueue_enqueue

freebsd/contrib/openzfs/module/zfs/bqueue.c:105–109  ·  view source on GitHub ↗

* Add data to q, consuming size units of capacity. If there is insufficient * capacity to consume size units, block until capacity exists. Asserts size is * > 0. */

Source from the content-addressed store, hash-verified

103 * > 0.
104 */
105void
106bqueue_enqueue(bqueue_t *q, void *data, uint64_t item_size)
107{
108 bqueue_enqueue_impl(q, data, item_size, B_FALSE);
109}
110
111/*
112 * Enqueue an entry, and then flush the queue. This forces the popping threads

Callers 8

dmu_recv_streamFunction · 0.85
send_cbFunction · 0.85
redact_list_cbFunction · 0.85
send_merge_threadFunction · 0.85
enqueue_rangeFunction · 0.85
send_reader_threadFunction · 0.85
record_merge_enqueueFunction · 0.85
perform_thread_mergeFunction · 0.85

Calls 1

bqueue_enqueue_implFunction · 0.85

Tested by

no test coverage detected