Searched refs:env_var (Results 1 – 2 of 2) sorted by relevance
111 static int populate_ruleset_fs(const char *const env_var, const int ruleset_fd, in populate_ruleset_fs() argument121 env_path_name = getenv(env_var); in populate_ruleset_fs()124 fprintf(stderr, "Missing environment variable %s\n", env_var); in populate_ruleset_fs()128 unsetenv(env_var); in populate_ruleset_fs()175 static int populate_ruleset_net(const char *const env_var, const int ruleset_fd, in populate_ruleset_net() argument184 env_port_name = getenv(env_var); in populate_ruleset_net()188 unsetenv(env_var); in populate_ruleset_net()219 static bool check_ruleset_scope(const char *const env_var, in check_ruleset_scope() argument232 env_type_scope = getenv(env_var); in check_ruleset_scope()263 unsetenv(env_var); in check_ruleset_scope()
232 const char *env_var = "LIBBPF_LOG_LEVEL"; in __base_pr() local240 verbosity = getenv(env_var); in __base_pr()250 env_var, verbosity); in __base_pr()