Lines Matching refs:ctl_table_header

45 struct ctl_table_header *register_sysctl_mount_point(const char *path)  in register_sysctl_mount_point()
89 static void drop_sysctl_table(struct ctl_table_header *header);
90 static int sysctl_follow_link(struct ctl_table_header **phead,
92 static int insert_links(struct ctl_table_header *head);
93 static void put_links(struct ctl_table_header *header);
113 static struct ctl_table *find_entry(struct ctl_table_header **phead, in find_entry()
116 struct ctl_table_header *head; in find_entry()
144 static int insert_entry(struct ctl_table_header *head, struct ctl_table *entry) in insert_entry()
153 struct ctl_table_header *parent_head; in insert_entry()
183 static void erase_entry(struct ctl_table_header *head, struct ctl_table *entry) in erase_entry()
190 static void init_header(struct ctl_table_header *head, in init_header()
216 static void erase_header(struct ctl_table_header *head) in erase_header()
224 static int insert_header(struct ctl_dir *dir, struct ctl_table_header *header) in insert_header()
227 struct ctl_table_header *dir_h = &dir->header; in insert_header()
265 static int use_table(struct ctl_table_header *p) in use_table()
274 static void unuse_table(struct ctl_table_header *p) in unuse_table()
281 static void proc_sys_invalidate_dcache(struct ctl_table_header *head) in proc_sys_invalidate_dcache()
287 static void start_unregistering(struct ctl_table_header *p) in start_unregistering()
317 static struct ctl_table_header *sysctl_head_grab(struct ctl_table_header *head) in sysctl_head_grab()
327 static void sysctl_head_finish(struct ctl_table_header *head) in sysctl_head_finish()
345 static struct ctl_table *lookup_entry(struct ctl_table_header **phead, in lookup_entry()
349 struct ctl_table_header *head; in lookup_entry()
375 struct ctl_table_header **phead, struct ctl_table **pentry) in first_entry()
377 struct ctl_table_header *head = NULL; in first_entry()
392 static void next_entry(struct ctl_table_header **phead, struct ctl_table **pentry) in next_entry()
394 struct ctl_table_header *head = *phead; in next_entry()
428 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) in sysctl_perm()
442 struct ctl_table_header *head, struct ctl_table *table) in proc_sys_make_inode()
492 void proc_sys_evict_inode(struct inode *inode, struct ctl_table_header *head) in proc_sys_evict_inode()
501 static struct ctl_table_header *grab_header(struct inode *inode) in grab_header()
503 struct ctl_table_header *head = PROC_I(inode)->sysctl; in grab_header()
512 struct ctl_table_header *head = grab_header(dir); in proc_sys_lookup()
513 struct ctl_table_header *h = NULL; in proc_sys_lookup()
557 struct ctl_table_header *head = grab_header(inode); in proc_sys_call_handler()
631 struct ctl_table_header *head = grab_header(inode); in proc_sys_open()
649 struct ctl_table_header *head = grab_header(inode); in proc_sys_poll()
680 struct ctl_table_header *head, in proc_sys_fill_cache()
729 struct ctl_table_header *head, in proc_sys_link_fill_cache()
748 static int scan(struct ctl_table_header *head, struct ctl_table *table, in scan()
770 struct ctl_table_header *head = grab_header(file_inode(file)); in proc_sys_readdir()
771 struct ctl_table_header *h = NULL; in proc_sys_readdir()
804 struct ctl_table_header *head; in proc_sys_permission()
848 struct ctl_table_header *head = grab_header(inode); in proc_sys_getattr()
903 static int sysctl_is_seen(struct ctl_table_header *p) in sysctl_is_seen()
921 struct ctl_table_header *head; in proc_sys_compare()
947 struct ctl_table_header *head; in find_subdir()
1058 static int sysctl_follow_link(struct ctl_table_header **phead, in sysctl_follow_link()
1061 struct ctl_table_header *head; in sysctl_follow_link()
1130 static int sysctl_check_table(const char *path, struct ctl_table_header *header) in sysctl_check_table()
1164 static struct ctl_table_header *new_links(struct ctl_dir *dir, struct ctl_table_header *head) in new_links()
1167 struct ctl_table_header *links; in new_links()
1179 links = kzalloc(sizeof(struct ctl_table_header) + in new_links()
1210 struct ctl_table_header *header, in get_links()
1213 struct ctl_table_header *tmp_head; in get_links()
1238 static int insert_links(struct ctl_table_header *head) in insert_links()
1242 struct ctl_table_header *links; in insert_links()
1357 struct ctl_table_header *__register_sysctl_table( in __register_sysctl_table()
1362 struct ctl_table_header *header; in __register_sysctl_table()
1366 header = kzalloc(sizeof(struct ctl_table_header) + in __register_sysctl_table()
1420 struct ctl_table_header *register_sysctl_sz(const char *path, struct ctl_table *table, in register_sysctl_sz()
1452 struct ctl_table_header *hdr = register_sysctl_sz(path, table, table_size); in __register_sysctl_init()
1461 static void put_links(struct ctl_table_header *header) in put_links()
1477 struct ctl_table_header *link_head; in put_links()
1495 static void drop_sysctl_table(struct ctl_table_header *header) in drop_sysctl_table()
1521 void unregister_sysctl_table(struct ctl_table_header * header) in unregister_sysctl_table()