Home
last modified time | relevance | path

Searched refs:lut (Results 1 – 25 of 36) sorted by relevance

12

/titanic_44/usr/src/cmd/fm/eversholt/common/
H A Dtree.h219 struct lut *lutp; /* for declarations */
300 struct lut *tree_s2np_lut_add(struct lut *root, const char *s, struct node *np);
301 struct node *tree_s2np_lut_lookup(struct lut *root, const char *s);
302 struct lut *tree_name2np_lut_add(struct lut *root,
304 struct node *tree_name2np_lut_lookup(struct lut *root, struct node *namep);
305 struct node *tree_name2np_lut_lookup_name(struct lut *root, struct node *namep);
306 struct lut *tree_event2np_lut_add(struct lut *root,
308 struct node *tree_event2np_lut_lookup(struct lut *root, struct node *enp);
309 struct node *tree_event2np_lut_lookup_event(struct lut *root,
319 struct lut *Faults;
[all …]
H A Dlut.h46 struct lut *lut_add(struct lut *root, void *lhs, void *rhs,
48 void *lut_lookup(struct lut *root, void *lhs, lut_cmp cmp_func);
49 void *lut_lookup_lhs(struct lut *root, void *lhs, lut_cmp cmp_func);
51 void lut_walk(struct lut *root, lut_cb callback, void *arg);
52 void lut_free(struct lut *root, lut_cb callback, void *arg);
H A Dlut.c77 struct lut *
78 lut_add(struct lut *root, void *lhs, void *rhs, lut_cmp cmp_func) in lut_add()
81 struct lut **tmp_hdl = &root, *parent = NULL, *tmp = root; in lut_add()
116 lut_lookup(struct lut *root, void *lhs, lut_cmp cmp_func) in lut_lookup()
139 lut_lookup_lhs(struct lut *root, void *lhs, lut_cmp cmp_func) in lut_lookup_lhs()
165 lut_walk(struct lut *root, lut_cb callback, void *arg) in lut_walk()
167 struct lut *tmp = root; in lut_walk()
168 struct lut *prev_child = NULL; in lut_walk()
205 lut_free(struct lut *root, lut_cb callback, void *arg) in lut_free()
207 struct lut *tmp = root; in lut_free()
[all …]
H A Dlut_impl.h40 struct lut { struct
41 struct lut *lut_left; argument
42 struct lut *lut_right; argument
43 struct lut *lut_parent; argument
H A Desclex.h57 const unsigned long long *lex_s2ullp_lut_lookup(struct lut *root,
61 struct lut *Ident;
64 struct lut *Dicts;
67 struct lut *Timesuffixlut;
H A Desclex.c128 static struct lut *Rwordslut;
181 static struct lut *
182 lex_s2i_lut_add(struct lut *root, const char *s, intptr_t i) in lex_s2i_lut_add()
188 lex_s2i_lut_lookup(struct lut *root, const char *s) in lex_s2i_lut_lookup()
193 static struct lut *
194 lex_s2ullp_lut_add(struct lut *root, const char *s, in lex_s2ullp_lut_add()
201 lex_s2ullp_lut_lookup(struct lut *root, const char *s) in lex_s2ullp_lut_lookup()
H A Dtree.c70 struct lut *Usedprops;
941 static struct lut *
942 nvpair2lut(struct node *np, struct lut *lutp, enum nodetype t) in nvpair2lut()
963 struct lut *
964 tree_s2np_lut_add(struct lut *root, const char *s, struct node *np) in tree_s2np_lut_add()
970 tree_s2np_lut_lookup(struct lut *root, const char *s) in tree_s2np_lut_lookup()
975 struct lut *
976 tree_name2np_lut_add(struct lut *root, struct node *namep, struct node *np) in tree_name2np_lut_add()
983 tree_name2np_lut_lookup(struct lut *root, struct node *namep) in tree_name2np_lut_lookup()
990 tree_name2np_lut_lookup_name(struct lut *root, struct node *namep) in tree_name2np_lut_lookup_name()
[all …]
H A Dcheck.h48 struct node *nvpairnp, struct lut *lutp);
/titanic_44/usr/src/cmd/logadm/
H A Dlut.c52 struct lut { struct
53 struct lut *lut_left; argument
54 struct lut *lut_right; argument
69 struct lut *
70 lut_add(struct lut *root, const char *lhs, void *rhs) in lut_add()
94 struct lut **rootp = (struct lut **)arg; in dooper()
105 struct lut *
106 lut_dup(struct lut *root) in lut_dup()
108 struct lut *ret = NULL; in lut_dup()
119 lut_lookup(struct lut *root, const char *lhs) in lut_lookup()
[all …]
H A Dlut.h38 struct lut *lut_add(struct lut *root, const char *lhs, void *rhs);
39 struct lut *lut_dup(struct lut *root);
40 void *lut_lookup(struct lut *root, const char *lhs);
41 void lut_walk(struct lut *root,
43 void lut_free(struct lut *root, void (*callback)(void *rhs));
H A DMakefile27 OBJS= conf.o err.o fn.o glob.o kw.o lut.o main.o opts.o
104 conftest: conftest.o err.o fn.o lut.o opts.o
105 $(LINK.c) -o conftest conftest.o err.o fn.o lut.o opts.o $(LDLIBS)
108 globtest: globtest.o lut.o err.o fn.o
109 $(LINK.c) -o globtest globtest.o lut.o err.o fn.o $(LDLIBS)
112 kwtest: kwtest.o err.o fn.o lut.o
113 $(LINK.c) -o kwtest kwtest.o err.o fn.o lut.o $(LDLIBS)
120 optstest: optstest.o err.o fn.o lut.o
121 $(LINK.c) -o optstest optstest.o err.o fn.o lut.o $(LDLIBS)
H A Dopts.c50 struct lut *op_raw; /* the raw text for the options */
51 struct lut *op_ints; /* the int values for the options */
60 static struct lut *Info; /* table driving parsing */
292 struct lut **destlutp = (struct lut **)arg; in merger()
H A Dmain.c87 static struct lut *Beforecmds;
90 static struct lut *Aftercmds;
93 static struct lut *Donenames;
96 static struct lut *Gzipnames = NULL;
411 struct lut *addrs = (struct lut *)rhs; in doaftercmd()
760 struct lut *addrs = (struct lut *)lut_lookup(Aftercmds, cmd); in rotatelog()
/titanic_44/usr/src/cmd/fm/modules/common/eversholt/
H A Ditree.h84 struct lut *props; /* instanced version of nvpairs */
85 struct lut *payloadprops; /* nvpairs for problem payload */
86 struct lut *serdprops; /* nvpairs for dynamic serd args */
139 struct lut *itree_create(struct config *croot);
140 void itree_free(struct lut *itp);
141 void itree_prune(struct lut *itp);
142 struct event *itree_lookup(struct lut *itp,
152 void itree_ptree(int flags, struct lut *itp);
H A Dconfig.h54 struct lut *devcache;
55 struct lut *devidcache;
56 struct lut *tpcache;
57 struct lut *cpucache;
H A Deval.h52 int eval_potential(struct node *np, struct lut *ex, struct node *events[],
54 int eval_expr(struct node *np, struct lut *ex, struct node *events[],
55 struct lut **globals, struct config *croot, struct arrow *arrowp,
H A Ditree.c57 struct lut *lut; member
59 struct lut *ex; /* dictionary of explicit iterators */
93 struct node *toev, struct lut *ex);
98 struct node *fromevent, struct node *toevent, struct lut *ex);
264 struct lut *props;
268 static struct lut *props2instance(struct node *, struct node *);
431 static struct lut *
491 itree_lookup(struct lut *itp, const char *ename, const struct ipath *ipp) in itree_lookup()
516 if ((ret = lut_lookup(infop->lut, (void *)&searchevent, in find_or_add_event()
529 infop->lut = lut_add(infop->lut, (void *)ret, (void *)ret, in find_or_add_event()
[all …]
H A Deft_mdb.c41 struct lut lutcp_lut;
80 lut_collect_addent(uintptr_t addr, struct lut *ent, struct lut_dump_desc *lddp) in lut_collect_addent()
90 bcopy(ent, &lcp->lutcp_lut, sizeof (struct lut)); in lut_collect_addent()
96 struct lut lutent; in eft_lut_walk()
99 if (mdb_vread(&lutent, sizeof (struct lut), root) != in eft_lut_walk()
100 sizeof (struct lut)) { in eft_lut_walk()
257 struct lut lut; in eft_count() local
279 if (mdb_vread(&lut, sizeof (struct lut), addr) != sizeof (struct lut)) { in eft_count()
284 (uintptr_t)lut.lut_lhs) != sizeof (struct istat_entry)) { in eft_count()
289 (uintptr_t)lut.lut_rhs) != sizeof (struct stats)) { in eft_count()
H A Dplatform.h59 int platform_call(struct node *np, struct lut **globals, struct config *croot,
61 int platform_confcall(struct node *np, struct lut **globals,
H A Dfme.h88 struct lut *Istats; /* instanced stats a la "count=" */
89 struct lut *SerdEngines;
H A Dconfig_impl.h47 struct lut *props;
H A DMakefile39 fme.c iexpr.c io.c ipath.c itree.c lut.c literals.c out.c platform.c \
H A Deval.c50 static struct node *eval_dup(struct node *np, struct lut *ex,
63 begins_with(struct node *lhs, struct node *rhs, struct lut *ex) in begins_with()
118 eval_getname(struct node *funcnp, struct lut *ex, struct node *events[], in eval_getname()
119 struct node *np, struct lut **globals, in eval_getname()
165 eval_cat(struct node *np, struct lut *ex, struct node *events[], in eval_cat()
166 struct lut **globals, struct config *croot, struct arrow *arrowp, in eval_cat()
210 eval_func(struct node *funcnp, struct lut *ex, struct node *events[], in eval_func()
211 struct node *np, struct lut **globals, in eval_func()
948 eval_dup(struct node *np, struct lut *ex, struct node *events[]) in eval_dup()
1243 eval_potential(struct node *np, struct lut *ex, struct node *events[], in eval_potential()
[all …]
/titanic_44/usr/src/cmd/fm/eversholt/eftinfo/common/
H A Deftinfo.c91 extern struct lut *Dicts;
/titanic_44/usr/src/cmd/fm/eversholt/
H A DMakefile.esc.com34 CMNOBJS = alloc.o check.o eftread.o esclex.o io.o literals.o lut.o \

12