aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index c1e0cf408af9..956264d09ba0 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -957,6 +957,11 @@ extern void setup_sysctl_set(struct ctl_table_set *p,
957 struct ctl_table_set *parent, 957 struct ctl_table_set *parent,
958 int (*is_seen)(struct ctl_table_set *)); 958 int (*is_seen)(struct ctl_table_set *));
959 959
960struct ctl_table_header;
961
962extern void sysctl_head_get(struct ctl_table_header *);
963extern void sysctl_head_put(struct ctl_table_header *);
964extern struct ctl_table_header *sysctl_head_grab(struct ctl_table_header *);
960extern struct ctl_table_header *sysctl_head_next(struct ctl_table_header *prev); 965extern struct ctl_table_header *sysctl_head_next(struct ctl_table_header *prev);
961extern struct ctl_table_header *__sysctl_head_next(struct nsproxy *namespaces, 966extern struct ctl_table_header *__sysctl_head_next(struct nsproxy *namespaces,
962 struct ctl_table_header *prev); 967 struct ctl_table_header *prev);
@@ -1073,6 +1078,7 @@ struct ctl_table_header
1073 struct ctl_table *ctl_table; 1078 struct ctl_table *ctl_table;
1074 struct list_head ctl_entry; 1079 struct list_head ctl_entry;
1075 int used; 1080 int used;
1081 int count;
1076 struct completion *unregistering; 1082 struct completion *unregistering;
1077 struct ctl_table *ctl_table_arg; 1083 struct ctl_table *ctl_table_arg;
1078 struct ctl_table_root *root; 1084 struct ctl_table_root *root;