Lines Matching refs:ctl_dir
95 static void sysctl_print_dir(struct ctl_dir *dir)
114 struct ctl_dir *dir, const char *name, int namelen)
224 static int insert_header(struct ctl_dir *dir, struct ctl_table_header *header)
347 struct ctl_dir *dir,
375 static void first_entry(struct ctl_dir *dir,
519 struct ctl_dir *ctl_dir;
525 ctl_dir = container_of(head, struct ctl_dir, header);
527 p = lookup_entry(&h, ctl_dir, name->name, name->len);
774 struct ctl_dir *ctl_dir;
780 ctl_dir = container_of(head, struct ctl_dir, header);
787 for (first_entry(ctl_dir, &h, &entry); h; next_entry(&h, &entry)) {
945 static struct ctl_dir *find_subdir(struct ctl_dir *dir,
956 return container_of(head, struct ctl_dir, header);
959 static struct ctl_dir *new_dir(struct ctl_table_set *set,
963 struct ctl_dir *new;
996 static struct ctl_dir *get_subdir(struct ctl_dir *dir,
1000 struct ctl_dir *subdir, *new = NULL;
1046 static struct ctl_dir *xlate_dir(struct ctl_table_set *set, struct ctl_dir *dir)
1048 struct ctl_dir *parent;
1066 struct ctl_dir *dir;
1165 static struct ctl_table_header *new_links(struct ctl_dir *dir, struct ctl_table_header *head)
1210 static bool get_links(struct ctl_dir *dir,
1246 struct ctl_dir *core_parent;
1285 static struct ctl_dir *sysctl_mkdir_p(struct ctl_dir *dir, const char *path)
1304 * return a ctl_dir for the last directory entry.
1368 struct ctl_dir *dir;
1470 struct ctl_dir *parent = header->parent;
1471 struct ctl_dir *core_parent;
1502 struct ctl_dir *parent = header->parent;