Lines Matching refs:ctl_table

23 	entry = header->ctl_table;			\
36 static struct ctl_table sysctl_mount_point[] = {
70 static struct ctl_table root_table[] = {
80 .ctl_table = root_table }},
91 struct ctl_table **pentry);
99 pr_cont("%s/", dir->header.ctl_table[0].procname); in sysctl_print_dir()
113 static struct ctl_table *find_entry(struct ctl_table_header **phead, in find_entry()
117 struct ctl_table *entry; in find_entry()
128 entry = &head->ctl_table[ctl_node - head->node]; in find_entry()
144 static int insert_entry(struct ctl_table_header *head, struct ctl_table *entry) in insert_entry()
146 struct rb_node *node = &head->node[entry - head->ctl_table].node; in insert_entry()
154 struct ctl_table *parent_entry; in insert_entry()
162 parent_entry = &parent_head->ctl_table[parent_node - parent_head->node]; in insert_entry()
183 static void erase_entry(struct ctl_table_header *head, struct ctl_table *entry) in erase_entry()
185 struct rb_node *node = &head->node[entry - head->ctl_table].node; in erase_entry()
192 struct ctl_node *node, struct ctl_table *table, size_t table_size) in init_header()
194 head->ctl_table = table; in init_header()
207 struct ctl_table *entry; in init_header()
220 struct ctl_table *entry; in erase_header()
228 struct ctl_table *entry; in insert_header()
259 if (header->ctl_table == sysctl_mount_point) in insert_header()
347 static struct ctl_table *lookup_entry(struct ctl_table_header **phead, in lookup_entry()
352 struct ctl_table *entry; in lookup_entry()
377 struct ctl_table_header **phead, struct ctl_table **pentry) in first_entry()
380 struct ctl_table *entry = NULL; in first_entry()
388 entry = &head->ctl_table[ctl_node - head->node]; in first_entry()
394 static void next_entry(struct ctl_table_header **phead, struct ctl_table **pentry) in next_entry()
397 struct ctl_table *entry = *pentry; in next_entry()
398 struct ctl_node *ctl_node = &head->node[entry - head->ctl_table]; in next_entry()
408 entry = &head->ctl_table[ctl_node - head->node]; in next_entry()
430 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) in sysctl_perm()
444 struct ctl_table_header *head, struct ctl_table *table) in proc_sys_make_inode()
515 struct ctl_table *p; in proc_sys_lookup()
553 struct ctl_table *table = PROC_I(inode)->sysctl_entry; in proc_sys_call_handler()
627 struct ctl_table *table = PROC_I(inode)->sysctl_entry; in proc_sys_open()
645 struct ctl_table *table = PROC_I(inode)->sysctl_entry; in proc_sys_poll()
676 struct ctl_table *table) in proc_sys_fill_cache()
720 struct ctl_table *table) in proc_sys_link_fill_cache()
738 static int scan(struct ctl_table_header *head, struct ctl_table *table, in scan()
762 struct ctl_table *entry; in proc_sys_readdir()
795 struct ctl_table *table; in proc_sys_permission()
839 struct ctl_table *table = PROC_I(inode)->sysctl_entry; in proc_sys_getattr()
938 struct ctl_table *entry; in find_subdir()
951 struct ctl_table *table; in new_dir()
957 sizeof(struct ctl_table) + namelen + 1, in new_dir()
963 table = (struct ctl_table *)(node + 1); in new_dir()
1044 procname = dir->header.ctl_table[0].procname; in xlate_dir()
1049 struct ctl_table **pentry) in sysctl_follow_link()
1054 struct ctl_table *entry; in sysctl_follow_link()
1081 static int sysctl_err(const char *path, struct ctl_table *table, char *fmt, ...) in sysctl_err()
1097 static int sysctl_check_table_array(const char *path, struct ctl_table *table) in sysctl_check_table_array()
1136 struct ctl_table *entry; in sysctl_check_table()
1172 struct ctl_table *link_table, *entry, *link; in new_links()
1185 sizeof(struct ctl_table)*head->ctl_table_size + in new_links()
1193 link_table = (struct ctl_table *)(node + head->ctl_table_size); in new_links()
1218 struct ctl_table *entry, *link; in get_links()
1361 const char *path, struct ctl_table *table, size_t table_size) in __register_sysctl_table()
1422 struct ctl_table_header *register_sysctl_sz(const char *path, struct ctl_table *table, in register_sysctl_sz()
1451 void __init __register_sysctl_init(const char *path, struct ctl_table *table, in __register_sysctl_init()
1469 struct ctl_table *entry; in put_links()
1480 struct ctl_table *link; in put_links()