Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
1234567891011121314151617181920/* SPDX-License-Identifier: GPL-2.0-or-later *//* * Subset of bpf.h declarations, split out so files that need only these * declarations can avoid bpf.h's full include cost. */#ifndef _LINUX_BPF_DEFS_H#define _LINUX_BPF_DEFS_H
#ifdef CONFIG_BPF_SYSCALLbool bpf_arena_handle_page_fault(unsigned long addr, bool is_write, unsigned long fault_ip);#elsestatic inline bool bpf_arena_handle_page_fault(unsigned long addr, bool is_write, unsigned long fault_ip){ return false;}#endif
#endif /* _LINUX_BPF_DEFS_H */