Searched refs:kargs (Results 1 – 3 of 3) sorted by relevance
2935 noinline static int copy_clone_args_from_user(struct kernel_clone_args *kargs, in copy_clone_args_from_user() argument2941 pid_t *kset_tid = kargs->set_tid; in copy_clone_args_from_user()2981 *kargs = (struct kernel_clone_args){ in copy_clone_args_from_user()2996 (kargs->set_tid_size * sizeof(pid_t)))) in copy_clone_args_from_user()2999 kargs->set_tid = kset_tid; in copy_clone_args_from_user()3012 static inline bool clone3_stack_valid(struct kernel_clone_args *kargs) in clone3_stack_valid() argument3014 if (kargs->stack == 0) { in clone3_stack_valid()3015 if (kargs->stack_size > 0) in clone3_stack_valid()3018 if (kargs->stack_size == 0) in clone3_stack_valid()3021 if (!access_ok((void __user *)kargs->stack, kargs->stack_size)) in clone3_stack_valid()[all …]
6408 static int cgroup_css_set_fork(struct kernel_clone_args *kargs) in cgroup_css_set_fork() argument6417 if (kargs->flags & CLONE_INTO_CGROUP) in cgroup_css_set_fork()6427 if (!(kargs->flags & CLONE_INTO_CGROUP)) { in cgroup_css_set_fork()6428 kargs->cset = cset; in cgroup_css_set_fork()6432 f = fget_raw(kargs->cgroup); in cgroup_css_set_fork()6475 !(kargs->flags & CLONE_THREAD), in cgroup_css_set_fork()6480 kargs->cset = find_css_set(cset, dst_cgrp); in cgroup_css_set_fork()6481 if (!kargs->cset) { in cgroup_css_set_fork()6488 kargs->cgrp = dst_cgrp; in cgroup_css_set_fork()6499 if (kargs->cset) in cgroup_css_set_fork()[all …]
4812 void sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs) in sched_cgroup_fork() argument4824 tg = container_of(kargs->cset->subsys[cpu_cgrp_id], in sched_cgroup_fork()