/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | parse.c | 957 Namval_t *np; in assign() local 1479 if(np && is_abuiltin(np)) in simple() 1484 if(np==SYSTYPESET) in simple() 1490 else if(np==SYSEXEC) in simple() 1590 if(np) in simple() 1598 else if(np && nv_isattr(np,BLT_DCL)) in simple() 2032 Namval_t *np; in kiaentity() local 2046 np->nvalue.i = pkind; in kiaentity() 2047 nv_setsize(np,width); in kiaentity() 2050 nv_onattr(np,NV_TAGGED); in kiaentity() [all …]
|
H A D | expand.c | 221 register Namval_t *np; in scantree() local 225 np = (Namval_t*)dtfirst(tree); in scantree() 226 for(;np && !nv_isnull(np);(np = (Namval_t*)dtnext(tree,np))) in scantree() 228 if(strmatch(cp=nv_name(np),pattern)) in scantree()
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_rec.c | 252 PAGE *_lp, *lp, *np, *pp, *_rp, *rp, *sp; local 259 _lp = lp = np = pp = _rp = rp = NULL; 402 np = NULL; 406 PREV_PGNO(np) = argp->right; 407 np->lsn = *lsnp; 411 np = NULL; 470 np = NULL; 474 PREV_PGNO(np) = argp->left; 475 np->lsn = argp->nlsn; 478 np = NULL; [all …]
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | delwin.c | 33 WINDOW *wp, *np; in delwin() local 46 np = wp->_nextp; in delwin() 48 wp = np; in delwin()
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tar.c | 813 np->nr_excls)) { in backup_work() 875 free(np->nr_chkp_nm); in free_paths() 876 free(np->nr_unchkp_nm); in free_paths() 877 free(np->nr_excls); in free_paths() 894 if (!np->nr_chkp_nm || !np->nr_unchkp_nm) { in malloc_paths() 895 free_paths(np); in malloc_paths() 898 free_paths(np); in malloc_paths() 916 ndmp_run_args_t np; in ndmp_backup_reader() local 923 (void) memset(&np, 0, sizeof (np)); in ndmp_backup_reader() 924 if (!malloc_paths(&np)) in ndmp_backup_reader() [all …]
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | ignore.c | 338 struct list *np = 0; /* for LINT */ in ignore_reset() local 349 for (lp = file_list[i]; lp; lp = np) { in ignore_reset() 350 np = lp->l_next; in ignore_reset() 358 for (lp = expr_list; lp; lp = np) { in ignore_reset() 359 np = lp->l_next; in ignore_reset()
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/libses/common/ |
H A D | libses.c | 34 libses_parse_node(ses_plugin_t *sp, ses_node_t *np) in libses_parse_node() argument 43 props = ses_node_props(np); in libses_parse_node() 55 if (ses_node_type(np) != SES_NODE_ENCLOSURE) in libses_parse_node()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | ptree.h | 57 void ptree(int flags, struct node *np, int no_iterators, int fileline); 58 void ptree_name(int flags, struct node *np); 59 void ptree_name_iter(int flags, struct node *np);
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 208 hdl = np->get_dnode(np); in drmach_node_acpi_get_prop() 229 hdl = np->get_dnode(np); in drmach_node_acpi_get_proplen() 302 args.node = np; in drmach_node_acpi_walk() 307 hdl = np->get_dnode(np); in drmach_node_acpi_walk() 336 drmach_node_t *np; in drmach_node_new() local 346 return (np); in drmach_node_new() 355 dup->here = np->here; in drmach_node_dup() 368 kmem_free(np, sizeof (*np)); in drmach_node_dispose() 375 return (np->walk(np, param, cb)); in drmach_node_walk() 381 return (np->get_dnode(np)); in drmach_node_get_dnode() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | platform.h | 58 int platform_call(struct node *np, struct lut **globals, struct config *croot, 60 int platform_confcall(struct node *np, struct lut **globals, 62 int platform_payloadprop(struct node *np, struct evalue *valuep);
|
H A D | platform.c | 1112 if (np == NULL) in arglist2argv() 1115 switch (np->t) { in arglist2argv() 1322 ASSERT(np->t == T_LIST); in platform_call() 1370 outfl(O_OK, np->file, np->line, in platform_call() 1387 outfl(O_OK, np->file, np->line, in platform_call() 1409 outfl(O_ALTFP|O_VERB, np->file, np->line, "unknown confcall"); in platform_confcall() 1525 ASSERT(np->t == T_QUOTE); in platform_payloadprop() 1527 propstr = np->u.quote.s; in platform_payloadprop() 2209 struct node *np; in platform_fault2ipath() local 2231 ip = ipath(np); in platform_fault2ipath() [all …]
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcbind.c | 375 struct netconfig *nconf, *np; in check_netconfig() local 387 if ((np->nc_flag & NC_VISIBLE) == 0) in check_netconfig() 391 np->nc_netid); in check_netconfig() 393 switch (np->nc_semantics) { in check_netconfig() 409 np->nc_device); in check_netconfig() 411 np->nc_netid, np->nc_device); in check_netconfig() 416 np->nc_device); in check_netconfig() 418 char *libname = np->nc_lookups[i]; in check_netconfig() 428 np->nc_netid, libname, in check_netconfig() 433 np->nc_netid, libname); in check_netconfig() [all …]
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 700 args.node = np; in drmach_node_ddi_walk() 721 ndip = np->n_getdip(np); in drmach_node_ddi_get_parent() 759 return (np); in drmach_node_new() 765 kmem_free(np, sizeof (*np)); in drmach_node_dispose() 778 return (np->walk(np, param, cb)); in drmach_node_walk() 789 ndip = np->n_getdip(np); in drmach_node_ddi_get_prop() 808 ndip = np->n_getdip(np); in drmach_node_ddi_get_proplen() 940 return (np->get_dnode(np)); in drmach_node_get_dnode() 1516 if (np->n_getprop(np, "portid", &portid, sizeof (portid)) == 0) in drmach_get_portid() 1978 np = cpu->node; in drmach_cpu_get_impl() [all …]
|
/illumos-gate/usr/src/lib/libvscan/common/ |
H A D | libvscan.c | 592 int rc, np; in vs_scf_values_get() local 613 np = 0; in vs_scf_values_get() 624 vsc.vscf_val[np] = scf_value_create(vsc.vscf_handle); in vs_scf_values_get() 626 if (vsc.vscf_prop[np] == NULL || vsc.vscf_val[np] == NULL) { in vs_scf_values_get() 632 vsc.vscf_prop[np]) == -1) { in vs_scf_values_get() 644 ++np; in vs_scf_values_get() 855 int rc, np; in vs_scf_values_set() local 888 np = 0; in vs_scf_values_set() 898 vsc.vscf_val[np] = scf_value_create(vsc.vscf_handle); in vs_scf_values_set() 901 if (vsc.vscf_val[np] == NULL || vsc.vscf_ent[np] == NULL) { in vs_scf_values_set() [all …]
|
/illumos-gate/usr/src/lib/libndmp/common/ |
H A D | libndmp.c | 155 ndmp_dt_name_t *np; in ndmp_get_session_info() local 272 np = sp->nsi_data.nd_nlist.nld_nlist; in ndmp_get_session_info() 274 for (j = 0; j < sp->nsi_data.nld_nlist_len; j++, np++) { in ndmp_get_session_info() 275 np->nn_name = ndmp_door_get_string(dec_ctx); in ndmp_get_session_info() 276 np->nn_dest = ndmp_door_get_string(dec_ctx); in ndmp_get_session_info() 322 ndmp_dt_name_t *np; in ndmp_get_session_info_free() local 346 np = sp->nsi_data.nd_nlist.nld_nlist; in ndmp_get_session_info_free() 347 for (j = 0; j < sp->nsi_data.nld_nlist_len; j++, np++) { in ndmp_get_session_info_free() 348 free(np->nn_name); in ndmp_get_session_info_free() 349 free(np->nn_dest); in ndmp_get_session_info_free()
|
/illumos-gate/usr/src/cmd/scsi/sestopo/common/ |
H A D | sestopo.c | 51 node(ses_node_t *np, void *arg) in node() argument 58 type = ses_node_type(np); in node() 60 if ((props = ses_node_props(np)) == NULL) { in node()
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4.c | 483 struct nlist *np; in install() local 493 np = xcalloc(1, sizeof (*np)); in install() 494 np->name = wstrdup(nam); in install() 495 np->next = hshtab[hshval]; in install() 496 hshtab[hshval] = np; in install() 499 np->def = cp; in install() 510 struct nlist *np; in lookup() local 520 for (np = hshtab[hshval]; np != NULL; np = np->next) { in lookup() 521 if (*str == *np->name && wcscmp(str, np->name) == 0) in lookup() 522 return (np); in lookup()
|
/illumos-gate/usr/src/uts/common/io/bpf/ |
H A D | bpf_filter.c | 74 uchar_t *cp, *np; in m_xword() local 90 np = mtod(m0, uchar_t *); in m_xword() 94 return ((cp[0] << 24) | (np[0] << 16) | (np[1] << 8) | np[2]); in m_xword() 97 return ((cp[0] << 24) | (cp[1] << 16) | (np[0] << 8) | np[1]); in m_xword() 100 return ((cp[0] << 24) | (cp[1] << 16) | (cp[2] << 8) | np[0]); in m_xword()
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rup.c | 471 register struct netbuf *np; local 473 np = (struct netbuf *) malloc(sizeof (struct netbuf) + ap->len); 474 if (np) { 475 np->maxlen = np->len = ap->len; 476 np->buf = ((char *)np) + sizeof (struct netbuf); 477 (void) memcpy(np->buf, ap->buf, ap->len); 479 return (np);
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 804 ses_enum_node_t *np; in ses_data_free() local 960 ses_node_t *np; in ses_node_lock() local 1038 return (np); in ses_node_lock() 1061 ses_node_t *np; in ses_present() local 1363 ses_node_t *np; in ses_add_bay_props() local 1375 np = ap->san_node; in ses_add_bay_props() 1393 np = ap->san_node; in ses_add_bay_props() 3232 assert(np != NULL); in ses_init_chassis() 3556 sap->san_node = np; in ses_enum_gather() 3574 snp->sen_node = np; in ses_enum_gather() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smbfs/ |
H A D | smbfs.c | 196 const smbnode_t *np = data; in smbfs_node_cb() local 204 mdb_printf(" %-p", (uintptr_t)np->r_vnode); in smbfs_node_cb() 206 print_str((uintptr_t)np->n_rpath); in smbfs_node_cb() 213 (uintptr_t)np->r_vnode) == -1) { in smbfs_node_cb() 215 (uintptr_t)np->r_vnode); in smbfs_node_cb()
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | args.c | 281 struct dolnod *np = (struct dolnod *)alloc(sizeof (struct dolnod)); in copyargs() local 285 np -> dolnxt = 0; in copyargs() 286 np->doluse = 1; /* use count */ in copyargs() 287 pp = np->dolarg = (unsigned char **)alloc((n+1)*sizeof(char *)); in copyargs() 293 return(np); in copyargs()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_smb1.c | 70 struct smb_share *ssp = np->n_mount->smi_share; 77 ASSERT(smbfs_rw_lock_held(&np->r_lkserlock, RW_READER)); 80 if (np->n_vcgenid != ssp->ss_vcgenid) 96 mb_put_uint16le(mbp, np->n_fid); 137 smbfs_smb1_trans2_query(struct smbnode *np, uint16_t fid, in smbfs_smb1_trans2_query() argument 140 struct smb_share *ssp = np->n_mount->smi_share; in smbfs_smb1_trans2_query() 171 error = smbfs_fullpath(mbp, vcp, np, NULL, 0, '\\'); in smbfs_smb1_trans2_query() 437 smbfs_smb1_t2rename(struct smbnode *np, in smbfs_smb1_t2rename() argument 441 struct smb_share *ssp = np->n_mount->smi_share; in smbfs_smb1_t2rename() 767 smb_share_t *ssp = np->n_mount->smi_share; in smbfs_smb1_get_streaminfo() [all …]
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_tnode.c | 133 pgcnt_t np = btopr(newsize); in tmpnode_growmap() local 139 if (tp->tn_asize >= np) in tmpnode_growmap() 143 np = btopr((u_offset_t)MAXOFF_T); in tmpnode_growmap() 146 tp->tn_anon = anon_create(MAX(np, TMP_INIT_SZ), ANON_SLEEP); in tmpnode_growmap() 152 np - tp->tn_asize, ANON_SLEEP); in tmpnode_growmap() 153 ASSERT(tp->tn_asize >= np); in tmpnode_growmap()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | sttydefs.c | 446 struct Gdef *np; in check_ref() local 448 np = &Gdef[0]; in check_ref() 449 for (i = 0; i < Ndefs; i++, np++) { in check_ref() 450 if (find_def(np->g_nextid) == NULL) { in check_ref() 453 np->g_nextid, np->g_id); in check_ref()
|