Searched refs:expr_p (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/cmd/tnf/prex/ |
H A D | expr.c | 67 static boolean_t matchattrs(expr_t * expr_p, const char *attrs); 104 expr_t *expr_p; in expr_dup() local 115 expr_p = list_p; in expr_dup() 116 while (expr_p = (expr_t *) queue_next(&list_p->qn, &expr_p->qn)) { in expr_dup() 119 new_p = expr(spec_dup(expr_p->left_p), in expr_dup() 120 spec_dup(expr_p->right_p)); in expr_dup() 136 expr_t *expr_p; in expr_destroy() local 138 while (expr_p = (expr_t *) queue_next(&list_p->qn, &list_p->qn)) { in expr_destroy() 139 (void) queue_remove(&expr_p->qn); in expr_destroy() 141 if (expr_p->left_p) in expr_destroy() [all …]
|
H A D | cmd.c | 82 new_p->expr.expr_p = expr_dup(set_p->exprlist_p); in cmd_set() 99 cmd_expr(expr_t * expr_p, cmd_kind_t kind, char *fcnname_p) in cmd_expr() argument 110 new_p->expr.expr_p = expr_p; in cmd_expr() 136 expr_destroy(cmd_p->expr.expr_p); 186 expr_print(stdout, cmd_p->expr.expr_p); in cmd_list() 207 expr_t *expr_p; in cmd_traverse() local 211 expr_p = cmd_p->expr.expr_p; in cmd_traverse() 221 err = (*percmdfunc) (expr_p, in cmd_traverse() 239 expr_t *expr_p; in cmd_callback() local 243 expr_p = cmd_p->expr.expr_p; in cmd_callback() [all …]
|
H A D | cmd.h | 68 expr_t *expr_p; member 76 expr_t * expr_p, 88 cmd_t *cmd_expr(expr_t * expr_p, cmd_kind_t kind, char *fcnname_p);
|
H A D | list.h | 48 void list_expr(spec_t *speclist_p, expr_t *expr_p);
|
H A D | expr.h | 64 boolean_t expr_match(expr_t * expr_p, const char *attrs);
|
H A D | main.c | 125 static tnfctl_errcode_t percmd(expr_t *expr_p, cmd_kind_t kind, fcn_t *fcn_p, 390 percmd(expr_t *expr_p, cmd_kind_t kind, fcn_t *fcn_p, boolean_t isnew, in percmd() argument 401 if (expr_match(expr_p, attrs)) { in percmd() 411 expr_print(stderr, expr_p); in percmd()
|
H A D | list.c | 142 list_expr(spec_t * speclist_p, expr_t * expr_p) in list_expr() argument 148 args.exprlist_p = expr_p; in list_expr()
|