/Linux-v6.1/arch/x86/kernel/cpu/ |
D | intel_epb.c | 80 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-v6.1/net/sctp/ |
D | proc.c | 77 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-v6.1/include/linux/ |
D | dqblk_qtree.h | 49 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-v6.1/fs/quota/ |
D | quota_tree.c | 28 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-v6.1/fs/nilfs2/ |
D | alloc.c | 733 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-v6.1/fs/ocfs2/ |
D | quota_local.c | 58 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-v6.1/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 896 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-v6.1/drivers/cpufreq/ |
D | intel_pstate.c | 575 u64 epb; in intel_pstate_get_epb() local 581 ret = rdmsrl_on_cpu(cpu_data->cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in intel_pstate_get_epb() 585 return (s16)(epb & 0x0f); in intel_pstate_get_epb() 614 u64 epb; in intel_pstate_set_epb() local 620 ret = rdmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in intel_pstate_set_epb() 624 epb = (epb & ~0x0f) | pref; in intel_pstate_set_epb() 625 wrmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_pstate_set_epb()
|
/Linux-v6.1/fs/ext4/ |
D | indirect.c | 569 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-v6.1/tools/power/x86/turbostat/ |
D | turbostat.c | 1979 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()
|