Lines Matching refs:np
273 struct __rmname *np;
275 for (np = TAILQ_FIRST(&DB_GLOBAL(db_nameq)); np != NULL;
276 np = TAILQ_NEXT(np, links)) {
277 if (np->rmid == rmid) {
278 *dbhomep = np->dbhome;
295 struct __rmname *np, *next;
297 for (np = TAILQ_FIRST(&DB_GLOBAL(db_nameq)); np != NULL; np = next) {
298 next = TAILQ_NEXT(np, links);
299 if (np->rmid == rmid) {
300 TAILQ_REMOVE(&DB_GLOBAL(db_nameq), np, links);
301 __os_freestr(np->dbhome);
302 __os_free(np, sizeof(struct __rmname));