Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm64/mm/
Dcontext.c38 #define asid2idx(asid) ((asid) & ~ASID_MASK) macro
39 #define idx2asid(idx) asid2idx(idx)
123 __set_bit(asid2idx(asid), asid_map); in flush_context()
186 if (!__test_and_set_bit(asid2idx(asid), asid_map)) in new_context()
303 __set_bit(asid2idx(asid), pinned_asid_map); in arm64_mm_context_get()
330 __clear_bit(asid2idx(asid), pinned_asid_map); in arm64_mm_context_put()
/Linux-v5.10/arch/csky/mm/
Dasid.c21 #define asid2idx(info, asid) (((asid) & ~ASID_MASK(info)) >> (info)->ctxt_shift) macro
43 __set_bit(asid2idx(info, asid), info->map); in flush_context()
100 if (!__test_and_set_bit(asid2idx(info, asid), info->map)) in new_context()