Home
last modified time | relevance | path

Searched refs:usize (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dfork.c2692 size_t usize) in copy_clone_args_from_user() argument
2706 if (unlikely(usize > PAGE_SIZE)) in copy_clone_args_from_user()
2708 if (unlikely(usize < CLONE_ARGS_SIZE_VER0)) in copy_clone_args_from_user()
2711 err = copy_struct_from_user(&args, sizeof(args), uargs, usize); in copy_clone_args_from_user()
2733 (args.cgroup > INT_MAX || usize < CLONE_ARGS_SIZE_VER2)) in copy_clone_args_from_user()
/kernel/sched/
Dcore.c6091 unsigned int usize) in sched_attr_copy_to_user() argument
6095 if (!access_ok(uattr, usize)) in sched_attr_copy_to_user()
6111 kattr->size = min(usize, ksize); in sched_attr_copy_to_user()
6127 unsigned int, usize, unsigned int, flags) in SYSCALL_DEFINE4() argument
6133 if (!uattr || pid < 0 || usize > PAGE_SIZE || in SYSCALL_DEFINE4()
6134 usize < SCHED_ATTR_SIZE_VER0 || flags) in SYSCALL_DEFINE4()
6165 return sched_attr_copy_to_user(uattr, &kattr, usize); in SYSCALL_DEFINE4()