Searched refs:isAtLeastKernelVersion (Results 1 – 3 of 3) sorted by relevance
/system/bpf/libbpf_android/include/bpf/ |
D | BpfUtils.h | 44 static inline bool isAtLeastKernelVersion(unsigned major, unsigned minor, unsigned sub) { in isAtLeastKernelVersion() function 50 if (android::bpf::isAtLeastKernelVersion(4, 9, 0)) { \ 58 if (!android::bpf::isAtLeastKernelVersion(4, 9, 0)) { \ 66 if (!android::bpf::isAtLeastKernelVersion(4, 14, 0)) { \ 75 if (!android::bpf::isAtLeastKernelVersion(5, 9, 0)) { \
|
/system/netd/server/ |
D | OffloadUtilsTest.cpp | 165 const int errNOENT = android::bpf::isAtLeastKernelVersion(4, 19, 0) ? ENOENT : EINVAL; in checkAttachDetachBpfFilterClsactLo()
|
/system/bpf/libbpf_android/ |
D | Loader.cpp | 551 if (type == BPF_MAP_TYPE_DEVMAP && !isAtLeastKernelVersion(4, 14, 0)) { in createMaps() 561 if (type == BPF_MAP_TYPE_DEVMAP_HASH && !isAtLeastKernelVersion(5, 4, 0)) { in createMaps()
|