/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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
|
/linux-6.12.1/arch/riscv/mm/ |
D | tlbflush.c | 19 unsigned long asid) in local_flush_tlb_range_threshold_asid() 36 unsigned long size, unsigned long stride, unsigned long asid) in local_flush_tlb_range_asid() 68 unsigned long asid; member 81 static void __flush_tlb_range(const struct cpumask *cmask, unsigned long asid, in __flush_tlb_range()
|
/linux-6.12.1/arch/x86/mm/ |
D | tlb.c | 111 static inline u16 kern_pcid(u16 asid) in kern_pcid() 147 static inline u16 user_pcid(u16 asid) in user_pcid() 156 static inline unsigned long build_cr3(pgd_t *pgd, u16 asid, unsigned long lam) in build_cr3() 169 static inline unsigned long build_cr3_noflush(pgd_t *pgd, u16 asid, in build_cr3_noflush() 189 u16 asid; in clear_asid_other() local 219 u16 asid; in choose_new_asid() local 259 static inline void invalidate_user_asid(u16 asid) in invalidate_user_asid()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | tlbflush.h | 58 #define __TLBI_VADDR(addr, asid) \ argument 152 #define __TLBI_VADDR_RANGE(baddr, asid, scale, num, ttl) \ argument 275 unsigned long asid; in flush_tlb_mm() local 397 asid, tlb_level, tlbi_user, lpa2) \ argument 439 unsigned long asid, pages; in __flush_tlb_range_nosync() local
|
/linux-6.12.1/drivers/vhost/ |
D | vdpa.c | 80 static struct vhost_vdpa_as *asid_to_as(struct vhost_vdpa *v, u32 asid) in asid_to_as() 92 static struct vhost_iotlb *asid_to_iotlb(struct vhost_vdpa *v, u32 asid) in asid_to_iotlb() 102 static struct vhost_vdpa_as *vhost_vdpa_alloc_as(struct vhost_vdpa *v, u32 asid) in vhost_vdpa_alloc_as() 125 u32 asid) in vhost_vdpa_find_alloc_as() 135 static void vhost_vdpa_reset_map(struct vhost_vdpa *v, u32 asid) in vhost_vdpa_reset_map() 144 static int vhost_vdpa_remove_as(struct vhost_vdpa *v, u32 asid) in vhost_vdpa_remove_as() 909 struct vhost_iotlb_map *map, u32 asid) in vhost_vdpa_general_unmap() 921 u64 start, u64 last, u32 asid) in vhost_vdpa_pa_unmap() 944 u64 start, u64 last, u32 asid) in vhost_vdpa_va_unmap() 960 u64 last, u32 asid) in vhost_vdpa_iotlb_unmap() [all …]
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | tlbflush.h | 23 static inline void local_flush_tlb_all_asid(unsigned long asid) in local_flush_tlb_all_asid() 38 unsigned long asid) in local_flush_tlb_page_asid()
|
D | errata_list.h | 46 #define ALT_SFENCE_VMA_ASID(asid) \ argument 56 #define ALT_SFENCE_VMA_ADDR_ASID(addr, asid) \ argument
|
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-6.12.1/arch/loongarch/include/asm/ |
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() 143 int asid; in drop_mmu_context() local
|
D | mmu.h | 12 u64 asid[NR_CPUS]; member
|
/linux-6.12.1/drivers/misc/sgi-gru/ |
D | gruhandles.c | 135 int asid, int pagesize, int global, int n, in tgh_invalidate() 152 unsigned long vaddr, int asid, int dirty, in tfh_write_only() 168 unsigned long vaddr, int asid, int dirty, in tfh_write_restart()
|
D | grumain.c | 89 static int gru_reset_asid_limit(struct gru_state *gru, int asid) in gru_reset_asid_limit() 135 int asid; in gru_assign_asid() local 226 int asid; in gru_load_mm_tracker() local 578 int i, err, asid, ctxnum = gts->ts_ctxnum; in gru_load_context() local
|
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/gpu/drm/xe/ |
D | xe_gt_pagefault.c | 27 u32 asid; member 54 u32 asid; member 188 static struct xe_vm *asid_to_vm(struct xe_device *xe, u32 asid) in asid_to_vm() 327 u32 asid; in xe_guc_pagefault_handler() local 667 u32 asid; in xe_guc_access_counter_notify_handler() local
|
/linux-6.12.1/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.c | 603 unsigned int asid) in vdpasim_set_group_asid() 629 static int vdpasim_set_map(struct vdpa_device *vdpa, unsigned int asid, in vdpasim_set_map() 663 static int vdpasim_reset_map(struct vdpa_device *vdpa, unsigned int asid) in vdpasim_reset_map() 706 static int vdpasim_dma_map(struct vdpa_device *vdpa, unsigned int asid, in vdpasim_dma_map() 728 static int vdpasim_dma_unmap(struct vdpa_device *vdpa, unsigned int asid, in vdpasim_dma_unmap()
|
/linux-6.12.1/arch/arc/include/asm/ |
D | mmu.h | 14 unsigned long asid[NR_CPUS]; /* 8 bit MMU PID + Generation cycle */ member
|
/linux-6.12.1/arch/csky/include/asm/ |
D | mmu.h | 7 atomic64_t asid; member
|
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | asid.c | 50 void hl_asid_free(struct hl_device *hdev, unsigned long asid) in hl_asid_free()
|