Searched refs:actual_size (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | ptrace.c | 996 unsigned long actual_size = offsetof(struct ptrace_syscall_info, entry); in ptrace_get_syscall_info() local 1009 actual_size = ptrace_get_syscall_info_entry(child, regs, in ptrace_get_syscall_info() 1013 actual_size = ptrace_get_syscall_info_exit(child, regs, in ptrace_get_syscall_info() 1019 actual_size = ptrace_get_syscall_info_seccomp(child, regs, in ptrace_get_syscall_info() 1024 write_size = min(actual_size, user_size); in ptrace_get_syscall_info() 1025 return copy_to_user(datavp, &info, write_size) ? -EFAULT : actual_size; in ptrace_get_syscall_info()
|
/kernel/bpf/ |
D | syscall.c | 80 size_t actual_size) in bpf_check_uarg_tail_zero() argument 85 if (unlikely(actual_size > PAGE_SIZE)) /* silly large */ in bpf_check_uarg_tail_zero() 88 if (actual_size <= expected_size) in bpf_check_uarg_tail_zero() 91 res = check_zeroed_user(addr, actual_size - expected_size); in bpf_check_uarg_tail_zero()
|