Home
last modified time | relevance | path

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

/tools/lib/api/fs/
Dfs.c179 size_t name_len = strlen(fs->name); in fs__env_override() local
181 char upper_name[name_len + 5 + 1]; in fs__env_override()
183 memcpy(upper_name, fs->name, name_len); in fs__env_override()
184 mem_toupper(upper_name, name_len); in fs__env_override()
185 strcpy(&upper_name[name_len], "_PATH"); in fs__env_override()
223 size_t name_len = strlen(fs->name); in mount_overload() local
225 char upper_name[5 + name_len + 12 + 1]; in mount_overload()
227 snprintf(upper_name, name_len, "PERF_%s_ENVIRONMENT", fs->name); in mount_overload()
228 mem_toupper(upper_name, name_len); in mount_overload()
/tools/perf/util/
Dbuild-id.c175 static int write_buildid(const char *name, size_t name_len, u8 *build_id, in write_buildid() argument
182 len = name_len + 1; in write_buildid()
195 return write_padded(fd, name, name_len + 1, len); in write_buildid()
213 size_t name_len; in machine__write_buildid_table() local
220 name_len = pos->short_name_len + 1; in machine__write_buildid_table()
224 name_len = strlen(nm) + 1; in machine__write_buildid_table()
227 name_len = pos->long_name_len + 1; in machine__write_buildid_table()
230 err = write_buildid(name, name_len, pos->build_id, machine->pid, in machine__write_buildid_table()
/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h48 int name_len; member
Dsnb_idle.c174 intel_snb_monitor.name_len = strlen(intel_snb_monitor.name); in snb_register()
Dhsw_ext_idle.c169 intel_hsw_ext_monitor.name_len = strlen(intel_hsw_ext_monitor.name); in hsw_ext_register()
Dcpuidle_sysfs.c171 cpuidle_sysfs_monitor.name_len = strlen(cpuidle_sysfs_monitor.name); in cpuidle_register()
Dnhm_idle.c189 intel_nhm_monitor.name_len = strlen(intel_nhm_monitor.name); in intel_nhm_register()
Dmperf_monitor.c314 mperf_monitor.name_len = strlen(mperf_monitor.name); in mperf_register()
Damd_fam14h_idle.c310 amd_fam14h_monitor.name_len = strlen(amd_fam14h_monitor.name); in amd_fam14h_register()