Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
DKernelUtils.h71 static constexpr bool isUserspace64bit() { in isUserspace64bit() function
76 static_assert(isUserspace64bit(), "huh? LP64 must have 64-bit userspace");
83 static_assert(isUserspace32bit() || isUserspace64bit(), "must be either 32 or 64 bit");
88 if (isUserspace64bit()) return true; in isKernel64Bit()
142 static_assert(isUserspace64bit(), "aarch64 must be LP64 - no support for ILP32"); in isArm()
154 static_assert(isUserspace64bit(), "x86_64 must be LP64 - no support for ILP32 (x32)"); in isX86()
163 static_assert(isUserspace64bit(), "riscv must be 64 bit"); in isRiscV()
175 if (isUserspace64bit()) { in describeArch()