Lines Matching refs:next

191     hash_ent *he, *next;
196 for(hash_len=0; he; hash_len++, he=next) {
197 next = he->next;
212 hash_ent *he, *next;
217 for(hash_len=0; he; hash_len++, he=next) {
218 next = he->next;
247 he->next = NULL;
258 hash_ent **new_table, *he, *next;
274 for(he=ht->table[i]; he; he=next) {
276 next = he->next;
278 he->next = new_table[hash];
303 for(; curr != NULL; curr=curr->next)
317 he->next = ht->table[hash];
336 for(; he != NULL; he=he->next) {
358 for(; he != NULL; prev=he,he=he->next) {
372 ht->table[hash] = he->next;
374 prev->next = he->next;
523 for (ce = cel->lru; ce; ce = ce->next) {
553 for(ce=bc.normal.lru; ce; prev=ce, ce=ce->next) {
557 for(ce=bc.locked.lru; ce; prev=ce, ce=ce->next) {
581 for(nce=bc.locked.lru; nce; nce=nce->next)
588 for(nce=bc.normal.lru; nce; nce=nce->next)
602 for(ce=cel->lru,prev=NULL; ce; prev=ce, ce=ce->next) {
603 for(oce=bc.locked.lru; oce; oce=oce->next) {
617 for(ce=cel->lru,prev=NULL; ce; prev=ce, ce=ce->next) {
618 for(oce=bc.normal.lru; oce; oce=oce->next) {
659 for(ce=bc.normal.lru; ce; ce=ce->next) {
666 for(ce=bc.locked.lru; ce; ce=ce->next) {
692 for(ce=bc.normal.lru; ce; ce=ce->next) {
699 for(ce=bc.locked.lru; ce; ce=ce->next) {
720 if (ce->next)
721 ce->next->prev = ce->prev;
723 ce->prev->next = ce->next;
726 cel->lru = ce->next;
730 ce->next = NULL;
744 if (ce->next != NULL || ce->prev != NULL) {
745 beos_panic("*** ath: ce has non-null next/prev ptr (ce %p nxt %p, prv %p)\n",
746 ce, ce->next, ce->prev);
749 ce->next = NULL;
753 cel->mru->next = ce;
769 if (ce->next != NULL || ce->prev != NULL) {
770 beos_panic("*** att: ce has non-null next/prev ptr (ce %p nxt %p, prv %p)\n",
771 ce, ce->next, ce->prev);
774 ce->next = cel->lru;
824 for(num_ents=0; ce && num_ents < NUM_FLUSH_BLOCKS; ce=ce->next) {
843 ce=ce->next)
851 ce = ce->next;
1046 cache_ent *ce, *next;
1048 for (ce = cel->lru; ce; ce = next) {
1049 next = ce->next;
1347 ce = ce->next;
1362 ce = ce->next;
1372 ce = ce->next;
1387 ce = ce->next;
1403 cache_ent *ce, *next = NULL;
1405 for(ce=cel->lru; ce; ce=next) {
1406 next = ce->next;
1427 cel->lru = ce->next;
1433 ce->prev->next = ce->next;
1434 if (ce->next)
1435 ce->next->prev = ce->prev;
1650 for(ce=bc.normal.lru; ce && cur < num_needed; ce=ce->next) {
1683 for(ce=ents[cur-1]->next; ce && cur < max; ce=ce->next) {
2293 if (ce->next || ce->prev)
2310 ce->next = ce->prev = NULL;
2418 for(ce=bc.normal.lru; ce; ce=ce->next) {
2435 for(ce=bc.locked.lru; ce; ce=ce->next) {