Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/kernel/cpu/
A 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()
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()
150 u64 epb, val; in energy_perf_bias_store() local
[all …]
/linux-6.3-rc2/net/sctp/
A 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-6.3-rc2/include/linux/
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-6.3-rc2/fs/quota/
A 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()
734 unsigned int epb = info->dqi_usable_bs >> 2; in find_next_id() local
742 level_inc *= epb; in find_next_id()
750 for (i = __get_index(info, *id, depth); i < epb; i++) { in find_next_id()
769 if (i == epb) { in find_next_id()
/linux-6.3-rc2/fs/nilfs2/
A 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-6.3-rc2/fs/ocfs2/
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-6.3-rc2/tools/power/x86/x86_energy_perf_policy/
A 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-6.3-rc2/drivers/cpufreq/
A Dintel_pstate.c562 u64 epb; in intel_pstate_get_epb() local
568 ret = rdmsrl_on_cpu(cpu_data->cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in intel_pstate_get_epb()
572 return (s16)(epb & 0x0f); in intel_pstate_get_epb()
601 u64 epb; in intel_pstate_set_epb() local
607 ret = rdmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in intel_pstate_set_epb()
611 epb = (epb & ~0x0f) | pref; in intel_pstate_set_epb()
612 wrmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_pstate_set_epb()
/linux-6.3-rc2/fs/ext4/
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-6.3-rc2/tools/power/x86/turbostat/
A Dturbostat.c1979 int ret, epb = -1; in get_epb() local
1988 ret = fscanf(fp, "%d", &epb); in get_epb()
1994 return epb; in get_epb()
4305 int cpu, epb; in print_epb() local
4324 epb = get_epb(cpu); in print_epb()
4325 if (epb < 0) in print_epb()
4328 switch (epb) { in print_epb()
4342 fprintf(outf, "cpu%d: EPB: %d (%s)\n", cpu, epb, epb_string); in print_epb()

Completed in 37 milliseconds