Searched refs:avail_idx (Results 1 – 3 of 3) sorted by relevance
146 for (skc_uint avail_idx=0; avail_idx<avail_rem; avail_idx++) in skc_suballocator_subbuf_alloc() local148 skc_subbuf_id_t const avail_id = ids[avail_idx]; in skc_suballocator_subbuf_alloc()171 if ((avail_rem > 0) && (avail_idx != avail_rem)) in skc_suballocator_subbuf_alloc()176 ids[avail_idx] = last_id; // move id in skc_suballocator_subbuf_alloc()177 last->idx = avail_idx; // update idx[] in skc_suballocator_subbuf_alloc()344 skc_uint avail_idx = suballocator->rem.avail++; in skc_suballocator_subbuf_free() local347 subbuf->idx = avail_idx; in skc_suballocator_subbuf_free()353 suballocator->ids[avail_idx] = subbuf_id; in skc_suballocator_subbuf_free()
154 __u16 avail_idx; member