Lines Matching refs:ctl_table
49 static int appldata_timer_handler(struct ctl_table *ctl, int write,
51 static int appldata_interval_handler(struct ctl_table *ctl, int write,
55 static struct ctl_table appldata_table[] = {
203 appldata_timer_handler(struct ctl_table *ctl, int write,
208 struct ctl_table ctl_entry = {
236 appldata_interval_handler(struct ctl_table *ctl, int write,
241 struct ctl_table ctl_entry = {
266 appldata_generic_handler(struct ctl_table *ctl, int write,
273 struct ctl_table ctl_entry = {
284 if (&tmp_ops->ctl_table[0] == ctl) {
355 ops->ctl_table = kcalloc(2, sizeof(struct ctl_table), GFP_KERNEL);
356 if (!ops->ctl_table)
363 ops->ctl_table[0].procname = ops->name;
364 ops->ctl_table[0].mode = S_IRUGO | S_IWUSR;
365 ops->ctl_table[0].proc_handler = appldata_generic_handler;
366 ops->ctl_table[0].data = ops;
368 ops->sysctl_header = register_sysctl_sz(appldata_proc_name, ops->ctl_table, 1);
376 kfree(ops->ctl_table);
391 kfree(ops->ctl_table);