Searched refs:bpf_get_work_dir (Results 1 – 1 of 1) sorted by relevance
/external/iproute2/lib/ |
D | bpf.c | 725 static const char *bpf_get_work_dir(enum bpf_prog_type type) in bpf_get_work_dir() function 787 pathname[1] == ':' && bpf_get_work_dir(type)) { in bpf_obj_get() 789 bpf_get_work_dir(type), pathname + 2); in bpf_obj_get() 1311 if (!bpf_get_work_dir(BPF_PROG_TYPE_UNSPEC)) { in bpf_init_env() 1354 bpf_get_work_dir(ctx->type), in bpf_make_pathname() 1359 bpf_get_work_dir(ctx->type), in bpf_make_pathname() 1364 bpf_get_work_dir(ctx->type), in bpf_make_pathname() 1375 if (bpf_no_pinning(ctx, pinning) || !bpf_get_work_dir(ctx->type)) in bpf_probe_pinned() 1387 snprintf(tmp, sizeof(tmp), "%s/%s", bpf_get_work_dir(ctx->type), in bpf_make_obj_path() 1405 snprintf(tmp, sizeof(tmp), "%s/../", bpf_get_work_dir(ctx->type)); in bpf_make_custom_path() [all …]
|