Lines Matching refs:bit_mask
20 static inline uint32_t bit_mask(uint32_t bits) { in bit_mask() function
56 const uint32_t l1i_id = apic_id & ~bit_mask(x86_processor->cache.l1i.apic_bits); in cpuinfo_x86_count_caches()
63 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor->cache.l1d.apic_bits); in cpuinfo_x86_count_caches()
70 const uint32_t l2_id = apic_id & ~bit_mask(x86_processor->cache.l2.apic_bits); in cpuinfo_x86_count_caches()
77 const uint32_t l3_id = apic_id & ~bit_mask(x86_processor->cache.l3.apic_bits); in cpuinfo_x86_count_caches()
84 const uint32_t l4_id = apic_id & ~bit_mask(x86_processor->cache.l4.apic_bits); in cpuinfo_x86_count_caches()
128 const uint32_t thread_bits_mask = bit_mask(x86_processor.topology.thread_bits_length); in cpuinfo_x86_windows_init()
129 const uint32_t core_bits_mask = bit_mask(x86_processor.topology.core_bits_length); in cpuinfo_x86_windows_init()
439 const uint32_t l1i_id = apic_id & ~bit_mask(x86_processor.cache.l1i.apic_bits); in cpuinfo_x86_windows_init()
464 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor.cache.l1d.apic_bits); in cpuinfo_x86_windows_init()
489 const uint32_t l2_id = apic_id & ~bit_mask(x86_processor.cache.l2.apic_bits); in cpuinfo_x86_windows_init()
514 const uint32_t l3_id = apic_id & ~bit_mask(x86_processor.cache.l3.apic_bits); in cpuinfo_x86_windows_init()
539 const uint32_t l4_id = apic_id & ~bit_mask(x86_processor.cache.l4.apic_bits); in cpuinfo_x86_windows_init()