Lines Matching refs:ctl_dir

40 static void set_empty_dir(struct ctl_dir *dir)  in set_empty_dir()
45 static void clear_empty_dir(struct ctl_dir *dir) in clear_empty_dir()
86 static void sysctl_print_dir(struct ctl_dir *dir) in sysctl_print_dir()
110 struct ctl_dir *dir, const char *name, int namelen) in find_entry()
215 static int insert_header(struct ctl_dir *dir, struct ctl_table_header *header) in insert_header()
368 struct ctl_dir *dir, in lookup_entry()
396 static void first_entry(struct ctl_dir *dir, in first_entry()
540 struct ctl_dir *ctl_dir; in proc_sys_lookup() local
546 ctl_dir = container_of(head, struct ctl_dir, header); in proc_sys_lookup()
548 p = lookup_entry(&h, ctl_dir, name->name, name->len); in proc_sys_lookup()
783 struct ctl_dir *ctl_dir; in proc_sys_readdir() local
789 ctl_dir = container_of(head, struct ctl_dir, header); in proc_sys_readdir()
796 for (first_entry(ctl_dir, &h, &entry); h; next_entry(&h, &entry)) { in proc_sys_readdir()
950 static struct ctl_dir *find_subdir(struct ctl_dir *dir, in find_subdir()
961 return container_of(head, struct ctl_dir, header); in find_subdir()
964 static struct ctl_dir *new_dir(struct ctl_table_set *set, in new_dir()
968 struct ctl_dir *new; in new_dir()
1002 static struct ctl_dir *get_subdir(struct ctl_dir *dir, in get_subdir()
1006 struct ctl_dir *subdir, *new = NULL; in get_subdir()
1052 static struct ctl_dir *xlate_dir(struct ctl_table_set *set, struct ctl_dir *dir) in xlate_dir()
1054 struct ctl_dir *parent; in xlate_dir()
1072 struct ctl_dir *dir; in sysctl_follow_link()
1162 static struct ctl_table_header *new_links(struct ctl_dir *dir, struct ctl_table *table, in new_links()
1205 static bool get_links(struct ctl_dir *dir, in get_links()
1236 struct ctl_dir *core_parent = NULL; in insert_links()
1323 struct ctl_dir *dir; in __register_sysctl_table()
1617 struct ctl_dir *parent = header->parent; in put_links()
1618 struct ctl_dir *core_parent; in put_links()
1649 struct ctl_dir *parent = header->parent; in drop_sysctl_table()