Lines Matching +full:int +full:- +full:map +full:- +full:mask
1 /* SPDX-License-Identifier: GPL-2.0 */
10 extern int pic_mode;
35 extern int mp_bus_id_to_type[MAX_MP_BUSSES];
40 extern unsigned int boot_cpu_physical_apicid;
44 extern int smp_found_config;
66 extern int enable_update_mptable;
68 extern void default_get_smp_config(unsigned int early);
76 int generic_processor_info(int apicid);
81 unsigned long mask[PHYSID_ARRAY_SIZE]; member
86 #define physid_set(physid, map) set_bit(physid, (map).mask) argument
87 #define physid_isset(physid, map) test_bit(physid, (map).mask) argument
90 bitmap_or((dst).mask, (src1).mask, (src2).mask, MAX_LOCAL_APIC)
92 #define physids_clear(map) \ argument
93 bitmap_zero((map).mask, MAX_LOCAL_APIC)
95 #define physids_empty(map) \ argument
96 bitmap_empty((map).mask, MAX_LOCAL_APIC)
98 static inline void physids_promote(unsigned long physids, physid_mask_t *map) in physids_promote() argument
100 physids_clear(*map); in physids_promote()
101 map->mask[0] = physids; in physids_promote()
104 static inline void physid_set_mask_of_physid(int physid, physid_mask_t *map) in physid_set_mask_of_physid() argument
106 physids_clear(*map); in physid_set_mask_of_physid()
107 physid_set(physid, *map); in physid_set_mask_of_physid()
110 #define PHYSID_MASK_ALL { {[0 ... PHYSID_ARRAY_SIZE-1] = ~0UL} }
111 #define PHYSID_MASK_NONE { {[0 ... PHYSID_ARRAY_SIZE-1] = 0UL} }