qmax
uint64_t qmax = mg->mg_cur_max_alloc_queue_depth[allocator];
qmax = qmax * (4 + d) / 4;
if (qdepth < qmax || mc->mc_alloc_groups == 1)
qmax = mgp->mg_cur_max_alloc_queue_depth[allocator];
qmax = qmax * (4 + d) / 4;
if (qdepth < qmax && !mgp->mg_no_free_space)