Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/
H A Dintel_epb.c80 u64 epb; in intel_epb_save() local
82 rdmsrq(MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_epb_save()
87 this_cpu_write(saved_epb, (epb & EPB_MASK) | EPB_SAVED); in intel_epb_save()
95 u64 epb; in intel_epb_restore() local
97 rdmsrq(MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_epb_restore()
108 val = epb & EPB_MASK; in intel_epb_restore()
114 wrmsrq(MSR_IA32_ENERGY_PERF_BIAS, (epb & ~EPB_MASK) | val); in intel_epb_restore()
139 u64 epb; in energy_perf_bias_show() local
142 ret = rdmsrq_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in energy_perf_bias_show()
146 return sprintf(buf, "%llu\n", epb); in energy_perf_bias_show()
[all …]
/linux/include/linux/
H A Ddqblk_qtree.h49 unsigned int epb = info->dqi_usable_bs >> 2; in qtree_depth() local
50 unsigned long long entries = epb; in qtree_depth()
54 entries *= epb; in qtree_depth()
/linux/fs/quota/
H A Dquota_tree.c34 unsigned int epb = info->dqi_usable_bs >> 2; in __get_index() local
38 id /= epb; in __get_index()
39 return id % epb; in __get_index()
798 unsigned int epb = info->dqi_usable_bs >> 2; in find_next_id() local
806 level_inc *= epb; in find_next_id()
814 for (i = __get_index(info, *id, depth); i < epb; i++) { in find_next_id()
833 if (i == epb) { in find_next_id()
/linux/fs/ocfs2/
H A Dquota_local.c58 int epb = ol_quota_entries_per_block(sb); in ol_dqblk_block() local
60 return ol_quota_chunk_block(sb, c) + 1 + off / epb; in ol_dqblk_block()
65 int epb = ol_quota_entries_per_block(sb); in ol_dqblk_block_off() local
67 return (off % epb) * sizeof(struct ocfs2_local_disk_dqblk); in ol_dqblk_block_off()
85 int epb = ol_quota_entries_per_block(sb); in ol_dqblk_chunk_off() local
88 ol_quota_chunk_block(sb, c) - 1) * epb in ol_dqblk_chunk_off()
1101 int epb = ol_quota_entries_per_block(sb); in ocfs2_extend_local_quota_file() local
1197 *offset = chunk_blocks * epb; in ocfs2_extend_local_quota_file()
/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c907 int epb; in print_cpu_msrs() local
909 epb = get_epb_sysfs(cpu); in print_cpu_msrs()
910 if (epb >= 0) in print_cpu_msrs()
911 printf("cpu%d: EPB %u\n", cpu, (unsigned int) epb); in print_cpu_msrs()
1202 int epb; in update_cpu_epb_sysfs() local
1204 epb = get_epb_sysfs(cpu); in update_cpu_epb_sysfs()
1209 cpu, epb, (unsigned int) new_epb); in update_cpu_epb_sysfs()
/linux/fs/ext4/
H A Dindirect.c576 unsigned epb = inode->i_sb->s_blocksize / sizeof(u32); in ext4_ind_map_blocks() local
587 count = count * epb + (epb - offsets[i] - 1); in ext4_ind_map_blocks()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c4376 int ret, epb = -1; in get_epb() local
4385 ret = fscanf(fp, "%d", &epb); in get_epb()
4391 return epb; in get_epb()
7290 int cpu, epb; in print_epb() local
7309 epb = get_epb(cpu); in print_epb()
7310 if (epb < 0) in print_epb()
7313 switch (epb) { in print_epb()
7327 fprintf(outf, "cpu%d: EPB: %d (%s)\n", cpu, epb, epb_string); in print_epb()
/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv178 0x6, 0, ecx, 3, epb , IA32_ENERGY_PERF_BIAS MSR support