| /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/ |
| printnat.c | 25 void printnat(np, opts) 26 ipnat_t *np; 34 pr = getprotobynumber(np->in_p); 36 switch (np->in_redir) 52 np->in_redir); 56 printf(" %s", np->in_ifnames[0]); 57 if ((np->in_ifnames[1][0] != '\0') && 58 (strncmp(np->in_ifnames[0], np->in_ifnames[1], LIFNAMSIZ) != 0)) { 59 printf(",%s ", np->in_ifnames[1]) [all...] |
| printproto.c | 15 void printproto(pr, p, np) 18 ipnat_t *np; 20 if (np != NULL) { 21 if ((np->in_flags & IPN_TCPUDP) == IPN_TCPUDP) 23 else if (np->in_flags & IPN_TCP) 25 else if (np->in_flags & IPN_UDP) 27 else if (np->in_flags & IPN_ICMPQUERY) 33 else if (np->in_p == 0) 39 printf("%d", np->in_p);
|
| printpoolnode.c | 17 ip_pool_node_t *printpoolnode(np, opts) 18 ip_pool_node_t *np; 23 if (np->ipn_info == 1) 27 if (np->ipn_addr.adf_family == AF_INET6) 28 printhostmask(6, (u_32_t *)&np->ipn_addr.adf_addr.in6, 29 (u_32_t *)&np->ipn_mask.adf_addr); 33 printip((u_32_t *)&np->ipn_addr.adf_addr.in4); 34 printmask(4, (u_32_t *)&np->ipn_mask.adf_addr); 41 if (np->ipn_info == 1) 45 PRINTF("%s", inet_ntop(np->ipn_addr.adf_family [all...] |
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| ddi_nodeid.c | 91 np_free(struct available *np) 93 kmem_free(np, sizeof (struct available)); 100 np_unlink(struct available *np) 102 if (np->prev) 103 np->prev->next = np->next; 105 nhead = np->next; 107 if (np->next) 108 np->next->prev = np->prev 133 struct available *np; local 171 struct available *np; local 187 struct available *np; local 224 struct available *np, *fp; local 299 struct available *np, *fp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/modules/common/eversholt/ |
| iexpr.h | 39 struct node *iexpr(struct node *np); 40 int iexpr_cached(struct node *np); 41 void iexpr_free(struct node *np);
|
| /onnv/onnv-gate/usr/src/cmd/rpcsvc/nis/utils/nisaddcred/ |
| makekerbcred.c | 32 make_kerb_cred(np, p, d, flavor) 33 char *np;
|
| makersacred.c | 32 make_rsa_cred(np, p, d, flavor) 33 char *np;
|
| /onnv/onnv-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
| smbfs_subr2.c | 149 smbinactive(smbnode_t *np) 152 if (np->n_rpath) { 153 kmem_free(np->n_rpath, np->n_rplen + 1); 154 np->n_rpath = NULL; 182 smbnode_t *np; local 226 np = VTOSMB(vp); 227 np->n_ino = hash; /* Equivalent to: smbfs_getino() */ 251 /* XXX: np->n_ino = fap->fa_ino; see above */ 252 np->r_size = fap->fa_size 296 smbnode_t *np; local 674 smbnode_t *np; local 734 smbnode_t *np; local 793 smbnode_t *np; local 957 smbnode_t *np; local [all...] |
| /onnv/onnv-gate/usr/src/lib/lvm/libmeta/common/ |
| meta_replace.c | 41 mdname_t *np, 52 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev))); 55 if (metachkmeta(np, ep) != 0) 57 if ((miscname = metagetmiscname(np, ep)) == NULL) 62 return (meta_raid_replace(sp, np, oldnp, newnp, options, ep)); 64 return (meta_mirror_replace(sp, np, oldnp, newnp, options, ep)); 66 return (mdmderror(ep, MDE_UNKNOWN_TYPE, meta_getminor(np->dev), 67 np->cname)); 77 mdname_t *np, 87 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev))) [all...] |
| meta_reset.c | 40 mdname_t *np, 50 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev))); 52 if ((miscname = metagetmiscname(np, ep)) == NULL) 54 if (meta_isopen(sp, np, ep, options) != 0) { 55 return (mdmderror(ep, MDE_IS_OPEN, meta_getminor(np->dev), 56 np->cname)); 60 mir.mnum = meta_getminor(np->dev); 62 if (metaioctl(MD_IOCRESET, &mir, &mir.mde, np->cname) != 0) 69 (void) meta_update_devtree(meta_getminor(np->dev)); 116 mdname_t *np, [all...] |
| /onnv/onnv-gate/usr/src/cmd/svr4pkg/libinst/ |
| flex_dev.c | 47 char *np = device_name; local 51 return (np); 53 if (dev_ok == 1 && listdev(np) != (char **) NULL) /* device.tab */ 54 return (np); 56 if (!strncmp(np, "/dev", 4)) /* /dev path */ 57 return (np); 64 if (realpath(np, new_device_name) == NULL) { /* path */ 70 if (*np != '/' && dev_ok == 2) { 71 (void) sprintf(new_device_name, "%s/%s", cwd, np); 73 if ((np = strdup(new_device_name)) == NULL [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/eversholt/common/ |
| check.h | 44 void check_report_combination(struct node *np); 45 void check_arrow(struct node *np); 49 void check_propnames(enum nodetype t, struct node *np, int from, int to); 50 void check_propscope(struct node *np); 51 void check_proplists(enum nodetype t, struct node *np); 56 void check_type_iterator(struct node *np); 57 void check_name_iterator(struct node *np); 58 void check_func(struct node *np); 59 void check_expr(struct node *np); 60 void check_event(struct node *np); [all...] |
| ptree.c | 70 is_stmt(struct node *np) 72 switch (np->t) { 96 ptree(int flags, struct node *np, int no_iterators, int fileline) 98 if (np == NULL) 101 switch (np->t) { 105 out(flags|O_NONL, "%s", np->u.name.s); 107 if (np->u.name.cp != NULL) { 109 cp2num(np->u.name.cp, &num); 111 } else if (np->u.name.it == IT_HORIZONTAL) { 112 if (np->u.name.child == NULL | 683 struct node *np; local [all...] |
| check.c | 44 static int check_reportlist(enum nodetype t, const char *s, struct node *np); 45 static int check_num(enum nodetype t, const char *s, struct node *np); 46 static int check_quote(enum nodetype t, const char *s, struct node *np); 47 static int check_action(enum nodetype t, const char *s, struct node *np); 48 static int check_num_func(enum nodetype t, const char *s, struct node *np); 49 static int check_fru_asru(enum nodetype t, const char *s, struct node *np); 50 static int check_engine(enum nodetype t, const char *s, struct node *np); 51 static int check_count(enum nodetype t, const char *s, struct node *np); 52 static int check_timeval(enum nodetype t, const char *s, struct node *np); 53 static int check_id(enum nodetype t, const char *s, struct node *np); 395 struct node *np = stmtnp->u.stmt.np; local 415 struct node *np; local 785 struct node *np; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/awk_xpg4/ |
| awk3.c | 38 static NODE *arithmetic(NODE *np); 39 static NODE *comparison(NODE *np); 40 static int type_of(NODE *np); 43 static NODE *userfunc(NODE *np); 45 static NODE *exprconcat(NODE *np, int len); 46 static int s_if(NODE *np); 47 static int s_while(NODE *np); 48 static int s_for(NODE *np); 49 static int s_forin(NODE *np); 52 static int action(NODE *np); 286 register NODE *np; local 301 register NODE *np; local 315 register NODE *np; local 329 register NODE *np; local 373 register NODE *np; local 412 register NODE *np; local 428 register NODE *np; local 449 register NODE *np; local 559 register NODE *np; local 625 register NODE *np, *nnp; local 651 register NODE *np; local 1837 register NODE *np; local 2050 register NODE *np; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/mailx/ |
| hostname.c | 65 register struct netmach *np; local 77 for (np = netmach; np->nt_machine != 0; np++) 78 if (strcmp(np->nt_machine, EMPTY) == 0) 80 if (np->nt_machine == 0) { 85 np->nt_machine = host; 86 np++; 87 np->nt_machine = domain;
|
| names.c | 69 register struct name *np; local 71 np = (struct name *) salloc(sizeof *np); 72 np->n_flink = NIL; 73 np->n_blink = NIL; 74 np->n_type = -1; 75 np->n_full = savestr(str); 76 np->n_name = skin(np->n_full); 77 return(np); 87 register struct name *np; local 108 register struct name *top, *np, *t; local 183 register struct name *np; local 204 register struct name *np; local 407 register struct name *newnames, *np, *cp; local 444 struct name *np; local 554 register struct name *np; local 661 register struct name *np; local 680 register struct name *np, *t, *newnames; local [all...] |
| /onnv/onnv-gate/usr/src/lib/scsi/libses/common/ |
| ses_node.c | 39 ses_node_t *np; local 41 for (np = sp->ss_root->sn_first_child; np != NULL; 42 np = np->sn_next_sibling) { 43 ASSERT(np->sn_type == SES_NODE_ENCLOSURE); 44 if (np->sn_enc_num == number) 45 return ((ses_node_t *)np); 62 ses_node_teardown(ses_node_t *np) 66 if (np == NULL 80 ses_node_t *np; local 141 ses_node_t *np, *pnp, *cnp, *root; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/csh/ |
| sh.hist.c | 32 struct Hist *hp, *np; local 54 for (hp = &Histlist; np = hp->Hnext;) 55 if (eventno - np->Href >= histlen || histlen == 0) 56 hp->Hnext = np->Hnext, hfree(np); 58 hp = np; 65 struct Hist *np; local 70 np = (struct Hist *) xalloc(sizeof *np); 71 np->Hnum = np->Href = event [all...] |
| /onnv/onnv-gate/usr/src/lib/libnisdb/ |
| db_index_entry.cc | 130 db_index_entry_p np, next_np, *hp; local 132 for (np = this; np != NULL; np = next_np) { 133 next_np = np->next; 134 hp = &new_tab[np->hashval % hashsize]; 135 np->next = *hp; 136 *hp = np; 145 db_index_entry_p np; local 147 for (np = this; np != NULL; np = np->next) 168 db_index_entry_p np; local 235 db_index_entry_p np, dp; local 335 db_index_entry *np; local 345 db_index_entry *np; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libshell/common/sh/ |
| nvdisc.c | 41 char *nv_getv(Namval_t *np, register Namfun_t *nfp) 52 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) 56 cp = (*fp->disc->getval)(np,fp); 59 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp)); 65 cp = nv_getval(np); 73 Sfdouble_t nv_getn(Namval_t *np, register Namfun_t *nfp) 85 if(!fp->disc->getnum && nv_isattr(np,NV_INTEGER)) 87 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) 169 Namval_t *np; member in struct:blocked 795 register Namval_t *np = newof(0,Namval_t,1,s=strlen(name)+1); local 980 Namval_t *np; local 991 dtinsert(nv_dict(sh.namespace),np); local 998 register Namval_t *np; local 1044 Namval_t *np, *nq; local 1121 register Namval_t *np, *nq=0; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/svc/configd/ |
| rc_node.c | 612 static void rc_node_no_client_refs(rc_node_t *np); 652 rc_node_match(rc_node_t *np, rc_node_lookup_t *l) 654 rc_node_lookup_t *r = &np->rn_id; 680 * Register an ephemeral reference to np. This should be done while both 681 * the persistent reference from which the np pointer was read is locked 682 * and np itself is locked. This guarantees that another thread which 687 rc_node_hold_ephemeral_locked(rc_node_t *np) 689 assert(MUTEX_HELD(&np->rn_lock)); 691 ++np->rn_erefs; 705 rc_node_hold_other(rc_node_t *np) 828 rc_node_t *np; local 848 rc_node_t *np; local 1203 rc_notify_t *np = &nnp->rn_notify; local 1258 rc_notify_t *np = &nnp->rn_notify; local 1794 rc_node_t *np = uu_zalloc(sizeof (*np)); local 2014 rc_node_t *np; local 2079 rc_node_t *np; local 2136 rc_node_t *np; local 2196 rc_node_t *np; local 2292 rc_node_t *np; local 2442 rc_node_t *np; local 2919 rc_node_t *np = npp->rnp_node; local 3029 rc_node_t *np; local 3058 rc_node_t *np; local 3135 rc_node_t *np; local 3224 rc_node_t *np; local 3301 rc_node_t *np, *cp; local 3349 rc_node_t *np = npp->rnp_node; local 3966 rc_node_t *np; local 4077 rc_node_t *np; local 4245 rc_node_t *np = np_arg; local 4776 rc_node_t *np, *np_orig; local 5106 rc_node_t *np; local 5478 rc_node_t *np; local 5588 rc_node_t *np, *outp; local 5608 rc_node_t *np; local 6141 rc_node_t *np = iter->rni_parent; local 6167 rc_node_t *np; local 6218 rc_node_t *np; local 6262 rc_node_t *np = iter->rni_parent; local 6341 rc_node_t *np; local 6433 rc_node_t *np = iter->rni_parent; local 6679 rc_node_t *np; local 6708 rc_node_t *np; local 7019 rc_node_t *np = txp->rnp_node; local 7344 rc_node_t *np; local 7426 rc_notify_t *np; local 7526 rc_notify_t *np; local [all...] |
| /onnv/onnv-gate/usr/src/tools/ndrgen/ |
| ndr_print.c | 43 print_node(ndr_node_t *np) 47 if (!np) { 52 switch (np->label) { 81 (void) printf("<<lab=%d>>", np->label); 85 switch (np->label) { 90 if (np->n_c_advice) { 91 print_advice_list(np->n_c_advice); 95 print_node(np->n_c_typename); 97 print_node_list(np->n_c_members); 114 if ((np->n_a_arg == NULL) || (np->n_a_arg->n_int == 0) [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/stdio/ |
| getline.c | 31 getline(char** sp, size_t* np, Sfio_t* f) 33 STDIO_INT(f, "getline", ssize_t, (char**, size_t*, Sfio_t*), (sp, np, f)) 35 return getdelim(sp, np, '\n', f);
|
| /onnv/onnv-gate/usr/src/lib/libcmd/common/ |
| expr.c | 141 #define numeric(np) ((np)->type&T_NUM) 185 static int getnode(State_t* state, Node_t *np) 207 np->num = (ep = strpbrk(cp, ep)) ? (ep - cp + 1) : 0; 208 np->type = T_NUM; 217 np->num = strlen(cp); 218 np->type = T_NUM; 225 if (!(np->str = *state->arglist++)) 227 np->type = T_STR; 260 np->type = T_STR [all...] |