Lines Matching refs:nextp
7901 void **nextp, **prevp; in dtrace_hash_add() local
7920 nextp = DTRACE_HASHNEXT(hash, new); in dtrace_hash_add()
7921 ASSERT(*nextp == NULL && *(DTRACE_HASHPREV(hash, new)) == NULL); in dtrace_hash_add()
7922 *nextp = bucket->dthb_chain; in dtrace_hash_add()
7977 void **nextp = DTRACE_HASHNEXT(hash, elm); in dtrace_hash_remove() local
7990 if (*nextp == NULL) { in dtrace_hash_remove()
8014 bucket->dthb_chain = *nextp; in dtrace_hash_remove()
8016 *(DTRACE_HASHNEXT(hash, *prevp)) = *nextp; in dtrace_hash_remove()
8019 if (*nextp != NULL) in dtrace_hash_remove()
8020 *(DTRACE_HASHPREV(hash, *nextp)) = *prevp; in dtrace_hash_remove()
16716 struct modctl *nextp, *prevp; in dtrace_modctl_add() local
16734 nextp = newctl->mod_next; in dtrace_modctl_add()
16736 while (nextp != NULL) { in dtrace_modctl_add()
16737 if (nextp->mod_loaded) { in dtrace_modctl_add()
16739 prevp = nextp; in dtrace_modctl_add()
16740 nextp = nextp->mod_next; in dtrace_modctl_add()
16745 if (strncmp (newctl->mod_modname, nextp->mod_modname, KMOD_MAX_NAME)) { in dtrace_modctl_add()
16747 prevp = nextp; in dtrace_modctl_add()
16748 nextp = nextp->mod_next; in dtrace_modctl_add()
16753 prevp->mod_next = nextp->mod_next; in dtrace_modctl_add()
16754 newctl->mod_stale = nextp; in dtrace_modctl_add()
16755 nextp->mod_next = NULL; in dtrace_modctl_add()
16786 modctl_t *prevp, *nextp, *curp; in dtrace_modctl_remove() local
16789 for (curp=ctl->mod_stale; curp != NULL; curp=nextp) { in dtrace_modctl_remove()
16790 nextp = curp->mod_stale; in dtrace_modctl_remove()