Lines Matching +defs:func +defs:write
2023 static int sysctl_sched_uclamp_handler(const struct ctl_table *table, int write,
2036 result = proc_dointvec(table, write, buffer, lenp, ppos);
2039 if (!write)
4482 * @func: Function to invoke.
4486 * and call @func(@arg) on it. This function can use task_is_runnable() and
4487 * task_curr() to work out what the state is, if required. Given that @func
4492 * Whatever @func returns
4494 int task_call_func(struct task_struct *p, task_call_f func, void *arg)
4511 * The called function (@func) can use: task_curr(), p->on_rq and
4514 ret = func(p, arg);
4518 ret = func(p, arg);
4676 static int sysctl_numa_balancing(const struct ctl_table *table, int write,
4683 if (write && !capable(CAP_SYS_ADMIN))
4688 err = proc_dointvec_minmax(&t, write, buffer, lenp, ppos);
4691 if (write) {
4745 static int sysctl_schedstats(const struct ctl_table *table, int write, void *buffer,
4752 if (write && !capable(CAP_SYS_ADMIN))
4757 err = proc_dointvec_minmax(&t, write, buffer, lenp, ppos);
4760 if (write)
5146 void (*func)(struct rq *rq);
5152 func = (void (*)(struct rq *))head->func;
5157 func(rq);
5176 .func = balance_push,
10346 .write = cpu_uclamp_min_write,
10352 .write = cpu_uclamp_max_write,
10597 .write = cpu_max_write,
10611 .write = cpu_uclamp_min_write,
10617 .write = cpu_uclamp_max_write,