Home
last modified time | relevance | path

Searched refs:np2 (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Diexpr.c137 iexpr_cmp(struct node *np1, struct node *np2) in iexpr_cmp() argument
141 if (np1 == np2) in iexpr_cmp()
147 if (np2 == NULL) in iexpr_cmp()
150 if (np1->t != np2->t) in iexpr_cmp()
151 return (np2->t - np1->t); in iexpr_cmp()
156 return (np2->u.globid.s - np1->u.globid.s); in iexpr_cmp()
182 diff = iexpr_cmp(np1->u.expr.left, np2->u.expr.left); in iexpr_cmp()
185 return (iexpr_cmp(np1->u.expr.right, np2->u.expr.right)); in iexpr_cmp()
188 if (np2->u.name.s != np1->u.name.s) in iexpr_cmp()
189 return (np2->u.name.s - np1->u.name.s); in iexpr_cmp()
[all …]
H A Dipath.c198 struct node *np2; in ipath_for_usednames() local
200 for (np2 = np; np2 != NULL; np2 = np2->u.name.next) in ipath_for_usednames()
203 for (i = 0, np2 = np; np2 != NULL; np2 = np2->u.name.next) { in ipath_for_usednames()
204 ret[i].s = np2->u.name.s; in ipath_for_usednames()
H A Ditree.c278 struct node *npref, *npend, *np1, *np2; in tname_dup_to_epname() local
293 for (np1 = npref, np2 = oldepname; in tname_dup_to_epname()
294 np1 != NULL && np2 != NULL; in tname_dup_to_epname()
295 np1 = np1->u.name.next, np2 = np2->u.name.next) { in tname_dup_to_epname()
296 if (np1->u.name.s != np2->u.name.s) in tname_dup_to_epname()
299 if (np2 == NULL) { in tname_dup_to_epname()
1189 struct node *np1, *np2, *oldepname, *oldnptop; in vmatch() local
1242 for (np1 = oldepname, np2 = np->u.event.epname; in vmatch()
1243 np1 != NULL && np2 != NULL; np1 = np1->u.name.next, in vmatch()
1244 np2 = np2->u.name.next) { in vmatch()
[all …]
H A Deval.c1893 struct node *np1, *np2; in eval_expr() local
1903 np2 = events[i]->u.event.oldepname; in eval_expr()
1904 np1 != NULL && np2 != NULL; in eval_expr()
1906 np2 = np2->u.name.next) { in eval_expr()
1908 np2->u.name.s) != 0) in eval_expr()
1911 np2->u.name.child->t) in eval_expr()
1915 np2->u.name.child->u.ull) in eval_expr()
1919 np2->u.name.child->u.name.s) != 0) in eval_expr()
1923 if (np1 == NULL && np2 == NULL) { in eval_expr()
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dtree.c336 tree_treecmp(struct node *np1, struct node *np2, enum nodetype t, in tree_treecmp() argument
339 if (np1 == NULL || np2 == NULL) in tree_treecmp()
342 if (np1->t != np2->t) in tree_treecmp()
348 return ((*cmp_func)(np1, np2)); in tree_treecmp()
352 if (tree_treecmp(np1->u.name.child, np2->u.name.child, t, in tree_treecmp()
355 return (tree_treecmp(np1->u.name.next, np2->u.name.next, t, in tree_treecmp()
360 return (tree_treecmp(np1->u.func.arglist, np2->u.func.arglist, in tree_treecmp()
388 if (tree_treecmp(np1->u.expr.left, np2->u.expr.left, t, in tree_treecmp()
391 return (tree_treecmp(np1->u.expr.right, np2->u.expr.right, t, in tree_treecmp()
396 if (tree_treecmp(np1->u.event.ename, np2->u.event.ename, t, in tree_treecmp()
[all …]
H A Dtree.h285 struct node *tree_name_append(struct node *np1, struct node *np2);
288 struct node *tree_name_iterator(struct node *np1, struct node *np2);
314 int tree_namecmp(struct node *np1, struct node *np2);
315 int tree_eventcmp(struct node *np1, struct node *np2);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c503 struct neighbor *np2; in configure() local
610 for (np2 = neighbors; np2 != NULL; np2 = np2->n_next) { in configure()
613 !(np2->n_flags & IFF_POINTOPOINT) && in configure()
614 (np->n_subnet == np2->n_subnet)) { in configure()
621 if (np2 != NULL) in configure()
683 for (np2 = neighbors; np2 != NULL; np2 = np2->n_next) { in configure()
686 sin2 = (struct sockaddr_in *)np2->n_addr; in configure()
694 if (np2 != NULL) in configure()
/illumos-gate/usr/src/common/mc/zen_umc/
H A Dzen_umc_decode.c1001 const zen_umc_np2_k_rule_t *np2 = NULL; in zen_umc_decode_ileave_nps_k_mod() local
1005 np2 = &zen_umc_np2_k_rules[i]; in zen_umc_decode_ileave_nps_k_mod()
1010 if (np2 == NULL) { in zen_umc_decode_ileave_nps_k_mod()
1026 if (np2->zukr_sock != (rule->ddr_sock_ileave_bits == 1)) { in zen_umc_decode_ileave_nps_k_mod()
1039 mod_addr = bitx64(dec->dec_ilv_pa, 63, np2->zukr_high); in zen_umc_decode_ileave_nps_k_mod()
1040 mod_addr = mod_addr << np2->zukr_mod_shift; in zen_umc_decode_ileave_nps_k_mod()
1041 for (uint32_t i = 0; i < np2->zukr_mod_shift; i++) { in zen_umc_decode_ileave_nps_k_mod()
1042 uint32_t bit = np2->zukr_mod_fill[i]; in zen_umc_decode_ileave_nps_k_mod()
1049 mod_val = (uint32_t)(mod_addr % np2->zukr_mod); in zen_umc_decode_ileave_nps_k_mod()
1050 chan = mod_val << np2->zukr_chan_mod_shift; in zen_umc_decode_ileave_nps_k_mod()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dvncache.c201 const fakefs_node_t *np2 = v2; in fncache_cmp() local
206 if (np1->fn_st_dev < np2->fn_st_dev) in fncache_cmp()
208 if (np1->fn_st_dev > np2->fn_st_dev) in fncache_cmp()
210 if (np1->fn_st_ino < np2->fn_st_ino) in fncache_cmp()
212 if (np1->fn_st_ino > np2->fn_st_ino) in fncache_cmp()
222 fakefs_node_t *np2 = VTOF(vp2); in vncache_cmp() local
223 return (fncache_cmp(np1, np2)); in vncache_cmp()
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dprintgprof.c362 nltype *np2 = *npp2; in totalcmp() local
366 (np2->propself + np2->propchild); in totalcmp()
374 if (np2->name == 0 && np2->cycleno != 0) in totalcmp()
378 if (np2->name == 0) in totalcmp()
381 if (*(np1->name) != '_' && *(np2->name) == '_') in totalcmp()
383 if (*(np1->name) == '_' && *(np2->name) != '_') in totalcmp()
385 if (np1->ncall > np2->ncall) in totalcmp()
387 if (np1->ncall < np2->ncall) in totalcmp()
389 return (strcmp(np1->name, np2->name)); in totalcmp()
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_lex.c527 n_splice(struct node *np1, struct node *np2) in n_splice() argument
532 np1->n_next = np2; in n_splice()
/illumos-gate/usr/src/cmd/make/bin/
H A Dread2.cc1480 Name np2; in read_suffixes_list() local
1526 np2 = GETNAME(wcb, in read_suffixes_list()
1528 np2->with_squiggle = true; in read_suffixes_list()
1529 if (np2->without_squiggle) { in read_suffixes_list()
1532 np = np2; in read_suffixes_list()
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Dzen_umc.c3560 uint32_t np2; in zen_umc_fill_umc_cb() local
3564 &np2)) != 0) { in zen_umc_fill_umc_cb()
3570 chan->chan_np2_raw = np2; in zen_umc_fill_umc_cb()
3571 chan->chan_np2_space0 = DF_NP2_CONFIG_V3_GET_SPACE0(np2); in zen_umc_fill_umc_cb()