Lines Matching refs:klist
47 static struct klist *knode_klist(struct klist_node *knode) in knode_klist()
49 return (struct klist *) in knode_klist()
58 static void knode_set_klist(struct klist_node *knode, struct klist *klist) in knode_set_klist() argument
60 knode->n_klist = klist; in knode_set_klist()
84 void klist_init(struct klist *k, void (*get)(struct klist_node *), in klist_init()
94 static void add_head(struct klist *k, struct klist_node *n) in add_head()
101 static void add_tail(struct klist *k, struct klist_node *n) in add_tail()
108 static void klist_node_init(struct klist *k, struct klist_node *n) in klist_node_init()
122 void klist_add_head(struct klist_node *n, struct klist *k) in klist_add_head()
134 void klist_add_tail(struct klist_node *n, struct klist *k) in klist_add_tail()
148 struct klist *k = knode_klist(pos); in klist_add_behind()
164 struct klist *k = knode_klist(pos); in klist_add_before()
211 struct klist *k = knode_klist(n); in klist_put()
280 void klist_iter_init_node(struct klist *k, struct klist_iter *i, in klist_iter_init_node()
297 void klist_iter_init(struct klist *k, struct klist_iter *i) in klist_iter_init()