/Linux-v6.6/arch/arm64/mm/ |
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 #define asid_gen_match(asid) \ argument 107 u64 asid; in flush_context() local 134 static bool check_update_reserved_asid(u64 asid, u64 newasid) in check_update_reserved_asid() 161 u64 asid = atomic64_read(&mm->context.id); in new_context() local 219 u64 asid, old_active_asid; in check_and_switch_context() local 276 u64 asid; in arm64_mm_context_get() local [all …]
|
/Linux-v6.6/arch/csky/mm/ |
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() 83 u64 asid = atomic64_read(pasid); in new_context() local 141 u64 asid; in asid_new_context() local
|
/Linux-v6.6/arch/arm/mm/ |
D | context.c | 56 u64 context_id, asid; in a15_erratum_get_cpumask() local 139 u64 asid; in flush_context() local 165 static bool check_update_reserved_asid(u64 asid, u64 newasid) in check_update_reserved_asid() 192 u64 asid = atomic64_read(&mm->context.id); in new_context() local 241 u64 asid; in check_and_switch_context() local
|
/Linux-v6.6/arch/riscv/mm/ |
D | tlbflush.c | 9 static inline void local_flush_tlb_all_asid(unsigned long asid) in local_flush_tlb_all_asid() 18 unsigned long asid) in local_flush_tlb_page_asid() 36 unsigned long size, unsigned long stride, unsigned long asid) in local_flush_tlb_range_asid() 58 unsigned long asid; member 93 unsigned long asid = atomic_long_read(&mm->context.id) & asid_mask; in __flush_tlb_range() local
|
/Linux-v6.6/arch/sh/include/asm/ |
D | mmu_context_32.h | 6 static inline void set_asid(unsigned long asid) in set_asid() 16 static inline void set_asid(unsigned long asid) in set_asid() 31 unsigned long asid; in get_asid() local
|
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-v6.6/arch/sh/mm/ |
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
|
D | tlb-pteaex.c | 70 void local_flush_tlb_one(unsigned long asid, unsigned long page) in local_flush_tlb_one()
|
/Linux-v6.6/drivers/vdpa/mlx5/core/ |
D | mr.c | 492 static void _mlx5_vdpa_destroy_cvq_mr(struct mlx5_vdpa_dev *mvdev, unsigned int asid) in _mlx5_vdpa_destroy_cvq_mr() 500 static void _mlx5_vdpa_destroy_dvq_mr(struct mlx5_vdpa_dev *mvdev, unsigned int asid) in _mlx5_vdpa_destroy_dvq_mr() 518 void mlx5_vdpa_destroy_mr_asid(struct mlx5_vdpa_dev *mvdev, unsigned int asid) in mlx5_vdpa_destroy_mr_asid() 538 unsigned int asid) in _mlx5_vdpa_create_cvq_mr() 548 unsigned int asid) in _mlx5_vdpa_create_dvq_mr() 573 struct vhost_iotlb *iotlb, unsigned int asid) in _mlx5_vdpa_create_mr() 594 unsigned int asid) in mlx5_vdpa_create_mr() 605 bool *change_map, unsigned int asid) in mlx5_vdpa_handle_set_map()
|
/Linux-v6.6/arch/arm64/include/asm/ |
D | tlbflush.h | 58 #define __TLBI_VADDR(addr, asid) \ argument 137 #define __TLBI_VADDR_RANGE(addr, asid, scale, num, ttl) \ argument 249 unsigned long asid; in flush_tlb_mm() local 368 asid, tlb_level, tlbi_user) \ argument 408 unsigned long asid, pages; in __flush_tlb_range() local
|
/Linux-v6.6/arch/x86/mm/ |
D | tlb.c | 113 static inline u16 kern_pcid(u16 asid) in kern_pcid() 149 static inline u16 user_pcid(u16 asid) in user_pcid() 158 static inline unsigned long build_cr3(pgd_t *pgd, u16 asid, unsigned long lam) in build_cr3() 172 static inline unsigned long build_cr3_noflush(pgd_t *pgd, u16 asid, in build_cr3_noflush() 192 u16 asid; in clear_asid_other() local 222 u16 asid; in choose_new_asid() local 262 static inline void invalidate_user_asid(u16 asid) in invalidate_user_asid()
|
/Linux-v6.6/drivers/vhost/ |
D | vdpa.c | 79 static struct vhost_vdpa_as *asid_to_as(struct vhost_vdpa *v, u32 asid) in asid_to_as() 91 static struct vhost_iotlb *asid_to_iotlb(struct vhost_vdpa *v, u32 asid) in asid_to_iotlb() 101 static struct vhost_vdpa_as *vhost_vdpa_alloc_as(struct vhost_vdpa *v, u32 asid) in vhost_vdpa_alloc_as() 124 u32 asid) in vhost_vdpa_find_alloc_as() 134 static int vhost_vdpa_remove_as(struct vhost_vdpa *v, u32 asid) in vhost_vdpa_remove_as() 797 struct vhost_iotlb_map *map, u32 asid) in vhost_vdpa_general_unmap() 809 u64 start, u64 last, u32 asid) in vhost_vdpa_pa_unmap() 832 u64 start, u64 last, u32 asid) in vhost_vdpa_va_unmap() 848 u64 last, u32 asid) in vhost_vdpa_iotlb_unmap() 886 u32 asid = iotlb_to_asid(iotlb); in vhost_vdpa_map() local [all …]
|
/Linux-v6.6/drivers/misc/sgi-gru/ |
D | gruhandles.c | 141 int asid, int pagesize, int global, int n, in tgh_invalidate() 158 unsigned long vaddr, int asid, int dirty, in tfh_write_only() 174 unsigned long vaddr, int asid, int dirty, in tfh_write_restart()
|
D | grumain.c | 93 static int gru_reset_asid_limit(struct gru_state *gru, int asid) in gru_reset_asid_limit() 139 int asid; in gru_assign_asid() local 230 int asid; in gru_load_mm_tracker() local 582 int i, err, asid, ctxnum = gts->ts_ctxnum; in gru_load_context() local
|
/Linux-v6.6/arch/riscv/kvm/ |
D | tlb.c | 78 unsigned long asid, in kvm_riscv_local_hfence_vvma_asid_gva() 108 unsigned long asid) in kvm_riscv_local_hfence_vvma_asid_all() 358 unsigned long order, unsigned long asid) in kvm_riscv_hfence_vvma_asid_gva() 373 unsigned long asid) in kvm_riscv_hfence_vvma_asid_all()
|
/Linux-v6.6/arch/riscv/include/asm/ |
D | insn-def.h | 138 #define HFENCE_VVMA(vaddr, asid) \ argument 163 #define SINVAL_VMA(vaddr, asid) \ argument 175 #define HINVAL_VVMA(vaddr, asid) \ argument
|
/Linux-v6.6/arch/xtensa/include/asm/ |
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
|
D | mmu.h | 17 unsigned long asid[NR_CPUS]; member
|
/Linux-v6.6/arch/loongarch/include/asm/ |
D | mmu_context.h | 54 u64 asid = asid_cache(cpu); in get_new_mmu_context() local 130 int asid; in drop_mmu_context() local
|
D | mmu.h | 12 u64 asid[NR_CPUS]; member
|
/Linux-v6.6/arch/arc/include/asm/ |
D | mmu.h | 14 unsigned long asid[NR_CPUS]; /* 8 bit MMU PID + Generation cycle */ member
|
/Linux-v6.6/arch/csky/include/asm/ |
D | mmu.h | 7 atomic64_t asid; member
|
/Linux-v6.6/drivers/accel/habanalabs/common/ |
D | asid.c | 50 void hl_asid_free(struct hl_device *hdev, unsigned long asid) in hl_asid_free()
|
/Linux-v6.6/arch/mips/lib/ |
D | r3k_dump_tlb.c | 27 unsigned int asid; in dump_tlb() local
|
/Linux-v6.6/arch/mips/include/asm/ |
D | mmu.h | 11 u64 asid[NR_CPUS]; member
|