HomeSort by: relevance | last modified time | path
    Searched refs:npp (Results 1 - 20 of 20) sorted by relevancy

  /src/sys/kern/
subr_disklabel.c 58 struct partition *opp, *npp; local in function:setdisklabel
91 npp = &nlp->d_partitions[i];
96 if (npp->p_fstype == FS_UNUSED && opp->p_fstype != FS_UNUSED) {
97 *npp = *opp;
100 if (npp->p_offset != opp->p_offset || npp->p_size < opp->p_size)
  /src/lib/libc/rpc/
getnetpath.c 100 char *npp; /* NETPATH env variable */ local in function:setnetpath
115 if ((npp = getenv(NETPATH)) == NULL)
121 if ((np_sessionp->netpath = malloc(strlen(npp)+1)) == NULL) {
125 (void) strcpy(np_sessionp->netpath, npp);
156 char *npp; /* holds current NETPATH */ local in function:getnetpath
179 while ((npp = np_sessionp->netpath) != NULL && strlen(npp) != 0) {
180 np_sessionp->netpath = _get_next_token(npp, ':');
182 * npp is a network identifier.
184 if ((ncp = getnetconfigent(npp)) != NULL)
    [all...]
  /src/sys/arch/sun68k/stand/libsa/
xxboot.c 66 char **npp; local in function:xxboot_main
120 for (npp = kernelnames; *npp; npp++) {
121 file = *npp;
  /src/sys/dev/sun/
disksubr.c 243 struct partition *npp; local in function:disklabel_sun_to_bsd
288 npp = &lp->d_partitions[i];
290 if (npp->p_fstype == FS_ISO9660
291 && spp->sdkp_cyloffset * secpercyl == npp->p_offset*secpblck
292 && spp->sdkp_nsectors <= npp->p_size*secpblck
293 && npp->p_size > 0 && spp->sdkp_nsectors > 0) {
301 npp->p_offset *= secpblck;
302 npp->p_size = spp->sdkp_nsectors;
303 npp->p_cdsession *= secpblck;
306 npp->p_offset = spp->sdkp_cyloffset * secpercyl
339 struct partition *npp; local in function:disklabel_bsd_to_sun
    [all...]
  /src/sys/dev/pci/
if_ne_pci.c 140 const struct ne_pci_product *npp; local in function:ne_pci_lookup
142 for (npp = ne_pci_products; npp->npp_name != NULL; npp++) {
143 if (PCI_VENDOR(pa->pa_id) == npp->npp_vendor &&
144 PCI_PRODUCT(pa->pa_id) == npp->npp_product)
145 return (npp);
180 const struct ne_pci_product *npp; local in function:ne_pci_attach
185 npp = ne_pci_lookup(pa);
186 if (npp == NULL)
    [all...]
  /src/sys/arch/luna68k/luna68k/
disksubr.c 305 struct partition *npp; local in function:disklabel_om_to_bsd
353 npp = &lp->d_partitions[i];
354 npp->p_offset = spp->sdkp_cyloffset * secpercyl;
355 npp->p_size = spp->sdkp_nsectors;
356 if (npp->p_size == 0)
357 npp->p_fstype = FS_UNUSED;
360 npp->p_fstype = sun_fstypes[i];
369 if (npp->p_fstype == FS_BSDFFS) {
370 npp->p_fsize = 1024;
371 npp->p_frag = 8
402 struct partition *npp; local in function:disklabel_bsd_to_om
    [all...]
  /src/games/hunt/huntd/
answer.c 227 PLAYER *npp; local in function:stmonitor
237 for (npp = Player; npp < End_player; npp++) {
238 cgoto(npp, line, STAT_NAME_COL);
239 outstr(npp, Buf, STAT_NAME_LEN);
241 for (npp = Monitor; npp < End_monitor; npp++) {
242 cgoto(npp, line, STAT_NAME_COL)
    [all...]
draw.c 386 PLAYER *npp; local in function:player_sym
388 npp = play_at(y, x);
389 if (npp->p_ident->i_team == ' ')
393 return npp->p_ident->i_team;
395 if (pp->p_ident->i_team != npp->p_ident->i_team)
  /src/sys/arch/sparc/stand/ofwboot/
ofdev.c 254 struct partition *npp; local in function:disklabel_sun_to_bsd
296 npp = &lp->d_partitions[i];
297 npp->p_offset = spp->sdkp_cyloffset * secpercyl;
298 npp->p_size = spp->sdkp_nsectors;
299 DPRINTF(("partition %d start %x size %x\n", i, (int)npp->p_offset, (int)npp->p_size));
300 if (npp->p_size == 0) {
301 npp->p_fstype = FS_UNUSED;
303 npp->p_fstype = sun_fstypes[i];
304 if (npp->p_fstype == FS_BSDFFS)
    [all...]
  /src/sys/fs/nfs/client/
nfs_clnode.c 97 ncl_nget(struct mount *mntp, u_int8_t *fhp, int fhsize, struct nfsnode **npp,
110 *npp = NULL;
124 *npp = VTONFS(nvp);
169 *npp = NULL;
180 *npp = VTONFS(nvp);
184 *npp = np;
nfs_clport.c 132 struct componentname *cnp, struct thread *td, struct nfsnode **npp,
144 *npp = NULL;
216 *npp = np;
279 *npp = NULL;
292 *npp = VTONFS(nvp);
296 *npp = np;
314 struct thread *td, struct nfsnode **npp)
321 *npp = NULL;
364 *npp = VTONFS(nvp);
nfs_clvnops.c 2444 * allocate an nfsnode, depending on the value of npp.
2445 * npp == NULL --> just do the lookup
2446 * *npp == NULL --> allocate a new nfsnode and make sure attributes are
2448 * *npp != NULL --> update the file handle in the vnode
2452 struct thread *td, struct nfsnode **npp)
2466 if (npp && !error) {
2467 if (*npp != NULL) {
2468 np = *npp;
2523 if (!attrflag && *npp == NULL) {
2534 if (npp && *npp == NULL)
    [all...]
  /src/sys/nfs/
nfs_node.c 160 nfs_nget1(struct mount *mntp, nfsfh_t *fhp, int fhsize, struct nfsnode **npp,
174 *npp = VTONFS(vp);
nfs_var.h 90 #define nfs_nget(mp, fhp, fhsize, npp) \
91 nfs_nget1((mp), (fhp), (fhsize), (npp), 0)
nfs_vnops.c 2889 * allocate an nfsnode, depending on the value of npp.
2890 * npp == NULL --> just do the lookup
2891 * *npp == NULL --> allocate a new nfsnode and make sure attributes are
2893 * *npp != NULL --> update the file handle in the vnode
2896 nfs_lookitup(struct vnode *dvp, const char *name, int len, kauth_cred_t cred, struct lwp *l, struct nfsnode **npp)
2918 if (npp && !error) {
2920 if (*npp) {
2921 np = *npp;
2961 if (!attrflag && *npp == NULL) {
2971 if (npp && *npp == NULL)
    [all...]
  /src/usr.bin/config/
main.c 1333 do_option(struct hashtab *ht, struct nvlist **npp, struct nvlist ***next,
1352 if (undo_option(ht, npp, next, name, type, 0))
1375 undo_option(struct hashtab *ht, struct nvlist **npp,
1388 if (npp == NULL) {
1393 for ( ; *npp != NULL; npp = &(*npp)->nv_next) {
1394 if ((*npp)->nv_name != name)
1396 if (next != NULL && *next == &(*npp)->nv_next)
1397 *next = npp;
    [all...]
sem.c 1109 setconf(struct nvlist **npp, const char *what, struct nvlist *v)
1112 if (*npp != NULL) {
1116 *npp = v;
  /src/sys/arch/sun2/sun2/
pmap.c 1032 int npp, nvp, sz; local in function:pv_init
1045 npp = ALIGN(physmem);
1046 sz += (npp * sizeof(*pv_flags_tbl));
1047 sz += (npp * sizeof(*pv_head_tbl));
1065 p += (npp * sizeof(*pv_flags_tbl));
1067 p += (npp * sizeof(*pv_head_tbl));
  /src/sys/arch/sun3/sun3/
pmap.c 1041 int npp, nvp, sz; local in function:pv_init
1054 npp = ALIGN(physmem);
1055 sz += (npp * sizeof(*pv_flags_tbl));
1056 sz += (npp * sizeof(*pv_head_tbl));
1074 p += (npp * sizeof(*pv_flags_tbl));
1076 p += (npp * sizeof(*pv_head_tbl));
  /src/sys/external/bsd/ipf/netinet/
ip_nat.c 8073 ipnat_t **newtab, *np, ***old, **npp; local in function:ipf_nat_rehash_rules
8122 for (npp = newtab + hv; *npp != NULL; )
8123 npp = &(*npp)->in_rnext;
8124 np->in_prnext = npp;
8125 *npp = np;
8130 for (npp = newtab + hv; *npp != NULL; )
8131 npp = &(*npp)->in_mnext
    [all...]

Completed in 33 milliseconds