/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/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/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/ |
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)
|
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...] |
/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/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/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/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...] |