Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dlibbpf_errno.c16 #define ERRNO_OFFSET(e) ((e) - __LIBBPF_ERRNO__START) macro
17 #define ERRCODE_OFFSET(c) ERRNO_OFFSET(LIBBPF_ERRNO__##c)
54 msg = libbpf_strerror_table[ERRNO_OFFSET(err)]; in libbpf_strerror()
/tools/perf/util/
Dbpf-loader.c1612 #define ERRNO_OFFSET(e) ((e) - __BPF_LOADER_ERRNO__START) macro
1613 #define ERRCODE_OFFSET(c) ERRNO_OFFSET(BPF_LOADER_ERRNO__##c)
1657 msg = bpf_loader_strerror_table[ERRNO_OFFSET(err)]; in bpf_loader_strerror()