Lines Matching refs:ctl_dir
43 static void set_empty_dir(struct ctl_dir *dir)
48 static void clear_empty_dir(struct ctl_dir *dir)
89 static void sysctl_print_dir(struct ctl_dir *dir)
113 struct ctl_dir *dir, const char *name, int namelen)
218 static int insert_header(struct ctl_dir *dir, struct ctl_table_header *header)
338 struct ctl_dir *dir,
366 static void first_entry(struct ctl_dir *dir,
508 struct ctl_dir *ctl_dir;
514 ctl_dir = container_of(head, struct ctl_dir, header);
516 p = lookup_entry(&h, ctl_dir, name->name, name->len);
763 struct ctl_dir *ctl_dir;
769 ctl_dir = container_of(head, struct ctl_dir, header);
776 for (first_entry(ctl_dir, &h, &entry); h; next_entry(&h, &entry)) {
932 static struct ctl_dir *find_subdir(struct ctl_dir *dir,
943 return container_of(head, struct ctl_dir, header);
946 static struct ctl_dir *new_dir(struct ctl_table_set *set,
950 struct ctl_dir *new;
984 static struct ctl_dir *get_subdir(struct ctl_dir *dir,
988 struct ctl_dir *subdir, *new = NULL;
1034 static struct ctl_dir *xlate_dir(struct ctl_table_set *set, struct ctl_dir *dir)
1036 struct ctl_dir *parent;
1054 struct ctl_dir *dir;
1150 static struct ctl_table_header *new_links(struct ctl_dir *dir, struct ctl_table *table,
1193 static bool get_links(struct ctl_dir *dir,
1224 struct ctl_dir *core_parent = NULL;
1311 struct ctl_dir *dir;
1637 struct ctl_dir *parent = header->parent;
1638 struct ctl_dir *core_parent;
1669 struct ctl_dir *parent = header->parent;