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[] = {
202 appldata_timer_handler(struct ctl_table *ctl, int write,
207 struct ctl_table ctl_entry = {
235 appldata_interval_handler(struct ctl_table *ctl, int write,
240 struct ctl_table ctl_entry = {
265 appldata_generic_handler(struct ctl_table *ctl, int write,
272 struct ctl_table ctl_entry = {
283 if (&tmp_ops->ctl_table[0] == ctl) {
353 ops->ctl_table = kcalloc(1, sizeof(struct ctl_table), GFP_KERNEL);
354 if (!ops->ctl_table)
361 ops->ctl_table[0].procname = ops->name;
362 ops->ctl_table[0].mode = S_IRUGO | S_IWUSR;
363 ops->ctl_table[0].proc_handler = appldata_generic_handler;
364 ops->ctl_table[0].data = ops;
366 ops->sysctl_header = register_sysctl_sz(appldata_proc_name, ops->ctl_table, 1);
374 kfree(ops->ctl_table);
389 kfree(ops->ctl_table);