Searched refs:avail (Results 1 – 2 of 2) sorted by relevance
190 unsigned int avail; member671 ac->avail = 0; in init_arraycache()727 void *objp = ac->entry[--ac->avail]; in __ac_get_obj()739 for (i = 0; i < ac->avail; i++) { in __ac_get_obj()743 ac->entry[i] = ac->entry[ac->avail]; in __ac_get_obj()744 ac->entry[ac->avail] = objp; in __ac_get_obj()763 ac->avail++; in __ac_get_obj()778 objp = ac->entry[--ac->avail]; in ac_get_obj()802 ac->entry[ac->avail++] = objp; in ac_put_obj()815 int nr = min3(from->avail, max, to->limit - to->avail); in transfer_objects()[all …]
223 slobidx_t avail = slob_units(cur); in slob_page_alloc() local229 if (avail >= units + delta) { /* room enough? */ in slob_page_alloc()234 set_slob(aligned, avail - delta, next); in slob_page_alloc()238 avail = slob_units(cur); in slob_page_alloc()242 if (avail == units) { /* exact fit? unlink. */ in slob_page_alloc()252 set_slob(cur + units, avail - units, next); in slob_page_alloc()