Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dlibbpf.c83 #define ERRNO_OFFSET(e) ((e) - __LIBBPF_ERRNO__START) macro
84 #define ERRCODE_OFFSET(c) ERRNO_OFFSET(LIBBPF_ERRNO__##c)
118 msg = libbpf_strerror_table[ERRNO_OFFSET(err)]; in libbpf_strerror()
/tools/perf/util/
Dbpf-loader.c1592 #define ERRNO_OFFSET(e) ((e) - __BPF_LOADER_ERRNO__START) macro
1593 #define ERRCODE_OFFSET(c) ERRNO_OFFSET(BPF_LOADER_ERRNO__##c)
1637 msg = bpf_loader_strerror_table[ERRNO_OFFSET(err)]; in bpf_loader_strerror()