/linux/arch/arm64/mm/ |
H A D | context.c | 38 #define ctxid2asid(asid) ((asid) & ~ASID_MASK) argument 39 #define asid2ctxid(asid, genid) ((asid) | (genid)) argument 44 u32 asid; in get_cpu_asid_bits() local 66 u32 asid = get_cpu_asid_bits(); in verify_cpu_asid_bits() local 101 asid_gen_match(asid) global() argument 107 u64 asid; flush_context() local 134 check_update_reserved_asid(u64 asid,u64 newasid) check_update_reserved_asid() argument 161 u64 asid = atomic64_read(&mm->context.id); new_context() local 219 u64 asid, old_active_asid; check_and_switch_context() local 276 u64 asid; arm64_mm_context_get() local 322 u64 asid = atomic64_read(&mm->context.id); arm64_mm_context_put() local 352 unsigned long asid = ASID(mm); cpu_do_switch_mm() local [all...] |
/linux/arch/csky/mm/ |
H A D | asid.c | 21 #define asid2idx(info, asid) (((asid) & ~ASID_MASK(info)) >> (info)->ctxt_shift) argument 27 u64 asid; in flush_context() local 54 static bool check_update_reserved_asid(struct asid_info *info, u64 asid, in check_update_reserved_asid() argument 83 u64 asid = atomic64_read(pasid); new_context() local 141 u64 asid; asid_new_context() local [all...] |
/linux/arch/arm/mm/ |
H A D | context.c | 56 u64 context_id, asid; in a15_erratum_get_cpumask() local 139 u64 asid; in flush_context() local 165 check_update_reserved_asid(u64 asid,u64 newasid) check_update_reserved_asid() argument 192 u64 asid = atomic64_read(&mm->context.id); new_context() local 241 u64 asid; check_and_switch_context() local [all...] |
/linux/arch/sh/include/asm/ |
H A D | mmu_context_32.h | 6 static inline void set_asid(unsigned long asid) in set_asid() argument 16 static inline void set_asid(unsigned long asid) in set_asid() argument 31 unsigned long asid; in get_asid() local
|
H A D | mmu_context.h | 57 unsigned long asid = asid_cache(cpu); in get_mmu_context() local 128 #define set_asid(asid) do { } while (0) argument 131 #define switch_and_save_asid(asid) (0) argument
|
/linux/arch/x86/mm/ |
H A D | tlb.c | 115 static inline u16 kern_pcid(u16 asid) in kern_pcid() argument 151 static inline u16 user_pcid(u16 asid) in user_pcid() argument 160 static inline unsigned long build_cr3(pgd_t *pgd, u16 asid, unsigned long lam) in build_cr3() argument 173 build_cr3_noflush(pgd_t * pgd,u16 asid,unsigned long lam) build_cr3_noflush() argument 193 u16 asid; clear_asid_other() local 220 unsigned int asid : 16; global() member 227 u16 asid; choose_new_asid() local 318 u16 asid; allocate_global_asid() local 377 u16 asid; use_global_asid() local 425 mm_needs_global_asid(struct mm_struct * mm,u16 asid) mm_needs_global_asid() argument 504 unsigned long asid = mm_global_asid(info->mm); broadcast_tlb_flush() local 544 invalidate_user_asid(u16 asid) invalidate_user_asid() argument [all...] |
/linux/arch/riscv/mm/ |
H A D | tlbflush.c | 24 static inline void local_sinval_vma(unsigned long vma, unsigned long asid) in local_sinval_vma() argument 41 unsigned long asid) in local_flush_tlb_range_threshold_asid() argument 68 unsigned long size, unsigned long stride, unsigned long asid) in local_flush_tlb_range_asid() argument 100 unsigned long asid; global() member 123 unsigned long asid = get_mm_asid(mm); __flush_tlb_range() local [all...] |
/linux/arch/sh/mm/ |
H A D | tlbflush_32.c | 21 unsigned long asid; in local_flush_tlb_page() local 56 unsigned long asid; in local_flush_tlb_range() local 89 unsigned long asid; in local_flush_tlb_kernel_range() local [all...] |
/linux/arch/x86/include/asm/ |
H A D | tlb.h | 81 static inline void __invlpgb(unsigned long asid, unsigned long pcid, in __invlpgb() argument 96 static inline void __invlpgb_all(unsigned long asid, unsigned long pcid, u8 flags) in __invlpgb_all() argument 116 static inline void __invlpgb(unsigned long asid, unsigned long pcid, in __invlpgb() argument 119 static inline void __invlpgb_all(unsigned long asid, unsigned long pcid, u8 flags) { } in __invlpgb_all() argument
|
H A D | tlbflush.h | 238 static inline bool is_dyn_asid(u16 asid) in is_dyn_asid() argument 243 static inline bool is_global_asid(u16 asid) in is_global_asid() argument 251 u16 asid; in mm_global_asid() local 272 static inline void mm_assign_global_asid(struct mm_struct *mm, u16 asid) in mm_assign_global_asid() argument 298 mm_assign_global_asid(struct mm_struct * mm,u16 asid) mm_assign_global_asid() argument [all...] |
/linux/arch/riscv/include/asm/ |
H A D | tlbflush.h | 23 static inline void local_flush_tlb_all_asid(unsigned long asid) in local_flush_tlb_all_asid() argument 38 unsigned long asid) in local_flush_tlb_page_asid() argument
|
H A D | errata_list.h | 47 #define ALT_SFENCE_VMA_ASID(asid) \ argument 57 #define ALT_SFENCE_VMA_ADDR_ASID(addr, asid) \ argument
|
H A D | insn-def.h | 186 #define HFENCE_VVMA(vaddr, asid) \ argument 211 #define SINVAL_VMA(vaddr, asid) \ argument 223 #define HINVAL_VVMA(vaddr, asid) \ argument
|
/linux/drivers/vhost/ |
H A D | vdpa.c | 80 static struct vhost_vdpa_as *asid_to_as(struct vhost_vdpa *v, u32 asid) in asid_to_as() argument 92 static struct vhost_iotlb *asid_to_iotlb(struct vhost_vdpa *v, u32 asid) in asid_to_iotlb() argument 102 static struct vhost_vdpa_as *vhost_vdpa_alloc_as(struct vhost_vdpa *v, u32 asid) in vhost_vdpa_alloc_as() argument 125 vhost_vdpa_find_alloc_as(struct vhost_vdpa * v,u32 asid) vhost_vdpa_find_alloc_as() argument 135 vhost_vdpa_reset_map(struct vhost_vdpa * v,u32 asid) vhost_vdpa_reset_map() argument 144 vhost_vdpa_remove_as(struct vhost_vdpa * v,u32 asid) vhost_vdpa_remove_as() argument 907 vhost_vdpa_general_unmap(struct vhost_vdpa * v,struct vhost_iotlb_map * map,u32 asid) vhost_vdpa_general_unmap() argument 919 vhost_vdpa_pa_unmap(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 start,u64 last,u32 asid) vhost_vdpa_pa_unmap() argument 942 vhost_vdpa_va_unmap(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 start,u64 last,u32 asid) vhost_vdpa_va_unmap() argument 958 vhost_vdpa_iotlb_unmap(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 start,u64 last,u32 asid) vhost_vdpa_iotlb_unmap() argument 996 u32 asid = iotlb_to_asid(iotlb); vhost_vdpa_map() local 1031 u32 asid = iotlb_to_asid(iotlb); vhost_vdpa_unmap() local 1241 vhost_vdpa_process_iotlb_msg(struct vhost_dev * dev,u32 asid,struct vhost_iotlb_msg * msg) vhost_vdpa_process_iotlb_msg() argument 1386 u32 asid; vhost_vdpa_cleanup() local [all...] |
/linux/arch/loongarch/include/asm/ |
H A D | mmu_context.h | 54 u64 asid = asid_cache(cpu); in get_new_mmu_context() local 77 static inline void atomic_update_pgd_asid(unsigned long asid, unsigned long pgdl) in atomic_update_pgd_asid() argument 143 int asid; in drop_mmu_context() local [all...] |
H A D | mmu.h | 12 u64 asid[NR_CPUS]; member
|
/linux/arch/riscv/kvm/ |
H A D | tlb.c | 81 unsigned long asid, in kvm_riscv_local_hfence_vvma_asid_gva() argument 111 unsigned long asid) in kvm_riscv_local_hfence_vvma_asid_all() argument 373 kvm_riscv_hfence_vvma_asid_gva(struct kvm * kvm,unsigned long hbase,unsigned long hmask,unsigned long gva,unsigned long gvsz,unsigned long order,unsigned long asid,unsigned long vmid) kvm_riscv_hfence_vvma_asid_gva() argument 390 kvm_riscv_hfence_vvma_asid_all(struct kvm * kvm,unsigned long hbase,unsigned long hmask,unsigned long asid,unsigned long vmid) kvm_riscv_hfence_vvma_asid_all() argument [all...] |
/linux/arch/xtensa/include/asm/ |
H A D | mmu_context.h | 72 unsigned long asid = cpu_asid_cache(cpu); in get_new_mmu_context() local 93 unsigned long asid = mm->context.asid[cpu]; in get_mmu_context() local [all...] |
H A D | mmu.h | 17 unsigned long asid[NR_CPUS]; member
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_gt_pagefault.c | 29 u32 asid; member 56 u32 asid; member 170 static struct xe_vm *asid_to_vm(struct xe_device *xe, u32 asid) in asid_to_vm() argument 315 u32 asid; in xe_guc_pagefault_handler() local 661 u32 asid; xe_guc_access_counter_notify_handler() local [all...] |
/linux/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3-sva.c | 53 u16 asid) in arm_smmu_make_sva_cd() argument 332 u32 asid; in arm_smmu_sva_domain_alloc() local [all...] |
/linux/drivers/misc/sgi-gru/ |
H A D | grumain.c | 89 static int gru_reset_asid_limit(struct gru_state *gru, int asid) in gru_reset_asid_limit() argument 135 int asid; gru_assign_asid() local 226 int asid; gru_load_mm_tracker() local 578 int i, err, asid, ctxnum = gts->ts_ctxnum; gru_load_context() local [all...] |
/linux/arch/csky/include/asm/ |
H A D | mmu.h | 7 atomic64_t asid; member
|
/linux/drivers/accel/habanalabs/common/ |
H A D | asid.c | 50 void hl_asid_free(struct hl_device *hdev, unsigned long asid) in hl_asid_free() argument
|
/linux/arch/mips/lib/ |
H A D | r3k_dump_tlb.c | 27 unsigned int asid; in dump_tlb() local
|