| /freebsd-12-stable/lib/libc/rpc/ |
| D | getnetpath.c | 91 char *npp; /* NETPATH env variable */ in setnetpath() local 107 if ((npp = getenv(NETPATH)) == NULL) { in setnetpath() 112 if ((np_sessionp->netpath = malloc(strlen(npp)+1)) == NULL) in setnetpath() 115 (void) strcpy(np_sessionp->netpath, npp); in setnetpath() 151 char *npp; /* holds current NETPATH */ in getnetpath() local 173 while ((npp = np_sessionp->netpath) != NULL && strlen(npp) != 0) { in getnetpath() 174 np_sessionp->netpath = _get_next_token(npp, ':'); in getnetpath() 178 if ((ncp = getnetconfigent(npp)) != NULL) { in getnetpath() 239 _get_next_token(char *npp, int token) in _get_next_token() argument 245 if ((cp = strchr(npp, token)) == NULL) { in _get_next_token() [all …]
|
| /freebsd-12-stable/sys/net/ |
| D | netisr.c | 759 netisr_get_dispatch(struct netisr_proto *npp) in netisr_get_dispatch() argument 765 if (npp->np_dispatch != NETISR_DISPATCH_DEFAULT) in netisr_get_dispatch() 766 return (npp->np_dispatch); in netisr_get_dispatch() 776 netisr_select_cpuid(struct netisr_proto *npp, u_int dispatch_policy, in netisr_select_cpuid() argument 798 policy = npp->np_policy; in netisr_select_cpuid() 800 m = npp->np_m2cpuid(m, source, cpuidp); in netisr_select_cpuid() 825 npp->np_m2flow != NULL) { in netisr_select_cpuid() 826 m = npp->np_m2flow(m, source); in netisr_select_cpuid() 839 ("%s: invalid policy %u for %s", __func__, npp->np_policy, in netisr_select_cpuid() 840 npp->np_name)); in netisr_select_cpuid() [all …]
|
| /freebsd-12-stable/usr.bin/netstat/ |
| D | netisr.c | 207 struct netisr_proto *np_array, *npp; in netisr_load_kvm_proto() local 240 npp = &np_array[i]; in netisr_load_kvm_proto() 241 if (npp->np_name == NULL) in netisr_load_kvm_proto() 245 netisr_load_kvm_string((uintptr_t)npp->np_name, in netisr_load_kvm_proto() 248 snpp->snp_qlimit = npp->np_qlimit; in netisr_load_kvm_proto() 249 snpp->snp_policy = npp->np_policy; in netisr_load_kvm_proto() 250 snpp->snp_dispatch = npp->np_dispatch; in netisr_load_kvm_proto() 251 if (npp->np_m2flow != NULL) in netisr_load_kvm_proto() 253 if (npp->np_m2cpuid != NULL) in netisr_load_kvm_proto() 255 if (npp->np_drainedcpu != NULL) in netisr_load_kvm_proto()
|
| /freebsd-12-stable/sys/fs/nfsclient/ |
| D | nfs_clnode.c | 97 ncl_nget(struct mount *mntp, u_int8_t *fhp, int fhsize, struct nfsnode **npp, in ncl_nget() argument 110 *npp = NULL; in ncl_nget() 124 *npp = VTONFS(nvp); in ncl_nget() 174 *npp = NULL; in ncl_nget() 186 *npp = VTONFS(nvp); in ncl_nget() 190 *npp = np; in ncl_nget()
|
| D | nfs_clport.c | 128 struct componentname *cnp, struct thread *td, struct nfsnode **npp, in nfscl_nget() argument 140 *npp = NULL; in nfscl_nget() 212 *npp = np; in nfscl_nget() 279 *npp = NULL; in nfscl_nget() 293 *npp = VTONFS(nvp); in nfscl_nget() 297 *npp = np; in nfscl_nget() 315 struct thread *td, struct nfsnode **npp) in nfscl_ngetreopen() argument 322 *npp = NULL; in nfscl_ngetreopen() 365 *npp = VTONFS(nvp); in nfscl_ngetreopen()
|
| D | nfs_clvnops.c | 2596 struct thread *td, struct nfsnode **npp) in nfs_lookitup() argument 2612 if (npp && !error) { in nfs_lookitup() 2613 if (*npp != NULL) { in nfs_lookitup() 2614 np = *npp; in nfs_lookitup() 2685 if (!attrflag && *npp == NULL) { in nfs_lookitup() 2696 if (npp && *npp == NULL) { in nfs_lookitup() 2705 *npp = np; in nfs_lookitup()
|
| /freebsd-12-stable/contrib/gcc/ |
| D | stmt.c | 2718 case_node_ptr *npp; in balance_case_nodes() local 2742 npp = head; in balance_case_nodes() 2743 left = *npp; in balance_case_nodes() 2753 if (!tree_int_cst_equal ((*npp)->low, (*npp)->high)) in balance_case_nodes() 2754 i -= COST_TABLE (TREE_INT_CST_LOW ((*npp)->high)); in balance_case_nodes() 2755 i -= COST_TABLE (TREE_INT_CST_LOW ((*npp)->low)); in balance_case_nodes() 2758 npp = &(*npp)->right; in balance_case_nodes() 2775 npp = &(*npp)->right; in balance_case_nodes() 2785 if (!tree_int_cst_equal ((*npp)->low, (*npp)->high)) in balance_case_nodes() 2790 npp = &(*npp)->right; in balance_case_nodes() [all …]
|
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| D | dt_proc.c | 770 dt_proc_notify_t *npr, **npp; local 845 npp = &dph->dph_notify; 847 while ((npr = *npp) != NULL) { 849 *npp = npr->dprn_next; 852 npp = &npr->dprn_next;
|
| /freebsd-12-stable/sys/netpfil/ipfilter/netinet/ |
| D | ip_nat.c | 8056 ipnat_t **newtab, *np, ***old, **npp; in ipf_nat_rehash_rules() local 8105 for (npp = newtab + hv; *npp != NULL; ) in ipf_nat_rehash_rules() 8106 npp = &(*npp)->in_rnext; in ipf_nat_rehash_rules() 8107 np->in_prnext = npp; in ipf_nat_rehash_rules() 8108 *npp = np; in ipf_nat_rehash_rules() 8113 for (npp = newtab + hv; *npp != NULL; ) in ipf_nat_rehash_rules() 8114 npp = &(*npp)->in_mnext; in ipf_nat_rehash_rules() 8115 np->in_pmnext = npp; in ipf_nat_rehash_rules() 8116 *npp = np; in ipf_nat_rehash_rules()
|
| /freebsd-12-stable/usr.sbin/services_mkdb/ |
| D | services | 179 npp 92/tcp #Network Printing Protocol 180 npp 92/udp #Network Printing Protocol
|