Lines Matching defs:np
1968 struct notifier *np;
1970 np = malloc(sizeof(struct notifier));
1971 if (np == 0)
1973 np->next = *notif;
1974 np->func = func;
1975 np->arg = arg;
1976 *notif = np;
1989 struct notifier *np;
1991 for (; (np = *notif) != 0; notif = &np->next) {
1992 if (np->func == func && np->arg == arg) {
1993 *notif = np->next;
1994 free(np);
2008 struct notifier *np;
2010 while ((np = notif) != 0) {
2011 notif = np->next;
2012 (*np->func)(np->arg, val);