Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c109 static int closid_free_map; variable
126 closid_free_map = BIT_MASK(rdt_min_closid) - 1; in closid_init()
129 closid_free_map &= ~1; in closid_init()
135 u32 closid = ffs(closid_free_map); in closid_alloc()
140 closid_free_map &= ~(1 << closid); in closid_alloc()
147 closid_free_map |= 1 << closid; in closid_free()
159 return (closid_free_map & (1 << closid)) == 0; in closid_allocated()