Searched refs:npp (Results 1 - 16 of 16) sorted by relevance

/freebsd-9.3-release/lib/libc/rpc/
H A Dgetnetpath.c89 char *npp; /* NETPATH env variable */ local
106 if ((npp = getenv(NETPATH)) == NULL) {
111 if ((np_sessionp->netpath = malloc(strlen(npp)+1)) == NULL)
114 (void) strcpy(np_sessionp->netpath, npp);
151 char *npp; /* holds current NETPATH */ local
173 while ((npp = np_sessionp->netpath) != NULL && strlen(npp) != 0) {
174 np_sessionp->netpath = _get_next_token(npp, ':');
176 * npp is a network identifier.
178 if ((ncp = getnetconfigent(npp)) !
[all...]
/freebsd-9.3-release/sys/net/
H A Dnetisr.c667 netisr_get_dispatch(struct netisr_proto *npp) argument
673 if (npp->np_dispatch != NETISR_DISPATCH_DEFAULT)
674 return (npp->np_dispatch);
684 netisr_select_cpuid(struct netisr_proto *npp, u_int dispatch_policy, argument
706 policy = npp->np_policy;
708 m = npp->np_m2cpuid(m, source, cpuidp);
730 if (!(m->m_flags & M_FLOWID) && npp->np_m2flow != NULL) {
731 m = npp->np_m2flow(m, source);
744 ("%s: invalid policy %u for %s", __func__, npp->np_policy,
745 npp
983 struct netisr_proto *npp; local
1246 struct netisr_proto *npp; local
1349 struct netisr_proto *npp; local
[all...]
/freebsd-9.3-release/sys/fs/nfsclient/
H A Dnfs_clnode.c95 ncl_nget(struct mount *mntp, u_int8_t *fhp, int fhsize, struct nfsnode **npp, argument
108 *npp = NULL;
122 *npp = VTONFS(nvp);
173 *npp = NULL;
184 *npp = VTONFS(nvp);
188 *npp = np;
H A Dnfs_clport.c112 struct componentname *cnp, struct thread *td, struct nfsnode **npp,
124 *npp = NULL;
196 *npp = np;
265 *npp = NULL;
278 *npp = VTONFS(nvp);
282 *npp = np;
300 struct thread *td, struct nfsnode **npp)
307 *npp = NULL;
347 *npp = VTONFS(nvp);
111 nfscl_nget(struct mount *mntp, struct vnode *dvp, struct nfsfh *nfhp, struct componentname *cnp, struct thread *td, struct nfsnode **npp, void *stuff, int lkflags) argument
299 nfscl_ngetreopen(struct mount *mntp, u_int8_t *fhp, int fhsize, struct thread *td, struct nfsnode **npp) argument
H A Dnfs_clvnops.c2430 * allocate an nfsnode, depending on the value of npp.
2431 * npp == NULL --> just do the lookup
2432 * *npp == NULL --> allocate a new nfsnode and make sure attributes are
2434 * *npp != NULL --> update the file handle in the vnode
2438 struct thread *td, struct nfsnode **npp)
2452 if (npp && !error) {
2453 if (*npp != NULL) {
2454 np = *npp;
2509 if (!attrflag && *npp == NULL) {
2520 if (npp
2437 nfs_lookitup(struct vnode *dvp, char *name, int len, struct ucred *cred, struct thread *td, struct nfsnode **npp) argument
[all...]
/freebsd-9.3-release/sys/nfsclient/
H A Dnfs_node.c105 nfs_nget(struct mount *mntp, nfsfh_t *fhp, int fhsize, struct nfsnode **npp, int flags) argument
117 *npp = NULL;
128 *npp = VTONFS(nvp);
169 *npp = NULL;
182 *npp = VTONFS(nvp);
186 *npp = np;
H A Dnfs_vnops.c2804 * allocate an nfsnode, depending on the value of npp.
2805 * npp == NULL --> just do the lookup
2806 * *npp == NULL --> allocate a new nfsnode and make sure attributes are
2808 * *npp != NULL --> update the file handle in the vnode
2812 struct thread *td, struct nfsnode **npp)
2830 if (npp && !error) {
2832 if (*npp) {
2833 np = *npp;
2855 if (!attrflag && *npp == NULL) {
2868 if (npp
2811 nfs_lookitup(struct vnode *dvp, const char *name, int len, struct ucred *cred, struct thread *td, struct nfsnode **npp) argument
[all...]
/freebsd-9.3-release/usr.bin/netstat/
H A Dnetisr.c232 struct netisr_proto *np_array, *npp; local
275 npp = &np_array[i];
276 if (npp->np_name == NULL)
280 netisr_load_kvm_string(kd, (uintptr_t)npp->np_name,
283 snpp->snp_qlimit = npp->np_qlimit;
284 snpp->snp_policy = npp->np_policy;
285 snpp->snp_dispatch = npp->np_dispatch;
286 if (npp->np_m2flow != NULL)
288 if (npp->np_m2cpuid != NULL)
290 if (npp
[all...]
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dgetipnode.c850 char **cpp, **npp; local
900 npp = he->h_addr_list;
904 *npp = malloc((af == AF_INET) ? INADDRSZ : IN6ADDRSZ);
905 if (*npp == NULL)
911 memmove(*npp, in6addr_mapped,
913 memmove(*npp + sizeof(in6addr_mapped), *cpp,
916 memmove(*npp, *cpp,
920 npp++;
927 *npp = malloc((af == AF_INET) ? INADDRSZ : IN6ADDRSZ);
928 if (*npp
[all...]
/freebsd-9.3-release/sys/fs/nwfs/
H A Dnwfs_node.h81 struct nwnode **npp);
H A Dnwfs_node.c111 nwfs_hashlookup(struct nwmount *nmp, ncpfid fid, struct nwnode **npp) argument
122 if (npp)
123 *npp = np;
234 struct nwnode **npp)
239 error = nwfs_hashlookup(nmp, fid, npp);
233 nwfs_lookupnp(struct nwmount *nmp, ncpfid fid, struct thread *td, struct nwnode **npp) argument
H A Dnwfs_vnops.c821 struct nwnode *dnp, *npp; local
888 error = nwfs_lookupnp(nmp, dnp->n_parent, td, &npp);
894 /*np = *npp;*/
895 notfound = ncp_obtain_info(nmp, npp->n_dosfid,
/freebsd-9.3-release/sys/fs/smbfs/
H A Dsmbfs_subr.c114 struct smbnode **npp = smp->sm_npstack; local
124 *npp++ = np;
132 np = *--npp;
/freebsd-9.3-release/contrib/gcc/
H A Dstmt.c2734 case_node_ptr *npp;
2758 npp = head;
2759 left = *npp;
2769 if (!tree_int_cst_equal ((*npp)->low, (*npp)->high))
2770 i -= COST_TABLE (TREE_INT_CST_LOW ((*npp)->high));
2771 i -= COST_TABLE (TREE_INT_CST_LOW ((*npp)->low));
2774 npp = &(*npp)->right;
2791 npp
2718 case_node_ptr *npp; local
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_proc.c765 dt_proc_notify_t *npr, **npp; local
840 npp = &dph->dph_notify;
842 while ((npr = *npp) != NULL) {
844 *npp = npr->dprn_next;
847 npp = &npr->dprn_next;
/freebsd-9.3-release/etc/
H A Dservices186 npp 92/tcp #Network Printing Protocol
187 npp 92/udp #Network Printing Protocol

Completed in 205 milliseconds