Home
last modified time | relevance | path

Searched refs:npp (Results 1 – 25 of 30) sorted by relevance

12

/netbsd/sys/dev/sun/
H A Ddisksubr.c243 struct partition *npp; in disklabel_sun_to_bsd() local
288 npp = &lp->d_partitions[i]; in disklabel_sun_to_bsd()
301 npp->p_offset *= secpblck; in disklabel_sun_to_bsd()
303 npp->p_cdsession *= secpblck; in disklabel_sun_to_bsd()
308 if (npp->p_size == 0) { in disklabel_sun_to_bsd()
309 npp->p_fstype = FS_UNUSED; in disklabel_sun_to_bsd()
317 npp->p_fsize = 1024; in disklabel_sun_to_bsd()
318 npp->p_frag = 8; in disklabel_sun_to_bsd()
319 npp->p_cpg = 16; in disklabel_sun_to_bsd()
339 struct partition *npp; in disklabel_bsd_to_sun() local
[all …]
/netbsd/lib/libc/rpc/
H A Dgetnetpath.c100 char *npp; /* NETPATH env variable */ in setnetpath() local
115 if ((npp = getenv(NETPATH)) == NULL) in setnetpath()
125 (void) strcpy(np_sessionp->netpath, npp); in setnetpath()
156 char *npp; /* holds current NETPATH */ in getnetpath() local
179 while ((npp = np_sessionp->netpath) != NULL && strlen(npp) != 0) { in getnetpath()
246 char *npp, /* string */ in _get_next_token() argument
254 _DIAGASSERT(npp != NULL); in _get_next_token()
256 if ((cp = strchr(npp, token)) == NULL) in _get_next_token()
261 if ((cp > npp) && (cp[-1] == '\\')) { in _get_next_token()
266 if ((cp > npp + 1) && (cp[-2] != '\\')) { in _get_next_token()
[all …]
/netbsd/sys/dev/pci/
H A Dif_ne_pci.c140 const struct ne_pci_product *npp; in ne_pci_lookup() local
142 for (npp = ne_pci_products; npp->npp_name != NULL; npp++) { in ne_pci_lookup()
145 return (npp); in ne_pci_lookup()
180 const struct ne_pci_product *npp; in ne_pci_attach() local
185 npp = ne_pci_lookup(pa); in ne_pci_attach()
186 if (npp == NULL) { in ne_pci_attach()
193 printf(": %s Ethernet\n", npp->npp_name); in ne_pci_attach()
223 dsc->sc_mediachange = npp->npp_mediachange; in ne_pci_attach()
224 dsc->sc_mediastatus = npp->npp_mediastatus; in ne_pci_attach()
225 dsc->sc_media_init = npp->npp_media_init; in ne_pci_attach()
[all …]
/netbsd/sys/arch/luna68k/luna68k/
H A Ddisksubr.c305 struct partition *npp; in disklabel_om_to_bsd() local
353 npp = &lp->d_partitions[i]; in disklabel_om_to_bsd()
355 npp->p_size = spp->sdkp_nsectors; in disklabel_om_to_bsd()
356 if (npp->p_size == 0) in disklabel_om_to_bsd()
357 npp->p_fstype = FS_UNUSED; in disklabel_om_to_bsd()
360 npp->p_fstype = sun_fstypes[i]; in disklabel_om_to_bsd()
370 npp->p_fsize = 1024; in disklabel_om_to_bsd()
371 npp->p_frag = 8; in disklabel_om_to_bsd()
372 npp->p_cpg = 16; in disklabel_om_to_bsd()
402 struct partition *npp; in disklabel_bsd_to_om() local
[all …]
/netbsd/sys/kern/
H A Dsubr_disklabel.c58 struct partition *opp, *npp; in setdisklabel() local
91 npp = &nlp->d_partitions[i]; in setdisklabel()
96 if (npp->p_fstype == FS_UNUSED && opp->p_fstype != FS_UNUSED) { in setdisklabel()
97 *npp = *opp; in setdisklabel()
100 if (npp->p_offset != opp->p_offset || npp->p_size < opp->p_size) in setdisklabel()
/netbsd/sys/arch/sun68k/stand/libsa/
H A Dxxboot.c66 char **npp; in xxboot_main() local
120 for (npp = kernelnames; *npp; npp++) { in xxboot_main()
121 file = *npp; in xxboot_main()
/netbsd/sys/arch/sparc/stand/ofwboot/
H A Dofdev.c254 struct partition *npp; in disklabel_sun_to_bsd() local
296 npp = &lp->d_partitions[i]; in disklabel_sun_to_bsd()
298 npp->p_size = spp->sdkp_nsectors; in disklabel_sun_to_bsd()
299 DPRINTF(("partition %d start %x size %x\n", i, (int)npp->p_offset, (int)npp->p_size)); in disklabel_sun_to_bsd()
300 if (npp->p_size == 0) { in disklabel_sun_to_bsd()
301 npp->p_fstype = FS_UNUSED; in disklabel_sun_to_bsd()
303 npp->p_fstype = sun_fstypes[i]; in disklabel_sun_to_bsd()
304 if (npp->p_fstype == FS_BSDFFS) { in disklabel_sun_to_bsd()
309 npp->p_fsize = 1024; in disklabel_sun_to_bsd()
310 npp->p_frag = 8; in disklabel_sun_to_bsd()
[all …]
/netbsd/games/hunt/huntd/
H A Danswer.c227 PLAYER *npp; in stmonitor() local
237 for (npp = Player; npp < End_player; npp++) { in stmonitor()
238 cgoto(npp, line, STAT_NAME_COL); in stmonitor()
239 outstr(npp, Buf, STAT_NAME_LEN); in stmonitor()
241 for (npp = Monitor; npp < End_monitor; npp++) { in stmonitor()
242 cgoto(npp, line, STAT_NAME_COL); in stmonitor()
243 outstr(npp, Buf, STAT_NAME_LEN); in stmonitor()
H A Ddraw.c386 PLAYER *npp; in player_sym() local
388 npp = play_at(y, x); in player_sym()
389 if (npp->p_ident->i_team == ' ') in player_sym()
393 return npp->p_ident->i_team; in player_sym()
395 if (pp->p_ident->i_team != npp->p_ident->i_team) in player_sym()
/netbsd/external/bsd/libbind/dist/irs/
H A Dgethostent.c800 char **cpp, **npp; in copyandmerge() local
853 if (*npp == NULL) in copyandmerge()
862 memcpy(*npp, *cpp, in copyandmerge()
866 npp++; in copyandmerge()
874 if (*npp == NULL) in copyandmerge()
887 npp++; in copyandmerge()
897 npp = he->h_aliases; in copyandmerge()
901 *npp = memget(len); in copyandmerge()
902 if (*npp == NULL) in copyandmerge()
904 strcpy(*npp, *cpp); in copyandmerge()
[all …]
/netbsd/sys/fs/nfs/client/
H A Dnfs_clnode.c97 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()
169 *npp = NULL; in ncl_nget()
180 *npp = VTONFS(nvp); in ncl_nget()
184 *npp = np; in ncl_nget()
H A Dnfs_clport.c132 struct componentname *cnp, struct thread *td, struct nfsnode **npp, in nfscl_nget() argument
144 *npp = NULL; in nfscl_nget()
216 *npp = np; in nfscl_nget()
279 *npp = NULL; in nfscl_nget()
292 *npp = VTONFS(nvp); in nfscl_nget()
296 *npp = np; in nfscl_nget()
314 struct thread *td, struct nfsnode **npp) in nfscl_ngetreopen() argument
321 *npp = NULL; in nfscl_ngetreopen()
364 *npp = VTONFS(nvp); in nfscl_ngetreopen()
H A Dnfs_clvnops.c2452 struct thread *td, struct nfsnode **npp) in nfs_lookitup() argument
2466 if (npp && !error) { in nfs_lookitup()
2467 if (*npp != NULL) { in nfs_lookitup()
2468 np = *npp; in nfs_lookitup()
2523 if (!attrflag && *npp == NULL) { in nfs_lookitup()
2534 if (npp && *npp == NULL) { in nfs_lookitup()
2543 *npp = np; in nfs_lookitup()
/netbsd/usr.bin/config/
H A Dmain.c1322 if (undo_option(ht, npp, next, name, type, 0)) in do_option()
1345 undo_option(struct hashtab *ht, struct nvlist **npp, in undo_option() argument
1358 if (npp == NULL) { in undo_option()
1363 for ( ; *npp != NULL; npp = &(*npp)->nv_next) { in undo_option()
1364 if ((*npp)->nv_name != name) in undo_option()
1366 if (next != NULL && *next == &(*npp)->nv_next) in undo_option()
1367 *next = npp; in undo_option()
1368 nv = (*npp)->nv_next; in undo_option()
1369 CFGDBG(2, "opt `%s' deselected", (*npp)->nv_name); in undo_option()
1370 nvfree(*npp); in undo_option()
[all …]
/netbsd/crypto/dist/ipsec-tools/src/racoon/
H A Disakmp_cfg.c146 char *npp; local
265 npp = (char *)ph;
266 ph = (struct isakmp_gen *)(npp + ntohs(ph->len));
323 char *npp; local
437 npp = (char *)attr;
438 attr = (struct isakmp_data *)(npp + sizeof(*attr) + alen);
495 char *npp; local
610 npp = (char *)attr;
664 char *npp; local
718 npp = (char *)attr;
[all …]
/netbsd/sys/nfs/
H A Dnfs_node.c160 nfs_nget1(struct mount *mntp, nfsfh_t *fhp, int fhsize, struct nfsnode **npp, in nfs_nget1() argument
174 *npp = VTONFS(vp); in nfs_nget1()
H A Dnfs_var.h87 #define nfs_nget(mp, fhp, fhsize, npp) \ argument
88 nfs_nget1((mp), (fhp), (fhsize), (npp), 0)
H A Dnfs_vnops.c2886 …ruct vnode *dvp, const char *name, int len, kauth_cred_t cred, struct lwp *l, struct nfsnode **npp) in nfs_lookitup() argument
2908 if (npp && !error) { in nfs_lookitup()
2910 if (*npp) { in nfs_lookitup()
2911 np = *npp; in nfs_lookitup()
2951 if (!attrflag && *npp == NULL) { in nfs_lookitup()
2961 if (npp && *npp == NULL) { in nfs_lookitup()
2966 *npp = np; in nfs_lookitup()
/netbsd/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_proc.c775 dt_proc_notify_t *npr, **npp; local
852 npp = &dph->dph_notify;
854 while ((npr = *npp) != NULL) {
856 *npp = npr->dprn_next;
859 npp = &npr->dprn_next;
/netbsd/external/bsd/nvi/dist/ex/
H A Dex_cscope.c214 char *npp; in cscope_add() local
261 } else if ((npp = strrchr(np, '/')) != NULL) { in cscope_add()
262 *npp = '\0'; in cscope_add()
263 dbname = npp + 1; in cscope_add()
/netbsd/external/gpl3/gcc/dist/gcc/
H A Dtree-switch-conversion.c2006 case_tree_node **npp; in balance_case_nodes() local
2025 npp = head; in balance_case_nodes()
2026 left = *npp; in balance_case_nodes()
2035 prob -= (*npp)->m_c->m_prob; in balance_case_nodes()
2037 || ! (*npp)->m_right) in balance_case_nodes()
2039 npp = &(*npp)->m_right; in balance_case_nodes()
2042 np = *npp; in balance_case_nodes()
2043 *npp = 0; in balance_case_nodes()
H A Dtree-switch-conversion.cc2043 case_tree_node **npp; in balance_case_nodes() local
2062 npp = head; in balance_case_nodes()
2063 left = *npp; in balance_case_nodes()
2072 prob -= (*npp)->m_c->m_prob; in balance_case_nodes()
2074 || ! (*npp)->m_right) in balance_case_nodes()
2076 npp = &(*npp)->m_right; in balance_case_nodes()
2079 np = *npp; in balance_case_nodes()
2080 *npp = 0; in balance_case_nodes()
/netbsd/external/gpl3/gcc.old/dist/gcc/
H A Dtree-switch-conversion.c2006 case_tree_node **npp; in balance_case_nodes() local
2025 npp = head; in balance_case_nodes()
2026 left = *npp; in balance_case_nodes()
2035 prob -= (*npp)->m_c->m_prob; in balance_case_nodes()
2037 || ! (*npp)->m_right) in balance_case_nodes()
2039 npp = &(*npp)->m_right; in balance_case_nodes()
2042 np = *npp; in balance_case_nodes()
2043 *npp = 0; in balance_case_nodes()
/netbsd/sys/arch/sun2/sun2/
H A Dpmap.c1033 int npp, nvp, sz; in pv_init() local
1046 npp = ALIGN(physmem); in pv_init()
1047 sz += (npp * sizeof(*pv_flags_tbl)); in pv_init()
1048 sz += (npp * sizeof(*pv_head_tbl)); in pv_init()
1066 p += (npp * sizeof(*pv_flags_tbl)); in pv_init()
1068 p += (npp * sizeof(*pv_head_tbl)); in pv_init()
/netbsd/sys/arch/sun3/sun3/
H A Dpmap.c1041 int npp, nvp, sz; in pv_init() local
1054 npp = ALIGN(physmem); in pv_init()
1055 sz += (npp * sizeof(*pv_flags_tbl)); in pv_init()
1056 sz += (npp * sizeof(*pv_head_tbl)); in pv_init()
1074 p += (npp * sizeof(*pv_flags_tbl)); in pv_init()
1076 p += (npp * sizeof(*pv_head_tbl)); in pv_init()

12