Searched refs:name_len (Results 1 – 9 of 9) sorted by relevance
/tools/lib/api/fs/ |
D | fs.c | 179 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/ |
D | build-id.c | 175 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/ |
D | cpupower-monitor.h | 48 int name_len; member
|
D | snb_idle.c | 174 intel_snb_monitor.name_len = strlen(intel_snb_monitor.name); in snb_register()
|
D | hsw_ext_idle.c | 169 intel_hsw_ext_monitor.name_len = strlen(intel_hsw_ext_monitor.name); in hsw_ext_register()
|
D | cpuidle_sysfs.c | 171 cpuidle_sysfs_monitor.name_len = strlen(cpuidle_sysfs_monitor.name); in cpuidle_register()
|
D | nhm_idle.c | 189 intel_nhm_monitor.name_len = strlen(intel_nhm_monitor.name); in intel_nhm_register()
|
D | mperf_monitor.c | 314 mperf_monitor.name_len = strlen(mperf_monitor.name); in mperf_register()
|
D | amd_fam14h_idle.c | 310 amd_fam14h_monitor.name_len = strlen(amd_fam14h_monitor.name); in amd_fam14h_register()
|