Searched refs:np2 (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Diexpr.c139 iexpr_cmp(struct node *np1, struct node *np2) argument
143 if (np1 == np2)
149 if (np2 == NULL)
152 if (np1->t != np2->t)
153 return (np2->t - np1->t);
158 return (np2->u.globid.s - np1->u.globid.s);
184 diff = iexpr_cmp(np1->u.expr.left, np2->u.expr.left);
187 return (iexpr_cmp(np1->u.expr.right, np2->u.expr.right));
190 if (np2->u.name.s != np1->u.name.s)
191 return (np2
[all...]
H A Dipath.c198 struct node *np2; local
200 for (np2 = np; np2 != NULL; np2 = np2->u.name.next)
203 for (i = 0, np2 = np; np2 != NULL; np2 = np2->u.name.next) {
204 ret[i].s = np2
[all...]
H A Ditree.c278 struct node *npref, *npend, *np1, *np2; local
293 for (np1 = npref, np2 = oldepname;
294 np1 != NULL && np2 != NULL;
295 np1 = np1->u.name.next, np2 = np2->u.name.next) {
296 if (np1->u.name.s != np2->u.name.s)
299 if (np2 == NULL) {
1189 struct node *np1, *np2, *oldepname, *oldnptop; local
1242 for (np1 = oldepname, np2 = np->u.event.epname;
1243 np1 != NULL && np2 !
[all...]
H A Deval.c1890 struct node *np1, *np2; local
1900 np2 = events[i]->u.event.oldepname;
1901 np1 != NULL && np2 != NULL;
1903 np2 = np2->u.name.next) {
1905 np2->u.name.s) != 0)
1908 np2->u.name.child->t)
1912 np2->u.name.child->u.ull)
1916 np2->u.name.child->u.name.s) != 0)
1920 if (np1 == NULL && np2
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dtree.c320 tree_treecmp(struct node *np1, struct node *np2, enum nodetype t, argument
323 if (np1 == NULL || np2 == NULL)
326 if (np1->t != np2->t)
332 return ((*cmp_func)(np1, np2));
336 if (tree_treecmp(np1->u.name.child, np2->u.name.child, t,
339 return (tree_treecmp(np1->u.name.next, np2->u.name.next, t,
344 return (tree_treecmp(np1->u.func.arglist, np2->u.func.arglist,
372 if (tree_treecmp(np1->u.expr.left, np2->u.expr.left, t,
375 return (tree_treecmp(np1->u.expr.right, np2->u.expr.right, t,
380 if (tree_treecmp(np1->u.event.ename, np2
631 tree_name_append(struct node *np1, struct node *np2) argument
706 tree_name_iterator(struct node *np1, struct node *np2) argument
1343 tree_namecmp(struct node *np1, struct node *np2) argument
1366 tree_eventcmp(struct node *np1, struct node *np2) argument
[all...]
H A Dtree.h287 struct node *tree_name_append(struct node *np1, struct node *np2);
290 struct node *tree_name_iterator(struct node *np1, struct node *np2);
316 int tree_namecmp(struct node *np1, struct node *np2);
317 int tree_eventcmp(struct node *np1, struct node *np2);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c509 mdname_t *np2, /* second comp */
516 mdnmtype_t type2 = np2->drivenamep->type;
568 if ((np1 == NULL) || (np2 == NULL))
572 if (np1 == np2)
576 name2 = np2->bname;
685 (sscanf(np2->bname, "/dev/%*[^0-9/]%*u%*[a-h]%n", &l) == 0 &&
686 l == strlen(np2->bname))) &&
689 if (np1->drivenamep == np2->drivenamep)
695 if (meta_getmajor(np1->dev) != meta_getmajor(np2->dev))
699 ((cinfop2 = metagetcinfo(np2, e
507 meta_check_samedrive( mdname_t *np1, mdname_t *np2, md_error_t *ep ) argument
724 meta_check_overlap( char *uname, mdname_t *np1, diskaddr_t slblk1, diskaddr_t nblks1, mdname_t *np2, diskaddr_t slblk2, diskaddr_t nblks2, md_error_t *ep ) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c505 struct neighbor *np2; local
612 for (np2 = neighbors; np2 != NULL; np2 = np2->n_next) {
615 !(np2->n_flags & IFF_POINTOPOINT) &&
616 (np->n_subnet == np2->n_subnet)) {
623 if (np2 != NULL)
685 for (np2 = neighbors; np2 !
[all...]
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dprintgprof.c361 nltype *np2 = *npp2; local
365 (np2->propself + np2->propchild);
373 if (np2->name == 0 && np2->cycleno != 0)
377 if (np2->name == 0)
380 if (*(np1->name) != '_' && *(np2->name) == '_')
382 if (*(np1->name) == '_' && *(np2->name) != '_')
384 if (np1->ncall > np2->ncall)
386 if (np1->ncall < np2
[all...]
/illumos-gate/usr/src/cmd/make/bin/
H A Dread2.cc1476 Name np2; local
1522 np2 = GETNAME(wcb,
1524 np2->with_squiggle = true;
1525 if (np2->without_squiggle) {
1528 np = np2;
/illumos-gate/usr/src/head/
H A Dmeta.h693 extern int meta_check_samedrive(mdname_t *np1, mdname_t *np2,
696 diskaddr_t slblk1, diskaddr_t nblks1, mdname_t *np2,

Completed in 82 milliseconds