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, in appldata_timer_handler()
208 struct ctl_table ctl_entry = { in appldata_timer_handler()
236 appldata_interval_handler(struct ctl_table *ctl, int write, in appldata_interval_handler()
241 struct ctl_table ctl_entry = { in appldata_interval_handler()
266 appldata_generic_handler(struct ctl_table *ctl, int write, in appldata_generic_handler()
273 struct ctl_table ctl_entry = { in appldata_generic_handler()
284 if (&tmp_ops->ctl_table[0] == ctl) { in appldata_generic_handler()
355 ops->ctl_table = kcalloc(2, sizeof(struct ctl_table), GFP_KERNEL); in appldata_register_ops()
356 if (!ops->ctl_table) in appldata_register_ops()
363 ops->ctl_table[0].procname = ops->name; in appldata_register_ops()
364 ops->ctl_table[0].mode = S_IRUGO | S_IWUSR; in appldata_register_ops()
365 ops->ctl_table[0].proc_handler = appldata_generic_handler; in appldata_register_ops()
366 ops->ctl_table[0].data = ops; in appldata_register_ops()
368 ops->sysctl_header = register_sysctl_sz(appldata_proc_name, ops->ctl_table, 1); in appldata_register_ops()
376 kfree(ops->ctl_table); in appldata_register_ops()
391 kfree(ops->ctl_table); in appldata_unregister_ops()