Home
last modified time | relevance | path

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

/openbmc/linux/arch/csky/mm/
H A Dcontext.c17 struct asid_info asid_info; variable
21 asid_check_context(&asid_info, &mm->context.asid, cpu, mm); in check_and_switch_context()
33 if (asid_allocator_init(&asid_info, CONFIG_CPU_ASID_BITS, 1, in asids_init()
36 NUM_ASIDS(&asid_info)); in asids_init()
38 asid_info.active = &active_asids; in asids_init()
39 asid_info.reserved = &reserved_asids; in asids_init()
42 NUM_CTXT_ASIDS(&asid_info)); in asids_init()
H A Dasid.c24 static void flush_context(struct asid_info *info) in flush_context()
54 static bool check_update_reserved_asid(struct asid_info *info, u64 asid, in check_update_reserved_asid()
79 static u64 new_context(struct asid_info *info, atomic64_t *pasid, in new_context()
137 void asid_new_context(struct asid_info *info, atomic64_t *pasid, in asid_new_context()
168 int asid_allocator_init(struct asid_info *info, in asid_allocator_init()
/openbmc/linux/arch/csky/include/asm/
H A Dasid.h11 struct asid_info struct
33 void asid_new_context(struct asid_info *info, atomic64_t *pasid, argument
42 static inline void asid_check_context(struct asid_info *info, in asid_check_context()
74 int asid_allocator_init(struct asid_info *info,