Searched refs:next_ptr (Results 1 – 2 of 2) sorted by relevance
203 local int next_ptr = 0; variable232 if (buf == NULL || next_ptr >= MAX_PTR) return NULL; in zcalloc()233 table[next_ptr].org_ptr = buf; in zcalloc()238 table[next_ptr++].new_ptr = buf; in zcalloc()250 for (n = 0; n < next_ptr; n++) { in zcfree()254 while (++n < next_ptr) { in zcfree()257 next_ptr--; in zcfree()
1174 struct buf *next_ptr, *prev_ptr; in rm_lru() local1176 next_ptr = bp->lmfs_next; /* successor on LRU chain */ in rm_lru()1179 prev_ptr->lmfs_next = next_ptr; in rm_lru()1181 front = next_ptr; /* this block was at front of chain */ in rm_lru()1183 if (next_ptr != NULL) in rm_lru()1184 next_ptr->lmfs_prev = prev_ptr; in rm_lru()