Lines Matching refs:ctl_table

23 	entry = header->ctl_table;			\
33 static struct ctl_table sysctl_mount_point[] = {
54 (sysctl_is_perm_empty_ctl_table(hptr->ctl_table))
56 (hptr->ctl_table[0].type = SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY)
58 (hptr->ctl_table[0].type = SYSCTL_TABLE_TYPE_DEFAULT)
69 static struct ctl_table root_table[] = {
79 .ctl_table = root_table }},
90 struct ctl_table **pentry);
98 pr_cont("%s/", dir->header.ctl_table[0].procname);
112 static struct ctl_table *find_entry(struct ctl_table_header **phead,
116 struct ctl_table *entry;
127 entry = &head->ctl_table[ctl_node - head->node];
143 static int insert_entry(struct ctl_table_header *head, struct ctl_table *entry)
145 struct rb_node *node = &head->node[entry - head->ctl_table].node;
153 struct ctl_table *parent_entry;
161 parent_entry = &parent_head->ctl_table[parent_node - parent_head->node];
182 static void erase_entry(struct ctl_table_header *head, struct ctl_table *entry)
184 struct rb_node *node = &head->node[entry - head->ctl_table].node;
191 struct ctl_node *node, struct ctl_table *table, size_t table_size)
193 head->ctl_table = table;
206 struct ctl_table *entry;
217 struct ctl_table *entry;
225 struct ctl_table *entry;
236 sysctl_is_perm_empty_ctl_table(header->ctl_table)) {
257 if (header->ctl_table == sysctl_mount_point)
345 static struct ctl_table *lookup_entry(struct ctl_table_header **phead,
350 struct ctl_table *entry;
375 struct ctl_table_header **phead, struct ctl_table **pentry)
378 struct ctl_table *entry = NULL;
386 entry = &head->ctl_table[ctl_node - head->node];
392 static void next_entry(struct ctl_table_header **phead, struct ctl_table **pentry)
395 struct ctl_table *entry = *pentry;
396 struct ctl_node *ctl_node = &head->node[entry - head->ctl_table];
406 entry = &head->ctl_table[ctl_node - head->node];
428 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op)
442 struct ctl_table_header *head, struct ctl_table *table)
515 struct ctl_table *p;
553 struct ctl_table *table = PROC_I(inode)->sysctl_entry;
627 struct ctl_table *table = PROC_I(inode)->sysctl_entry;
645 struct ctl_table *table = PROC_I(inode)->sysctl_entry;
676 struct ctl_table *table)
720 struct ctl_table *table)
738 static int scan(struct ctl_table_header *head, struct ctl_table *table,
762 struct ctl_table *entry;
795 struct ctl_table *table;
839 struct ctl_table *table = PROC_I(inode)->sysctl_entry;
938 struct ctl_table *entry;
951 struct ctl_table *table;
957 sizeof(struct ctl_table)*2 + namelen + 1,
963 table = (struct ctl_table *)(node + 1);
1044 procname = dir->header.ctl_table[0].procname;
1049 struct ctl_table **pentry)
1054 struct ctl_table *entry;
1081 static int sysctl_err(const char *path, struct ctl_table *table, char *fmt, ...)
1097 static int sysctl_check_table_array(const char *path, struct ctl_table *table)
1122 struct ctl_table *entry;
1156 struct ctl_table *link_table, *entry, *link;
1171 sizeof(struct ctl_table)*(nr_entries + 1) +
1179 link_table = (struct ctl_table *)(node + nr_entries);
1204 struct ctl_table *entry, *link;
1207 sysctl_is_perm_empty_ctl_table(header->ctl_table))
1273 /* Find the directory for the ctl_table. If one is not found create it. */
1312 * Register a sysctl table hierarchy. @table should be a filled in ctl_table
1315 * The members of the &struct ctl_table structure are used as follows:
1353 const char *path, struct ctl_table *table, size_t table_size)
1409 * Register a sysctl table. @table should be a filled in ctl_table
1414 struct ctl_table_header *register_sysctl_sz(const char *path, struct ctl_table *table,
1443 void __init __register_sysctl_init(const char *path, struct ctl_table *table,
1461 struct ctl_table *entry;
1472 struct ctl_table *link;