Lines Matching refs:lut
75 struct lut *
76 lut_add(struct lut *root, void *lhs, void *rhs, lut_cmp cmp_func) in lut_add()
79 struct lut **tmp_hdl = &root, *parent = NULL, *tmp = root; in lut_add()
114 lut_lookup(struct lut *root, void *lhs, lut_cmp cmp_func) in lut_lookup()
137 lut_lookup_lhs(struct lut *root, void *lhs, lut_cmp cmp_func) in lut_lookup_lhs()
163 lut_walk(struct lut *root, lut_cb callback, void *arg) in lut_walk()
165 struct lut *tmp = root; in lut_walk()
166 struct lut *prev_child = NULL; in lut_walk()
203 lut_free(struct lut *root, lut_cb callback, void *arg) in lut_free()
205 struct lut *tmp = root; in lut_free()
206 struct lut *prev_child = NULL; in lut_free()