Home
last modified time | relevance | path

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

/linux-5.19.10/arch/x86/kernel/cpu/
Dintel_epb.c80 u64 epb; in intel_epb_save() local
82 rdmsrl(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 rdmsrl(MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_epb_restore()
108 val = epb & EPB_MASK; in intel_epb_restore()
114 wrmsrl(MSR_IA32_ENERGY_PERF_BIAS, (epb & ~EPB_MASK) | val); in intel_epb_restore()
135 u64 epb; in energy_perf_bias_show() local
138 ret = rdmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in energy_perf_bias_show()
142 return sprintf(buf, "%llu\n", epb); in energy_perf_bias_show()
[all …]
/linux-5.19.10/net/sctp/
Dproc.c77 static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_common *epb) in sctp_seq_dump_local_addrs() argument
85 if (epb->type == SCTP_EP_TYPE_ASSOCIATION) { in sctp_seq_dump_local_addrs()
86 asoc = sctp_assoc(epb); in sctp_seq_dump_local_addrs()
98 list_for_each_entry_rcu(laddr, &epb->bind_addr.address_list, list) { in sctp_seq_dump_local_addrs()
245 struct sctp_ep_common *epb; in sctp_assocs_seq_show() local
259 epb = &assoc->base; in sctp_assocs_seq_show()
260 sk = epb->sk; in sctp_assocs_seq_show()
272 epb->bind_addr.port, in sctp_assocs_seq_show()
275 sctp_seq_dump_local_addrs(seq, epb); in sctp_assocs_seq_show()
/linux-5.19.10/include/linux/
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-5.19.10/fs/quota/
Dquota_tree.c28 unsigned int epb = info->dqi_usable_bs >> 2; in __get_index() local
32 id /= epb; in __get_index()
33 return id % epb; in __get_index()
691 unsigned int epb = info->dqi_usable_bs >> 2; in find_next_id() local
699 level_inc *= epb; in find_next_id()
707 for (i = __get_index(info, *id, depth); i < epb; i++) { in find_next_id()
720 if (i == epb) { in find_next_id()
/linux-5.19.10/fs/nilfs2/
Dalloc.c733 const unsigned int epb = NILFS_MDT(inode)->mi_entries_per_block; in nilfs_palloc_freev() local
762 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev()
781 group_offset < entry_start + epb) { in nilfs_palloc_freev()
788 end = entry_start + epb; in nilfs_palloc_freev()
800 entry_start = rounddown(group_offset, epb); in nilfs_palloc_freev()
/linux-5.19.10/fs/ocfs2/
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-5.19.10/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c896 int epb; in print_cpu_msrs() local
898 epb = get_epb(cpu); in print_cpu_msrs()
899 if (epb >= 0) in print_cpu_msrs()
900 printf("cpu%d: EPB %u\n", cpu, (unsigned int) epb); in print_cpu_msrs()
1183 int epb; in update_cpu_msrs() local
1186 epb = get_epb(cpu); in update_cpu_msrs()
1191 cpu, epb, (unsigned int) new_epb); in update_cpu_msrs()
/linux-5.19.10/drivers/cpufreq/
Dintel_pstate.c601 u64 epb; in intel_pstate_get_epb() local
607 ret = rdmsrl_on_cpu(cpu_data->cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in intel_pstate_get_epb()
611 return (s16)(epb & 0x0f); in intel_pstate_get_epb()
640 u64 epb; in intel_pstate_set_epb() local
646 ret = rdmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in intel_pstate_set_epb()
650 epb = (epb & ~0x0f) | pref; in intel_pstate_set_epb()
651 wrmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_pstate_set_epb()
/linux-5.19.10/fs/ext4/
Dindirect.c569 unsigned epb = inode->i_sb->s_blocksize / sizeof(u32); in ext4_ind_map_blocks() local
580 count = count * epb + (epb - offsets[i] - 1); in ext4_ind_map_blocks()
/linux-5.19.10/tools/power/x86/turbostat/
Dturbostat.c1955 int ret, epb = -1; in get_epb() local
1964 ret = fscanf(fp, "%d", &epb); in get_epb()
1970 return epb; in get_epb()
4224 int cpu, epb; in print_epb() local
4243 epb = get_epb(cpu); in print_epb()
4244 if (epb < 0) in print_epb()
4247 switch (epb) { in print_epb()
4261 fprintf(outf, "cpu%d: EPB: %d (%s)\n", cpu, epb, epb_string); in print_epb()