Lines Matching refs:ctl_node
114 struct ctl_node *ctl_node; in find_entry() local
118 ctl_node = rb_entry(node, struct ctl_node, node); in find_entry()
119 head = ctl_node->header; in find_entry()
120 entry = &head->ctl_table[ctl_node - head->node]; in find_entry()
147 struct ctl_node *parent_node; in insert_entry()
152 parent_node = rb_entry(parent, struct ctl_node, node); in insert_entry()
184 struct ctl_node *node, struct ctl_table *table) in init_header()
380 static struct ctl_node *first_usable_entry(struct rb_node *node) in first_usable_entry()
382 struct ctl_node *ctl_node; in first_usable_entry() local
385 ctl_node = rb_entry(node, struct ctl_node, node); in first_usable_entry()
386 if (use_table(ctl_node->header)) in first_usable_entry()
387 return ctl_node; in first_usable_entry()
397 struct ctl_node *ctl_node; in first_entry() local
400 ctl_node = first_usable_entry(rb_first(&dir->root)); in first_entry()
402 if (ctl_node) { in first_entry()
403 head = ctl_node->header; in first_entry()
404 entry = &head->ctl_table[ctl_node - head->node]; in first_entry()
414 struct ctl_node *ctl_node = &head->node[entry - head->ctl_table]; in next_entry() local
419 ctl_node = first_usable_entry(rb_next(&ctl_node->node)); in next_entry()
422 if (ctl_node) { in next_entry()
423 head = ctl_node->header; in next_entry()
424 entry = &head->ctl_table[ctl_node - head->node]; in next_entry()
949 struct ctl_node *node; in new_dir()
952 new = kzalloc(sizeof(*new) + sizeof(struct ctl_node) + in new_dir()
958 node = (struct ctl_node *)(new + 1); in new_dir()
1147 struct ctl_node *node; in new_links()
1159 sizeof(struct ctl_node)*nr_entries + in new_links()
1167 node = (struct ctl_node *)(links + 1); in new_links()
1305 struct ctl_node *node; in __register_sysctl_table()
1312 sizeof(struct ctl_node)*nr_entries, GFP_KERNEL); in __register_sysctl_table()
1316 node = (struct ctl_node *)(header + 1); in __register_sysctl_table()