Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dintel_epb.c63 u64 epb; in intel_epb_save() local
65 rdmsrl(MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_epb_save()
70 this_cpu_write(saved_epb, (epb & EPB_MASK) | EPB_SAVED); in intel_epb_save()
78 u64 epb; in intel_epb_restore() local
80 rdmsrl(MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_epb_restore()
91 val = epb & EPB_MASK; in intel_epb_restore()
97 wrmsrl(MSR_IA32_ENERGY_PERF_BIAS, (epb & ~EPB_MASK) | val); in intel_epb_restore()
125 u64 epb; in energy_perf_bias_show() local
128 ret = rdmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in energy_perf_bias_show()
132 return sprintf(buf, "%llu\n", epb); in energy_perf_bias_show()
[all …]
/kernel/linux/linux-5.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()
164 struct sctp_ep_common *epb; in sctp_eps_seq_show() local
174 sctp_for_each_hentry(epb, &head->chain) { in sctp_eps_seq_show()
175 ep = sctp_ep(epb); in sctp_eps_seq_show()
176 sk = epb->sk; in sctp_eps_seq_show()
181 epb->bind_addr.port, in sctp_eps_seq_show()
185 sctp_seq_dump_local_addrs(seq, epb); in sctp_eps_seq_show()
[all …]
Dinput.c724 struct sctp_ep_common *epb; in __sctp_hash_endpoint() local
726 epb = &ep->base; in __sctp_hash_endpoint()
727 epb->hashent = sctp_ep_hashfn(net, epb->bind_addr.port); in __sctp_hash_endpoint()
728 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_hash_endpoint()
767 hlist_add_head(&epb->node, &head->chain); in __sctp_hash_endpoint()
789 struct sctp_ep_common *epb; in __sctp_unhash_endpoint() local
791 epb = &ep->base; in __sctp_unhash_endpoint()
793 epb->hashent = sctp_ep_hashfn(sock_net(sk), epb->bind_addr.port); in __sctp_unhash_endpoint()
795 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_unhash_endpoint()
801 hlist_del_init(&epb->node); in __sctp_unhash_endpoint()
[all …]
Dsocket.c5187 struct sctp_ep_common *epb; in sctp_for_each_endpoint() local
5193 sctp_for_each_hentry(epb, &head->chain) { in sctp_for_each_endpoint()
5194 err = cb(sctp_ep(epb), p); in sctp_for_each_endpoint()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
700 unsigned int epb = info->dqi_usable_bs >> 2; in find_next_id() local
708 level_inc *= epb; in find_next_id()
716 for (i = __get_index(info, *id, depth); i < epb; i++) { in find_next_id()
729 if (i == epb) { in find_next_id()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/net/sctp/
Dsctp.h509 #define sctp_for_each_hentry(epb, head) \ argument
510 hlist_for_each_entry(epb, head, node)
/kernel/linux/linux-5.10/drivers/cpufreq/
Dintel_pstate.c525 u64 epb; in intel_pstate_get_epb() local
531 ret = rdmsrl_on_cpu(cpu_data->cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in intel_pstate_get_epb()
535 return (s16)(epb & 0x0f); in intel_pstate_get_epb()
564 u64 epb; in intel_pstate_set_epb() local
570 ret = rdmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, &epb); in intel_pstate_set_epb()
574 epb = (epb & ~0x0f) | pref; in intel_pstate_set_epb()
575 wrmsrl_on_cpu(cpu, MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_pstate_set_epb()
/kernel/linux/linux-5.10/fs/ext4/
Dindirect.c567 unsigned epb = inode->i_sb->s_blocksize / sizeof(u32); in ext4_ind_map_blocks() local
578 count = count * epb + (epb - offsets[i] - 1); in ext4_ind_map_blocks()