Searched refs:nr_commit_buf (Results 1 – 2 of 2) sorted by relevance
14 buf_idx >= t->commit_buf_start + t->nr_commit_buf) in ublk_get_commit_buf()43 ublk_assert(idx < t->nr_commit_buf); in ublk_free_commit_buf()73 unsigned int total = buf_size * t->nr_commit_buf; in free_batch_commit_buf()85 unsigned int total = buf_size * t->nr_commit_buf; in alloc_batch_commit_buf()96 allocator_init(&t->commit_buf_alloc, t->nr_commit_buf); in alloc_batch_commit_buf()146 t->nr_commit_buf = 2 * t->nr_queues; in ublk_batch_prepare()147 t->nr_bufs += t->nr_commit_buf; in ublk_batch_prepare()160 t->nr_commit_buf, t->commit_buf_size, in ublk_batch_prepare()215 ublk_assert(t->nr_commit_buf < 2 * UBLK_MAX_QUEUES); in ublk_batch_alloc_buf()
267 unsigned int nr_commit_buf; member