Home
last modified time | relevance | path

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

/kernel/
Dfork.c2937 size_t usize) in copy_clone_args_from_user() argument
2951 if (unlikely(usize > PAGE_SIZE)) in copy_clone_args_from_user()
2953 if (unlikely(usize < CLONE_ARGS_SIZE_VER0)) in copy_clone_args_from_user()
2956 err = copy_struct_from_user(&args, sizeof(args), uargs, usize); in copy_clone_args_from_user()
2978 (args.cgroup > INT_MAX || usize < CLONE_ARGS_SIZE_VER2)) in copy_clone_args_from_user()
/kernel/sched/
Dcore.c8230 unsigned int usize) in sched_attr_copy_to_user() argument
8234 if (!access_ok(uattr, usize)) in sched_attr_copy_to_user()
8250 kattr->size = min(usize, ksize); in sched_attr_copy_to_user()
8266 unsigned int, usize, unsigned int, flags) in SYSCALL_DEFINE4() argument
8272 if (!uattr || pid < 0 || usize > PAGE_SIZE || in SYSCALL_DEFINE4()
8273 usize < SCHED_ATTR_SIZE_VER0 || flags) in SYSCALL_DEFINE4()
8304 return sched_attr_copy_to_user(uattr, &kattr, usize); in SYSCALL_DEFINE4()