Home
last modified time | relevance | path

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

/Linux-v5.10/tools/lib/api/fs/
Dfs.c220 char upper_name[name_len + 5 + 1]; in fs__env_override() local
222 memcpy(upper_name, fs->name, name_len); in fs__env_override()
223 mem_toupper(upper_name, name_len); in fs__env_override()
224 strcpy(&upper_name[name_len], "_PATH"); in fs__env_override()
226 override_path = getenv(upper_name); in fs__env_override()
273 char upper_name[5 + name_len + 12 + 1]; in mount_overload() local
275 snprintf(upper_name, name_len, "PERF_%s_ENVIRONMENT", fs->name); in mount_overload()
276 mem_toupper(upper_name, name_len); in mount_overload()
278 return getenv(upper_name) ?: *fs->mounts; in mount_overload()