Lines Matching refs:ctl_table
53 static int appldata_timer_handler(struct ctl_table *ctl, int write,
55 static int appldata_interval_handler(struct ctl_table *ctl, int write,
59 static struct ctl_table appldata_table[] = {
73 static struct ctl_table appldata_dir_table[] = {
218 appldata_timer_handler(struct ctl_table *ctl, int write,
223 struct ctl_table ctl_entry = {
251 appldata_interval_handler(struct ctl_table *ctl, int write,
256 struct ctl_table ctl_entry = {
281 appldata_generic_handler(struct ctl_table *ctl, int write,
288 struct ctl_table ctl_entry = {
299 if (&tmp_ops->ctl_table[2] == ctl) {
369 ops->ctl_table = kcalloc(4, sizeof(struct ctl_table), GFP_KERNEL);
370 if (!ops->ctl_table)
377 ops->ctl_table[0].procname = appldata_proc_name;
378 ops->ctl_table[0].maxlen = 0;
379 ops->ctl_table[0].mode = S_IRUGO | S_IXUGO;
380 ops->ctl_table[0].child = &ops->ctl_table[2];
382 ops->ctl_table[2].procname = ops->name;
383 ops->ctl_table[2].mode = S_IRUGO | S_IWUSR;
384 ops->ctl_table[2].proc_handler = appldata_generic_handler;
385 ops->ctl_table[2].data = ops;
387 ops->sysctl_header = register_sysctl_table(ops->ctl_table);
395 kfree(ops->ctl_table);
410 kfree(ops->ctl_table);