| /src/sys/kern/ |
| subr_disklabel.c | 61 struct partition *opp, *npp; local 94 npp = &nlp->d_partitions[i]; 99 if (npp->p_fstype == FS_UNUSED && opp->p_fstype != FS_UNUSED) { 100 *npp = *opp; 103 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 120 for (npp = kernelnames; *npp; npp++) { 121 file = *npp;
|
| /src/sys/arch/luna68k/luna68k/ |
| disksubr.c | 304 struct partition *npp; local 352 npp = &lp->d_partitions[i]; 353 npp->p_offset = spp->sdkp_cyloffset * secpercyl; 354 npp->p_size = spp->sdkp_nsectors; 355 if (npp->p_size == 0) 356 npp->p_fstype = FS_UNUSED; 359 npp->p_fstype = sun_fstypes[i]; 368 if (npp->p_fstype == FS_BSDFFS) { 369 npp->p_fsize = 1024; 370 npp->p_frag = 8 401 struct partition *npp; local [all...] |
| /src/sys/dev/sun/ |
| disksubr.c | 242 struct partition *npp; local 287 npp = &lp->d_partitions[i]; 289 if (npp->p_fstype == FS_ISO9660 290 && spp->sdkp_cyloffset * secpercyl == npp->p_offset*secpblck 291 && spp->sdkp_nsectors <= npp->p_size*secpblck 292 && npp->p_size > 0 && spp->sdkp_nsectors > 0) { 300 npp->p_offset *= secpblck; 301 npp->p_size = spp->sdkp_nsectors; 302 npp->p_cdsession *= secpblck; 305 npp->p_offset = spp->sdkp_cyloffset * secpercyl 338 struct partition *npp; local [all...] |
| /src/games/hunt/huntd/ |
| draw.c | 386 PLAYER *npp; local 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 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 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 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/pci/ |
| if_ne_pci.c | 140 const struct ne_pci_product *npp; local 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 185 npp = ne_pci_lookup(pa); 186 if (npp == NULL) [all...] |
| /src/sys/arch/sparc/stand/ofwboot/ |
| ofdev.c | 254 struct partition *npp; local 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/external/cddl/osnet/dist/lib/libdtrace/common/ |
| dt_proc.c | 775 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;
|
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| isakmp_cfg.c | 144 char *npp; local 263 npp = (char *)ph; 264 ph = (struct isakmp_gen *)(npp + ntohs(ph->len)); 310 char *npp; local 424 npp = (char *)attr; 425 attr = (struct isakmp_data *)(npp + sizeof(*attr) + alen); 480 char *npp; local 595 npp = (char *)attr; 596 attr = (struct isakmp_data *)(npp + sizeof(*attr) + alen); 647 char *npp; local [all...] |
| /src/external/bsd/libbind/dist/irs/ |
| gethostent.c | 800 char **cpp, **npp; local 848 npp = he->h_addr_list; 852 *npp = memget((af == AF_INET) ? INADDRSZ : IN6ADDRSZ); 853 if (*npp == NULL) 857 memcpy(*npp, in6addr_mapped, 859 memcpy(*npp + sizeof in6addr_mapped, *cpp, 862 memcpy(*npp, *cpp, 866 npp++; 873 *npp = memget((af == AF_INET) ? INADDRSZ : IN6ADDRSZ); 874 if (*npp == NULL [all...] |
| /src/external/bsd/nvi/dist/ex/ |
| ex_cscope.c | 214 char *npp; local 261 } else if ((npp = strrchr(np, '/')) != NULL) { 262 *npp = '\0'; 263 dbname = npp + 1;
|
| /src/sys/arch/sun2/sun2/ |
| pmap.c | 1024 int npp, nvp, sz; local 1037 npp = ALIGN(physmem); 1038 sz += (npp * sizeof(*pv_flags_tbl)); 1039 sz += (npp * sizeof(*pv_head_tbl)); 1057 p += (npp * sizeof(*pv_flags_tbl)); 1059 p += (npp * sizeof(*pv_head_tbl));
|
| /src/sys/arch/sun68k/sun68k/ |
| pmap_sunmmu.c | 1139 int npp, nvp, sz; local 1152 npp = ALIGN(physmem); 1153 sz += (npp * sizeof(*pv_flags_tbl)); 1154 sz += (npp * sizeof(*pv_head_tbl)); 1172 p += (npp * sizeof(*pv_flags_tbl)); 1174 p += (npp * sizeof(*pv_head_tbl));
|
| /src/sys/external/bsd/ipf/netinet/ |
| ip_nat.c | 8074 ipnat_t **newtab, *np, ***old, **npp; local 8123 for (npp = newtab + hv; *npp != NULL; ) 8124 npp = &(*npp)->in_rnext; 8125 np->in_prnext = npp; 8126 *npp = np; 8131 for (npp = newtab + hv; *npp != NULL; ) 8132 npp = &(*npp)->in_mnext [all...] |