Lines Matching defs:token_path
742 char *token_path;
5021 if (obj->token_path && obj->token_path[0] == '\0') {
5026 mandatory = obj->token_path != NULL;
5029 bpffs_path = obj->token_path ?: BPF_FS_DEFAULT_PATH;
8042 const char *kconfig, *btf_tmp_path, *token_path;
8077 token_path = OPTS_GET(opts, bpf_token_path, NULL);
8082 if (!token_path)
8083 token_path = getenv("LIBBPF_BPF_TOKEN_PATH");
8084 if (token_path && strlen(token_path) >= PATH_MAX)
8095 if (token_path) {
8096 obj->token_path = strdup(token_path);
8097 if (!obj->token_path) {
9225 zfree(&obj->token_path);