/illumos-gate/usr/src/cmd/cpio/ |
H A D | utils.c | 274 char *np; in get_ull_tok() local 282 ul = strtoull(str, &np, 10); in get_ull_tok() 285 if (*np != ' ' && *np != '\0') in get_ull_tok() 289 return (np); in get_ull_tok()
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | form.c | 176 np; /* number of pages */ in connect_fields() local 186 for (nf = 0, np = 0; x[nf]; ++nf) { in connect_fields() 188 ++np; /* count pages */ in connect_fields() 198 if (arrayAlloc(f->page, np, _PAGE)) { in connect_fields() 214 f->maxpage = np; in connect_fields()
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | eft_mdb.c | 464 (void) eft_node((uintptr_t)node.u.stmt.np, DCMD_ADDRSPEC, 0, in eft_node() 475 (void) eft_node((uintptr_t)node.u.stmt.np, DCMD_ADDRSPEC, 0, in eft_node() 712 (void) eft_node((uintptr_t)node.u.stmt.np, DCMD_ADDRSPEC, 0, in eft_node() 723 (void) eft_node((uintptr_t)node.u.stmt.np, DCMD_ADDRSPEC, 0, in eft_node() 734 (void) eft_node((uintptr_t)node.u.stmt.np, DCMD_ADDRSPEC, 0, in eft_node() 745 (void) eft_node((uintptr_t)node.u.stmt.np, DCMD_ADDRSPEC, 0, in eft_node() 756 (void) eft_node((uintptr_t)node.u.stmt.np, DCMD_ADDRSPEC, 0, in eft_node() 767 (void) eft_node((uintptr_t)node.u.stmt.np, DCMD_ADDRSPEC, 0, in eft_node() 782 (void) eft_node((uintptr_t)node.u.stmt.np, DCMD_ADDRSPEC, 0, in eft_node() 797 (void) eft_node((uintptr_t)node.u.stmt.np, DCMD_ADDRSPEC, 0, in eft_node() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_scheme.c | 295 fmd_scheme_t *sp, *np; in fmd_scheme_hash_destroy() local 299 for (sp = shp->sch_hash[i]; sp != NULL; sp = np) { in fmd_scheme_hash_destroy() 300 np = sp->sch_next; in fmd_scheme_hash_destroy() 314 fmd_scheme_t *sp, *np; in fmd_scheme_hash_trygc() local 321 for (sp = shp->sch_hash[i]; sp != NULL; sp = np) { in fmd_scheme_hash_trygc() 322 np = sp->sch_next; in fmd_scheme_hash_trygc()
|
H A D | fmd_buf.c | 68 fmd_buf_t *bp, *np; in fmd_buf_hash_destroy() local 72 for (bp = bhp->bh_hash[i]; bp != NULL; bp = np) { in fmd_buf_hash_destroy() 73 np = bp->buf_next; in fmd_buf_hash_destroy()
|
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | ses.c | 152 static int print_updated_status(ses_node_t *np, void *arg); 154 static int sendimg(ses_node_t *np, void *data); 628 print_updated_status(ses_node_t *np, void *arg) in print_updated_status() argument 635 if ((props = ses_node_props(np)) == NULL) { in print_updated_status() 659 sendimg(ses_node_t *np, void *data) in sendimg() argument 679 props = ses_node_props(np); in sendimg() 713 if (ses_node_ctl(np, SES_CTL_OP_DL_UCODE, arg) != FWFLASH_SUCCESS) { in sendimg() 722 wait.uw_oldnp = np; in sendimg()
|
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | lufsboot.c | 324 caddr_t np; in lufs_alloc_from_logbuf() local 331 np = LOGBUF_BASEADDR; in lufs_alloc_from_logbuf() 333 np = elogbuffer; in lufs_alloc_from_logbuf() 336 if (np + nsz > LOGBUF_BASEADDR + LOGBUF_MAXSIZE) { in lufs_alloc_from_logbuf() 340 np = resalloc(RES_CHILDVIRT, nsz, np, 0UL); in lufs_alloc_from_logbuf() 341 if (np == (caddr_t)NULL) { in lufs_alloc_from_logbuf() 346 logbuf_curptr = np; in lufs_alloc_from_logbuf()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | mem.c | 140 struct mmio_rb_range *np; 143 RB_FOREACH(np, mmio_rb_tree, rbt) { 144 printf(" %lx:%lx, %s\n", np->mr_base, np->mr_end, 145 np->mr_param.name);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | nhash.c | 56 char *np; in HASH() local 62 np = ((char *)cp + datalen); in HASH() 66 while (cp != np) { in HASH()
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_util.c | 377 struct netent n, *np; in smb_chk_hostaccess() local 452 if ((np = getnetbyname_r(gr, &n, buff, in smb_chk_hostaccess() 454 np->n_net != 0) { in smb_chk_hostaccess() 455 while ((np->n_net & 0xFF000000u) == 0) in smb_chk_hostaccess() 456 np->n_net <<= 8; in smb_chk_hostaccess() 457 np->n_net = htonl(np->n_net); in smb_chk_hostaccess() 458 if (inet_ntop(AF_INET, &np->n_net, addr, in smb_chk_hostaccess()
|
/illumos-gate/usr/src/cmd/ptools/pmadvise/ |
H A D | pmadvise.c | 280 int *np = (int *)data; in getstack() local 282 if (Plwp_alt_stack(Pr, lsp->pr_lwpid, &stacks[*np].lwps_stack) == 0) { in getstack() 283 stacks[*np].lwps_stack.ss_flags |= SS_ONSTACK; in getstack() 284 stacks[*np].lwps_lwpid = lsp->pr_lwpid; in getstack() 285 (*np)++; in getstack() 288 if (Plwp_main_stack(Pr, lsp->pr_lwpid, &stacks[*np].lwps_stack) == 0) { in getstack() 289 stacks[*np].lwps_lwpid = lsp->pr_lwpid; in getstack() 290 (*np)++; in getstack()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | dba.c | 341 get_macro_entry(struct ohash *macro, const char *value, int32_t np) in get_macro_entry() argument 352 entry->pages = dba_array_new(np, DBA_GROW); in get_macro_entry() 369 int32_t np; in dba_macro_new() local 371 np = 0; in dba_macro_new() 373 np++; in dba_macro_new() 375 entry = get_macro_entry(dba_array_get(dba->macros, im), value, np); in dba_macro_new()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | devpolicy.c | 340 devplcy_t *np; in parse_policy() local 343 dphold(np = nullp); in parse_policy() 347 dphold(np = defp); in parse_policy() 349 np = dpget(); in parse_policy() 350 np->dp_rdp = ds->dps_rdp; in parse_policy() 351 np->dp_wrp = ds->dps_wrp; in parse_policy() 374 de->dpe_plcy = np; in parse_policy()
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_kstats.c | 208 char *np; in nge_setup_named_kstat() local 219 for (knp = ksp->ks_data; (np = ksip->name) != NULL; ++knp, ++ksip) { in nge_setup_named_kstat() 220 switch (*np) { in nge_setup_named_kstat() 225 np += 1; in nge_setup_named_kstat() 230 np ++; in nge_setup_named_kstat() 234 np ++; in nge_setup_named_kstat() 238 kstat_named_init(knp, np, type); in nge_setup_named_kstat()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | args.c | 149 Namval_t *np = NIL(Namval_t*); in sh_argopts() local 170 np = nv_open(opt_info.arg,ap->sh->var_tree,NV_NOASSIGN|NV_ARRAY|NV_VARNAME); in sh_argopts() 172 nv_unset(np); in sh_argopts() 228 np = nv_open("BASH_VERSION",ap->sh->var_tree,0); in sh_argopts() 229 sfputr(sfstdout, nv_getval(np),-1); in sh_argopts() 230 np = nv_open("MACHTYPE",ap->sh->var_tree,0); in sh_argopts() 231 sfprintf(sfstdout, " (%s)\n", nv_getval(np)); in sh_argopts() 347 if(np) in sh_argopts() 349 nv_setvec(np,0,argc,argv); in sh_argopts() 350 nv_close(np); in sh_argopts()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | escparse.y | 61 struct node *np; member 88 %type <np> root stmtlist stmt nvpairlist nvpair nvname nvexpr 89 %type <np> exprlist expr iterid ename pname epname eexprlist ipname iname 90 %type <np> numexpr cexpr func pfunc parglist parg 91 %type <np> eventlist event nork norkexpr globid propbody
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipnat.c | 294 nat_t *np, nat; in dostats() local 338 for (np = nsp->ns_instances; np; np = nat.nat_next) { in dostats() 339 if (kmemcpy((char *)&nat, (long)np, sizeof (nat))) in dostats()
|
/illumos-gate/usr/src/cmd/diskinfo/ |
H A D | diskinfo.c | 102 disk_walker(topo_hdl_t *hp, tnode_t *np, void *arg) in disk_walker() argument 113 if (strcmp(topo_node_name(np), DISK) != 0) in disk_walker() 116 if (topo_prop_get_string(np, TOPO_PGROUP_STORAGE, in disk_walker() 124 if (topo_prop_get_string(np, TOPO_PGROUP_STORAGE, in disk_walker() 145 for (tnode_t *pnp = topo_node_parent(np); pnp != NULL; in disk_walker()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | common.c | 41 struct netent *np; in getnet() local 74 else if ((np = getnetbyname(name)) != NULL) in getnet() 75 in.s_addr = np->n_net; in getnet()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_arp.c | 190 char *ap, *np; in printip() local 195 np = (char *)addrtoname(AF_INET, &a); in printip() 196 (void) snprintf(buff, MAXHOSTNAMELEN, "%s, %s", ap, np); in printip()
|
/illumos-gate/usr/src/cmd/vgrind/ |
H A D | vgrindefs.c | 37 static int tnamatch(char *np); 159 tnamatch(char *np) in tnamatch() argument 167 for (Np = np; *Np && *Bp == *Np; Bp++, Np++) in tnamatch()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | fts.c | 1578 register Notify_t* np; in fts_notify() local 1583 if (!(np = newof(0, Notify_t, 1, 0))) in fts_notify() 1585 np->notifyf = notifyf; in fts_notify() 1586 np->context = context; in fts_notify() 1587 np->next = notify; in fts_notify() 1588 notify = np; in fts_notify() 1592 for (np = notify, pp = 0; np; pp = np, np = np->next) in fts_notify() 1593 if (np->notifyf == notifyf) in fts_notify() 1596 pp->next = np->next; in fts_notify() 1598 notify = np->next; in fts_notify() [all …]
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | compile.c | 634 const char *op, *np; in compile_tr() local 659 np = new; in compile_tr() 660 newlen = mbsrtowcs(NULL, &np, 0, NULL); in compile_tr() 672 for (; *op; op++, np++) in compile_tr() 673 y->bytetab[(uchar_t)*op] = *np; in compile_tr() 690 nclen = mbrlen(np, MB_LEN_MAX, &mbs2); in compile_tr() 694 y->bytetab[(uchar_t)*op] = *np; in compile_tr() 705 (void) memcpy(y->multis[i].to, np, nclen); in compile_tr() 708 np += nclen; in compile_tr()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | completion.c | 431 Namval_t *np; in ed_expand() local 434 …if(*cp=='/' && (pp=path_dirfind(ep->sh->pathlist,cp,'/')) && (np=nv_search(begin,ep->sh->track_tre… in ed_expand() 435 path_alias(np,pp); in ed_expand() 515 Namval_t *np; in ed_macro() local 524 if (isalnum(i)&&(np=nv_search(ep->e_macro,ep->sh->alias_tree,HASH_SCOPE))&&(out=nv_getval(np))) in ed_macro()
|
/illumos-gate/usr/src/cmd/fmt/ |
H A D | fmt.c | 303 int np; in prefix() local 315 np = cp - line; in prefix() 322 if (crown_state == c_none && np != pfx && (np > pfx || abs(pfx-np) > 8)) in prefix() 338 pfx = np; in prefix()
|