Searched refs:token_path (Results 1 – 1 of 1) sorted by relevance
743 char *token_path; member4986 if (obj->token_path && obj->token_path[0] == '\0') { in bpf_object_prepare_token()4991 mandatory = obj->token_path != NULL; in bpf_object_prepare_token()4994 bpffs_path = obj->token_path ?: BPF_FS_DEFAULT_PATH; in bpf_object_prepare_token()7989 const char *kconfig, *btf_tmp_path, *token_path; in bpf_object_open() local8024 token_path = OPTS_GET(opts, bpf_token_path, NULL); in bpf_object_open()8029 if (!token_path) in bpf_object_open()8030 token_path = getenv("LIBBPF_BPF_TOKEN_PATH"); in bpf_object_open()8031 if (token_path && strlen(token_path) >= PATH_MAX) in bpf_object_open()8042 if (token_path) { in bpf_object_open()[all …]