Lines Matching refs:ctl_dir

95 static void sysctl_print_dir(struct ctl_dir *dir)  in sysctl_print_dir()
114 struct ctl_dir *dir, const char *name, int namelen) in find_entry()
224 static int insert_header(struct ctl_dir *dir, struct ctl_table_header *header) in insert_header()
347 struct ctl_dir *dir, in lookup_entry()
375 static void first_entry(struct ctl_dir *dir, in first_entry()
519 struct ctl_dir *ctl_dir; in proc_sys_lookup() local
525 ctl_dir = container_of(head, struct ctl_dir, header); in proc_sys_lookup()
527 p = lookup_entry(&h, ctl_dir, name->name, name->len); in proc_sys_lookup()
774 struct ctl_dir *ctl_dir; in proc_sys_readdir() local
780 ctl_dir = container_of(head, struct ctl_dir, header); in proc_sys_readdir()
787 for (first_entry(ctl_dir, &h, &entry); h; next_entry(&h, &entry)) { in proc_sys_readdir()
945 static struct ctl_dir *find_subdir(struct ctl_dir *dir, in find_subdir()
956 return container_of(head, struct ctl_dir, header); in find_subdir()
959 static struct ctl_dir *new_dir(struct ctl_table_set *set, in new_dir()
963 struct ctl_dir *new; in new_dir()
996 static struct ctl_dir *get_subdir(struct ctl_dir *dir, in get_subdir()
1000 struct ctl_dir *subdir, *new = NULL; in get_subdir()
1046 static struct ctl_dir *xlate_dir(struct ctl_table_set *set, struct ctl_dir *dir) in xlate_dir()
1048 struct ctl_dir *parent; in xlate_dir()
1066 struct ctl_dir *dir; in sysctl_follow_link()
1165 static struct ctl_table_header *new_links(struct ctl_dir *dir, struct ctl_table_header *head) in new_links()
1210 static bool get_links(struct ctl_dir *dir, in get_links()
1246 struct ctl_dir *core_parent; in insert_links()
1285 static struct ctl_dir *sysctl_mkdir_p(struct ctl_dir *dir, const char *path) in sysctl_mkdir_p()
1368 struct ctl_dir *dir; in __register_sysctl_table()
1470 struct ctl_dir *parent = header->parent; in put_links()
1471 struct ctl_dir *core_parent; in put_links()
1502 struct ctl_dir *parent = header->parent; in drop_sysctl_table()