Home
last modified time | relevance | path

Searched refs:np (Results 26 – 50 of 410) sorted by relevance

12345678910>>...17

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c450 } else for (np = neighbors; np != NULL; np = np->n_next) { in onalrm()
468 (struct sockaddr *)np->n_addr, np->n_addrlen); in onalrm()
556 for (np = neighbors; np != NULL; np = np->n_next) { in configure()
564 np = (struct neighbor *)malloc(sizeof (*np)); in configure()
569 free(np); in configure()
574 np->n_addr = malloc(np->n_addrlen); in configure()
577 free(np); in configure()
580 bcopy(&ifr->ifr_addr, np->n_addr, np->n_addrlen); in configure()
586 free(np); in configure()
634 free(np); in configure()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_pipesvc.c87 ndr_pipe_t *np; in np_new() local
96 np = malloc(len); in np_new()
97 if (np == NULL) in np_new()
100 bzero(np, len); in np_new()
103 np->np_user = (void*)(np + 1); in np_new()
110 return (np); in np_new()
117 free(np); in np_free()
184 ndr_pipe_t *np; in pipesvc_listener() local
244 np_free(np); in pipesvc_listener()
250 np = NULL; in pipesvc_listener()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvtype.c83 Namval_t *np; member
399 dp->np = mp; in clone_type()
631 if(!np) in typeinfo()
781 np = nq; in std_disc()
785 if(np) in std_disc()
788 if(!nv_setdisc(np,cp, mp, (Namfun_t*)np)) in std_disc()
910 if(np->nvname[m]=='_' && np->nvname[m+1]==0 && (bp=nv_type(np))) in nv_mktype()
1163 if(dsize && (np->nvalue.cp || !nv_isarray(np))) in nv_mktype()
1324 if(nv_isarray(np) && (tq=nv_type(np))) in nv_settype()
1336 nv_arraysettype(np, tp, nv_getsub(np),flags); in nv_settype()
[all …]
H A Dinit.c626 double d, offset = (np->nvalue.dp?*np->nvalue.dp:0); in get_seconds()
637 double offset = (np->nvalue.dp?*np->nvalue.dp:0); in nget_seconds()
699 NOT_USED(np); in nget_lineno()
1613 for(np=dtfirst(shp->fun_tree);np;np=npnext) in sh_reinit()
1620 if(is_abuiltin(np) && nv_isattr(np,NV_EXPORT)) in sh_reinit()
1703 …if(np==IFSNOD || np==PATHNOD || np==SHELLNOD || np==FPATHNOD || np==CDPNOD || np==SECONDS || np==E… in nv_cover()
1706 if(np==LCALLNOD || np==LCTYPENOD || np==LCMSGNOD || np==LCCOLLNOD || np==LCNUMNOD || np==LANGNOD) in nv_cover()
2069 np->nvenv = np->nvname; in env_init()
2079 if(np!=SHLVL && nv_isattr(np,NV_IMPORT|NV_EXPORT)) in env_init()
2228 if(np) in nv_mapchar()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Ddevid_cache.c226 nvp_devid_t *np; in devid_list_free() local
255 nvp_devid_t *np; in devid_cache_unpack_nvlist() local
297 nvp_devid_t *np; in devid_cache_pack_list() local
311 for (np = list_head(listp); np; np = list_next(listp, np)) { in devid_cache_pack_list()
557 for (np = list_head(listp); np; np = list_next(listp, np)) { in e_devid_cache_register_cmn()
609 np = NULL; in e_devid_cache_register_cmn()
677 for (np = list_head(listp); np; np = list_next(listp, np)) { in e_devid_cache_unregister()
713 for (np = list_head(listp); np; np = next) { in devid_cache_cleanup()
811 for (np = list_head(listp); np; np = list_next(listp, np)) { in e_devid_cache_devi_path_lists()
823 np->nvp_devpath, np->nvp_flags)); in e_devid_cache_devi_path_lists()
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.hist.c33 struct Hist *hp, *np; in savehist() local
57 hp->Hnext = np->Hnext, hfree(np); in savehist()
59 hp = np; in savehist()
66 struct Hist *np; in enthist() local
71 np = (struct Hist *) xalloc(sizeof *np); in enthist()
72 np->Hnum = np->Href = event; in enthist()
74 copylex(&np->Hlex, lp); in enthist()
82 Histlist.Hnext = np; in enthist()
83 return (np); in enthist()
144 (*np)--; in dohist1()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Diexpr.c51 struct node *np; member
71 if (np == NULL) in iexpr_hash()
74 switch (np->t) { in iexpr_hash()
125 outfl(O_DIE, np->file, np->line, in iexpr_hash()
239 if (iexpr_cmp(cp->np, np) == 0) { in iexpr()
241 tree_free(np); in iexpr()
243 return (cp->np); in iexpr()
248 cp->np = np; in iexpr()
255 return (np); in iexpr()
267 if (iexpr_cmp(cp->np, np) == 0) { in iexpr_free()
[all …]
/illumos-gate/usr/src/cmd/svc/startd/
H A Denv.c207 char **p, **np; in set_smf_env() local
219 np = nenv; in set_smf_env()
225 np++; in set_smf_env()
233 np++; in set_smf_env()
241 np++; in set_smf_env()
245 *np = startd_alloc(sz); in set_smf_env()
248 np++; in set_smf_env()
254 np++; in set_smf_env()
261 np++; in set_smf_env()
281 np++; in set_smf_env()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_client.c118 smbnode_t *np; in smbfs_waitfor_purge_complete() local
121 np = VTOSMB(vp); in smbfs_waitfor_purge_complete()
122 if (np->r_serial != NULL && np->r_serial != curthread) { in smbfs_waitfor_purge_complete()
126 if (!cv_wait_sig(&np->r_cv, &np->r_statelock)) { in smbfs_waitfor_purge_complete()
215 smbnode_t *np; in smbfs_cache_check() local
219 np = VTOSMB(vp); in smbfs_cache_check()
256 smbnode_t *np; in smbfs_attrcache_fa() local
263 np = VTOSMB(vp); in smbfs_attrcache_fa()
342 (!(np->r_flags & RDIRTY) && np->r_count == 0))) { in smbfs_attrcache_fa()
373 smbnode_t *np; in smbfs_getattr_cache() local
[all …]
H A Dsmbfs_acl.c75 smbnode_t *np; in smbfs_getsd() local
84 np = VTOSMB(vp); in smbfs_getsd()
138 smbnode_t *np; in smbfs_setsd() local
143 np = VTOSMB(vp); in smbfs_setsd()
301 smbnode_t *np; in smbfs_acl_refresh() local
312 np = VTOSMB(vp); in smbfs_acl_refresh()
363 np->n_uid = uid; in smbfs_acl_refresh()
364 np->n_gid = gid; in smbfs_acl_refresh()
394 smbnode_t *np; in smbfs_acl_getids() local
397 np = VTOSMB(vp); in smbfs_acl_getids()
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprintpoolnode.c13 ip_pool_node_t *printpoolnode(np, opts) in printpoolnode() argument
14 ip_pool_node_t *np; in printpoolnode()
18 PRINTF(" %s", np->ipn_info ? "! " : "");
20 PRINTF("\tAddress: %s", np->ipn_info ? "! " : "");
23 if (np->ipn_addr.adf_family == AF_INET6)
25 (u_32_t *)&np->ipn_mask.adf_addr);
29 printip((u_32_t *)&np->ipn_addr.adf_addr.in4);
30 printmask(4, (u_32_t *)&np->ipn_mask.adf_addr);
36 np->ipn_hits, np->ipn_bytes, np->ipn_name);
39 np->ipn_hits, np->ipn_bytes, np->ipn_name);
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dshiocmd_solaris.c118 return(np); in make_time()
169 nv_stack(np,nfp); in make_mode()
170 return(np); in make_mode()
277 if(np) in genvalue()
358 if(np->nvalue && !nv_isattr(np,NV_NOFREE)) in put_classval()
580 if(!nv_isnull(np)) in b_open()
581 nv_unset(np); in b_open()
703 if(!nv_isnull(np)) in b_tmpfile()
704 nv_unset(np); in b_tmpfile()
779 nv_unset(np); in b_dup()
[all …]
H A Denum.c99 Namval_t *np; in enuminfo() local
103 np = *(Namval_t**)(fp+1); in enuminfo()
146 nv_putv(np,val,flags,fp); in put_enum()
170 long n = nv_getn(np,fp); in get_enum()
179 return(nv_getn(np,fp)); in get_nenum()
191 Namval_t *np, *tp; in enum_create() local
198 Namval_t *np; in enum_create() member
241 while(nv_nextsub(np)); in enum_create()
254 sp = nv_getval(np); in enum_create()
259 while(nv_nextsub(np)); in enum_create()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dflex_dev.c47 char *np = device_name; in flex_device() local
51 return (np); in flex_device()
54 return (np); in flex_device()
57 return (np); in flex_device()
70 if (*np != '/' && dev_ok == 2) { in flex_device()
74 np = device_name; in flex_device()
77 return (np); in flex_device()
80 if (strcmp(np, new_device_name)) { in flex_device()
81 if ((np = strdup(new_device_name)) == NULL) in flex_device()
82 np = device_name; in flex_device()
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dtree.c466 if (np) in tree_root()
526 for (np = ename; np != NULL; np = np->u.name.next) { in ename_compress()
532 for (np = ename; np != NULL; np = np->u.name.next) { in ename_compress()
684 outfl(O_DIE, np->file, np->line, in tree_name_repairdash()
707 outfl(O_DIE, np->file, np->line, in tree_name_repairdash2()
971 outfl(O_DIE, np->file, np->line, in nvpair2lut()
1042 ret->u.stmt.np = np; in dodecl()
1154 np->u.event.ename, np); in tree_decl()
1219 ret->u.stmt.np = np; in tree_decl()
1263 ret->u.stmt.np = np; in tree_stmt()
[all …]
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.c202 if (np != NIL) { in nodeupdates()
210 if (ip != np) in nodeupdates()
232 np = NIL; in nodeupdates()
266 np = NIL; in nodeupdates()
518 for (np = ep->e_entries; np != NIL; np = np->e_sibling) { in findunreflinks()
532 for (np = ep->e_entries; np != NIL; np = np->e_sibling) { in findunreflinks()
822 for (np = ep->e_links; np != NIL; np = np->e_links) { in createlinks()
896 if (np != ep) in verifyfile()
898 for (; np != NIL; np = np->e_links) in verifyfile()
899 if (np == ep) in verifyfile()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Denv.c101 char **p, **np; in set_smf_env() local
119 np = nenv; in set_smf_env()
122 if (*np == NULL) in set_smf_env()
125 np++; in set_smf_env()
127 if (*np == NULL) in set_smf_env()
130 np++; in set_smf_env()
132 if (*np == NULL) in set_smf_env()
135 np++; in set_smf_env()
146 np++; in set_smf_env()
168 np++; in set_smf_env()
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_element_ctl.c47 page, 0, np, B_FALSE)) == NULL) in elem_setprop_device()
88 page, 0, np, B_FALSE)) == NULL) in elem_setprop_psu()
116 page, 0, np, B_FALSE)) == NULL) in elem_setprop_cooling()
150 page, 0, np, B_FALSE)) == NULL) in elem_setprop_temp()
175 page, 0, np, B_FALSE)) == NULL) in elem_setprop_lock()
202 page, 0, np, B_FALSE)) == NULL) in elem_setprop_alarm()
239 page, 0, np, B_FALSE)) == NULL) in elem_setprop_esc()
266 page, 0, np, B_FALSE)) == NULL) in elem_setprop_scc()
291 page, 0, np, B_FALSE)) == NULL) in elem_setprop_ups()
316 page, 0, np, B_FALSE)) == NULL) in elem_setprop_cache()
[all …]
H A Dses2_enclosure.c71 ses_snap_t *snap = ses_node_snapshot(np); in enc_parse_help()
75 nvlist_t *nvl = ses_node_props(np); in enc_parse_help()
129 ses_snap_t *snap = ses_node_snapshot(np); in enc_parse_string_in()
133 nvlist_t *nvl = ses_node_props(np); in enc_parse_string_in()
190 nvlist_t *props = ses_node_props(np); in enc_parse_descr()
207 ses_snap_t *snap = ses_node_snapshot(np); in enc_parse_dlucode()
210 nvlist_t *nvl = ses_node_props(np); in enc_parse_dlucode()
259 nvlist_t *nvl = ses_node_props(np); in enc_parse_subnick()
269 np, &len)) == NULL) in enc_parse_subnick()
301 nvlist_t *props = ses_node_props(np); in ses2_fill_enclosure_node()
[all …]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk.h295 void s_print(NODE *np);
296 void s_prf(NODE *np);
312 void execute(NODE *np);
313 INT exprint(NODE *np);
335 NODE *f_exp(NODE *np);
336 NODE *f_int(NODE *np);
337 NODE *f_log(NODE *np);
347 NODE *f_sin(NODE *np);
348 NODE *f_cos(NODE *np);
350 NODE *f_sub(NODE *np);
[all …]
H A Dawk2.c407 NODE *np; in dobegin() local
411 np = NNULL; in dobegin()
487 s_print(NODE *np) in s_print() argument
505 np = exprreduce(np); in s_print()
528 s_prf(NODE *np) in s_prf() argument
547 f_getline(NODE *np) in f_getline() argument
565 np = np->n_left; in f_getline()
570 np = np->n_next; in f_getline()
878 NODE *np; in nextarg() local
882 if (isleaf(np->n_flags) && np->n_type == PARM) in nextarg()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmalloc.c133 TREE *np; in _smalloc() local
145 tp = np; in _smalloc()
302 TREE *tp, *np; in realloc() local
456 t_delete(np); in realloc()
464 tp = np; in realloc()
510 np = NEXT(tp); in realfree()
522 t_delete(np); in realfree()
524 tp = np; in realfree()
540 np = Root; in realfree()
544 np = LEFT(np); in realfree()
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Doptim.c203 if (np == NOSTR) in unuucp()
205 *np++ = 0; in unuucp()
211 cp = strchr(np, '@'); in unuucp()
246 for (np = netmach; np->nt_mid != 0; np++) in netlook()
254 for (np = netmach; np->nt_mid != 0; np++) in netlook()
277 for (np = netmach; np->nt_mid != 0; np++) in netname()
370 for (np = netmach; np->nt_mid != 0; np++) in nettype()
681 for (np = ntypetab; np->nt_char != 0; np++) in ntype()
700 for (np = nkindtab; np->nk_type != 0; np++) in netkind()
842 np = &netorder[0]; in best()
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat.c325 np = &(*np)->in_rnext;
358 np = &(*np)->in_mnext;
2255 np->in_nip = ntohl(np->in_outip);
2400 np->in_nip = ntohl(np->in_inmsk);
2403 np->in_nip = ntohl(np->in_inip);
2423 np->in_inmsk == np->in_outmsk) {
2442 (np->in_pmin != np->in_pmax)) {
3725 np->nl_inip, np->nl_outip))) {
3955 for (np = ifs->ifs_nat_rules[hv]; np; np = npnext) {
4281 for (np = ifs->ifs_rdr_rules[hv]; np; np = npnext) {
[all …]
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_gen.c181 ndr_node_t *np; in generate_union() local
226 if (np == NULL) { in generate_arg()
231 if (np->label != IDENTIFIER && np->label != INTEGER) in generate_arg()
294 generate_arg(np); in generate_member_macro_with_arg()
344 ndr_node_t *np; in generate_member() local
394 if (np) { in generate_member()
403 if (np) { in generate_member()
418 if (np) { in generate_member()
426 if (np) { in generate_member()
503 ndr_node_t *np; in generate_typeinfo_packing() local
[all …]

12345678910>>...17