Searched refs:token_path (Results 1 – 1 of 1) sorted by relevance
732 char *token_path; member4930 if (obj->token_path && obj->token_path[0] == '\0') { in bpf_object_prepare_token()4935 mandatory = obj->token_path != NULL; in bpf_object_prepare_token()7911 const char *kconfig, *btf_tmp_path, *token_path; in bpf_object_open() local7951 if (!token_path) in bpf_object_open()7952 token_path = getenv("LIBBPF_BPF_TOKEN_PATH"); in bpf_object_open()7953 if (token_path && strlen(token_path) >= PATH_MAX) in bpf_object_open()7964 if (token_path) { in bpf_object_open()7965 obj->token_path = strdup(token_path); in bpf_object_open()7966 if (!obj->token_path) { in bpf_object_open()[all …]