Lines Matching refs:nap
3613 struct nd_addrlist *nap;
3642 if (netdir_getbyname(ncp, &hs, &nap) != 0) {
3646 if (nap == NULL || nap->n_cnt <= 0) {
3649 netdir_free((void *)nap, ND_ADDRLIST);
3655 mythreadno, nap->n_cnt);
3657 nbp = nap->n_addrs;
3659 for (i = 0; i < nap->n_cnt; i++) {
3670 inputs = Ninputs + nap->n_cnt;
3686 nbp = nap->n_addrs;
3688 for (i = 0; i < nap->n_cnt; i++, nbp++) {
3719 netdir_free((void *)nap, ND_ADDRLIST);
3917 struct nd_addrlist *nap;
3931 nap = (struct nd_addrlist *)NULL;
3934 if (netdir_getbyname(ncp, &hs, &nap) == 0) {
3935 if (!nap)
3937 nbp = nap->n_addrs;
3949 if (nap == (struct nd_addrlist *)NULL) {
3957 netdir_free((void *)nap, ND_ADDRLIST);
3966 netdir_free((void *)nap, ND_ADDRLIST);
3975 netdir_free((void *)nap, ND_ADDRLIST);
3981 netdir_free((void *)nap, ND_ADDRLIST);
3997 struct nd_addrlist *nap;
4026 if (netdir_getbyname(ncp, &hs, &nap) != 0) {
4030 if (nap == NULL) {
4034 nbp = nap->n_addrs;
4036 for (i = 0; i < nap->n_cnt; i++) {
4047 netdir_free((void *)nap, ND_ADDRLIST);
4060 netdir_free((void *)nap, ND_ADDRLIST);
4071 netdir_free((void *)nap, ND_ADDRLIST);