Home
last modified time | relevance | path

Searched refs:kargs (Results 1 – 5 of 5) sorted by relevance

/linux/kernel/
H A Dfork.c2953 noinline static int copy_clone_args_from_user(struct kernel_clone_args *kargs, in copy_clone_args_from_user() argument
2959 pid_t *kset_tid = kargs->set_tid; in copy_clone_args_from_user()
2999 *kargs = (struct kernel_clone_args){ in copy_clone_args_from_user()
3014 (kargs->set_tid_size * sizeof(pid_t)))) in copy_clone_args_from_user()
3017 kargs->set_tid = kset_tid; in copy_clone_args_from_user()
3030 static inline bool clone3_stack_valid(struct kernel_clone_args *kargs) in clone3_stack_valid() argument
3032 if (kargs->stack == 0) { in clone3_stack_valid()
3033 if (kargs->stack_size > 0) in clone3_stack_valid()
3036 if (kargs->stack_size == 0) in clone3_stack_valid()
3039 if (!access_ok((void __user *)kargs->stack, kargs->stack_size)) in clone3_stack_valid()
[all …]
/linux/include/linux/
H A Dcgroup.h126 struct kernel_clone_args *kargs);
128 struct kernel_clone_args *kargs);
130 struct kernel_clone_args *kargs);
652 struct kernel_clone_args *kargs) { return 0; } in cgroup_can_fork() argument
654 struct kernel_clone_args *kargs) {} in cgroup_cancel_fork() argument
656 struct kernel_clone_args *kargs) {} in cgroup_post_fork() argument
/linux/include/linux/sched/
H A Dtask.h66 extern int sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs);
97 extern pid_t kernel_clone(struct kernel_clone_args *kargs);
/linux/kernel/cgroup/
H A Dcgroup.c6475 static int cgroup_css_set_fork(struct kernel_clone_args *kargs) in cgroup_css_set_fork() argument
6483 if (kargs->flags & CLONE_INTO_CGROUP) in cgroup_css_set_fork()
6493 if (!(kargs->flags & CLONE_INTO_CGROUP)) { in cgroup_css_set_fork()
6494 kargs->cset = cset; in cgroup_css_set_fork()
6498 CLASS(fd_raw, f)(kargs->cgroup); in cgroup_css_set_fork()
6541 !(kargs->flags & CLONE_THREAD), in cgroup_css_set_fork()
6546 kargs->cset = find_css_set(cset, dst_cgrp); in cgroup_css_set_fork()
6547 if (!kargs->cset) { in cgroup_css_set_fork()
6553 kargs->cgrp = dst_cgrp; in cgroup_css_set_fork()
6562 if (kargs->cset) in cgroup_css_set_fork()
[all …]
/linux/kernel/sched/
H A Dcore.c4780 int sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs) in sched_cgroup_fork() argument
4792 tg = container_of(kargs->cset->subsys[cpu_cgrp_id], in sched_cgroup_fork()