Home
last modified time | relevance | path

Searched refs:upper_name (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/tools/lib/api/fs/
Dfs.c212 char upper_name[name_len + 5 + 1]; in fs__env_override() local
213 memcpy(upper_name, fs->name, name_len); in fs__env_override()
214 mem_toupper(upper_name, name_len); in fs__env_override()
215 strcpy(&upper_name[name_len], "_PATH"); in fs__env_override()
217 override_path = getenv(upper_name); in fs__env_override()
254 char upper_name[5 + name_len + 12 + 1]; in mount_overload() local
256 snprintf(upper_name, name_len, "PERF_%s_ENVIRONMENT", fs->name); in mount_overload()
257 mem_toupper(upper_name, name_len); in mount_overload()
259 return getenv(upper_name) ?: *fs->mounts; in mount_overload()