Lines Matching refs:bit_mask
14 static inline uint32_t bit_mask(uint32_t bits) { in bit_mask() function
63 ~(bit_mask(processor->topology.thread_bits_length) << processor->topology.thread_bits_offset); in cpuinfo_x86_count_objects()
65 …core_apic_mask & ~(bit_mask(processor->topology.core_bits_length) << processor->topology.core_bits… in cpuinfo_x86_count_objects()
66 const uint32_t llc_apic_mask = ~bit_mask(llc_apic_bits); in cpuinfo_x86_count_objects()
98 const uint32_t l1i_id = apic_id & ~bit_mask(processor->cache.l1i.apic_bits); in cpuinfo_x86_count_objects()
105 const uint32_t l1d_id = apic_id & ~bit_mask(processor->cache.l1d.apic_bits); in cpuinfo_x86_count_objects()
112 const uint32_t l2_id = apic_id & ~bit_mask(processor->cache.l2.apic_bits); in cpuinfo_x86_count_objects()
119 const uint32_t l3_id = apic_id & ~bit_mask(processor->cache.l3.apic_bits); in cpuinfo_x86_count_objects()
126 const uint32_t l4_id = apic_id & ~bit_mask(processor->cache.l4.apic_bits); in cpuinfo_x86_count_objects()
343 …~(bit_mask(x86_processor.topology.thread_bits_length) << x86_processor.topology.thread_bits_offset… in cpuinfo_x86_linux_init()
345 …core_apic_mask & ~(bit_mask(x86_processor.topology.core_bits_length) << x86_processor.topology.cor… in cpuinfo_x86_linux_init()
346 const uint32_t llc_apic_mask = ~bit_mask(llc_apic_bits); in cpuinfo_x86_linux_init()
444 const uint32_t l1i_id = apic_id & ~bit_mask(x86_processor.cache.l1i.apic_bits); in cpuinfo_x86_linux_init()
469 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor.cache.l1d.apic_bits); in cpuinfo_x86_linux_init()
494 const uint32_t l2_id = apic_id & ~bit_mask(x86_processor.cache.l2.apic_bits); in cpuinfo_x86_linux_init()
519 const uint32_t l3_id = apic_id & ~bit_mask(x86_processor.cache.l3.apic_bits); in cpuinfo_x86_linux_init()
544 const uint32_t l4_id = apic_id & ~bit_mask(x86_processor.cache.l4.apic_bits); in cpuinfo_x86_linux_init()