Searched refs:actual_size (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | ptrace.c | 997 unsigned long actual_size = offsetof(struct ptrace_syscall_info, entry); in ptrace_get_syscall_info() local 1010 actual_size = ptrace_get_syscall_info_entry(child, regs, in ptrace_get_syscall_info() 1014 actual_size = ptrace_get_syscall_info_exit(child, regs, in ptrace_get_syscall_info() 1020 actual_size = ptrace_get_syscall_info_seccomp(child, regs, in ptrace_get_syscall_info() 1025 write_size = min(actual_size, user_size); in ptrace_get_syscall_info() 1026 return copy_to_user(datavp, &info, write_size) ? -EFAULT : actual_size; in ptrace_get_syscall_info()
|
/kernel/bpf/ |
D | syscall.c | 84 size_t actual_size) in bpf_check_uarg_tail_zero() argument 88 if (unlikely(actual_size > PAGE_SIZE)) /* silly large */ in bpf_check_uarg_tail_zero() 91 if (actual_size <= expected_size) in bpf_check_uarg_tail_zero() 96 actual_size - expected_size) == NULL; in bpf_check_uarg_tail_zero() 99 actual_size - expected_size); in bpf_check_uarg_tail_zero()
|