Searched refs:bpf_get_tc_dir (Results 1 – 1 of 1) sorted by relevance
/external/iproute2/tc/ |
D | tc_bpf.c | 381 static const char *bpf_get_tc_dir(void) in bpf_get_tc_dir() function 442 pathname[1] == ':' && bpf_get_tc_dir()) { in bpf_obj_get() 444 bpf_get_tc_dir(), pathname + 2); in bpf_obj_get() 897 if (!bpf_get_tc_dir()) { in bpf_init_env() 940 snprintf(pathname, len, "%s/%s/%s", bpf_get_tc_dir(), in bpf_make_pathname() 944 snprintf(pathname, len, "%s/%s/%s", bpf_get_tc_dir(), in bpf_make_pathname() 948 snprintf(pathname, len, "%s/../%s/%s", bpf_get_tc_dir(), in bpf_make_pathname() 959 if (bpf_no_pinning(ctx, pinning) || !bpf_get_tc_dir()) in bpf_probe_pinned() 971 snprintf(tmp, sizeof(tmp), "%s/%s", bpf_get_tc_dir(), in bpf_make_obj_path() 988 snprintf(tmp, sizeof(tmp), "%s/../", bpf_get_tc_dir()); in bpf_make_custom_path() [all …]
|