Lines Matching refs:next
48 struct ps_sd *next; member
91 ps_sd *ps, *next; in hash_split() local
103 for (ps = *ohash; ps; ps = next) { in hash_split()
104 next = ps->next; in hash_split()
105 ps->next = nhash[ps->hv & nmax]; in hash_split()
141 sd->next = data->hash[slot]; in ps_sd_new()
146 if (!sd->next) { in ps_sd_new()
164 data->hash[slot] = sd->next; in ps_sd_destroy()
169 for (prev = data->hash[slot]; prev->next != sd; prev = prev->next); in ps_sd_destroy()
170 prev->next = sd->next; in ps_sd_destroy()
190 for (prev = NULL, ret = data->hash[slot]; ret; prev = ret, ret = ret->next) { in ps_sd_lookup()
199 prev->next = ret->next; in ps_sd_lookup()
202 ret->next = data->hash[slot]; in ps_sd_lookup()
239 ps_sd *sd, *next; in ps_mm_destroy() local
249 for (sd = data->hash[h]; sd; sd = next) { in ps_mm_destroy()
250 next = sd->next; in ps_mm_destroy()
419 ps_sd *sd, *next; in PS_GC_FUNC() local
432 for (sd = *ohash; sd; sd = next) { in PS_GC_FUNC()
433 next = sd->next; in PS_GC_FUNC()