Lines Matching refs:next
46 struct ps_sd *next; member
89 ps_sd *ps, *next; in hash_split() local
101 for (ps = *ohash; ps; ps = next) { in hash_split()
102 next = ps->next; in hash_split()
103 ps->next = nhash[ps->hv & nmax]; in hash_split()
138 sd->next = data->hash[slot]; in ps_sd_new()
143 if (!sd->next) { in ps_sd_new()
161 data->hash[slot] = sd->next; in ps_sd_destroy()
166 for (prev = data->hash[slot]; prev->next != sd; prev = prev->next); in ps_sd_destroy()
167 prev->next = sd->next; in ps_sd_destroy()
187 for (prev = NULL, ret = data->hash[slot]; ret; prev = ret, ret = ret->next) { in ps_sd_lookup()
196 prev->next = ret->next; in ps_sd_lookup()
199 ret->next = data->hash[slot]; in ps_sd_lookup()
250 ps_sd *sd, *next; in ps_mm_destroy() local
260 for (sd = data->hash[h]; sd; sd = next) { in ps_mm_destroy()
261 next = sd->next; in ps_mm_destroy()
446 ps_sd *sd, *next; in PS_GC_FUNC() local
459 for (sd = *ohash; sd; sd = next) { in PS_GC_FUNC()
460 next = sd->next; in PS_GC_FUNC()