Lines Matching defs:freelist
235 * Find a free 'freelist' and initialize it with the appropriate attributes
276 * Disconnect the freelist and process each element
319 struct segkp_cache *freelist = NULL;
328 freelist = &segkp_cache[index];
331 seg = freelist->kpf_seg;
332 flags = freelist->kpf_flags;
333 if (freelist->kpf_list != NULL) {
334 kpd = freelist->kpf_list;
335 freelist->kpf_list = kpd->kp_next;
336 freelist->kpf_count--;
342 len = freelist->kpf_len;
606 struct segkp_cache *freelist;
615 freelist = &segkp_cache[kpd->kp_cookie];
617 if (!segkp_indel && freelist->kpf_count < freelist->kpf_max) {
619 kpd->kp_next = freelist->kpf_list;
620 freelist->kpf_list = kpd;
621 freelist->kpf_count++;