Home
last modified time | relevance | path

Searched defs:asid (Results 1 – 25 of 73) sorted by relevance

123

/linux/arch/csky/mm/
H A Dasid.c21 #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/arch/arm/mm/
H A Dcontext.c56 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/arch/sh/include/asm/
H A Dmmu_context_32.h6 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
H A Dmmu_context.h57 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/riscv/mm/
H A Dtlbflush.c24 static inline void local_sinval_vma(unsigned long vma, unsigned long asid) in local_sinval_vma()
41 unsigned long asid) in local_flush_tlb_range_threshold_asid()
68 unsigned long size, unsigned long stride, unsigned long asid) in local_flush_tlb_range_asid()
100 unsigned long asid; member
123 unsigned long asid = get_mm_asid(mm); in __flush_tlb_range() local
/linux/arch/sh/mm/
H A Dtlbflush_32.c21 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
H A Dtlb-pteaex.c70 void local_flush_tlb_one(unsigned long asid, unsigned long page) in local_flush_tlb_one()
/linux/drivers/vhost/
H A Dvdpa.c80 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
909 vhost_vdpa_general_unmap(struct vhost_vdpa * v,struct vhost_iotlb_map * map,u32 asid) vhost_vdpa_general_unmap() argument
921 vhost_vdpa_pa_unmap(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 start,u64 last,u32 asid) vhost_vdpa_pa_unmap() argument
944 vhost_vdpa_va_unmap(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 start,u64 last,u32 asid) vhost_vdpa_va_unmap() argument
960 vhost_vdpa_iotlb_unmap(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 start,u64 last,u32 asid) vhost_vdpa_iotlb_unmap() argument
998 u32 asid = iotlb_to_asid(iotlb); vhost_vdpa_map() local
1033 u32 asid = iotlb_to_asid(iotlb); vhost_vdpa_unmap() local
1243 vhost_vdpa_process_iotlb_msg(struct vhost_dev * dev,u32 asid,struct vhost_iotlb_msg * msg) vhost_vdpa_process_iotlb_msg() argument
1390 u32 asid; vhost_vdpa_cleanup() local
[all...]
/linux/arch/riscv/include/asm/
H A Dtlbflush.h23 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()
H A Derrata_list.h30 #define ALT_SFENCE_VMA_ASID(asid) \ argument
40 #define ALT_SFENCE_VMA_ADDR_ASID(addr, asid) \ argument
/linux/arch/loongarch/include/asm/
H A Dmmu_context.h54 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
H A Dmmu.h12 u64 asid[NR_CPUS]; member
/linux/arch/arm64/include/asm/
H A Dtlbflush.h50 #define __TLBI_VADDR(addr, asid) \ argument
211 u16 asid) in __tlbi_level_asid() argument
410 unsigned long asid; in flush_tlb_mm() local
507 u16 asid, in in __tlbi_range() argument
524 __flush_tlb_range_op(tlbi_op lop,tlbi_op rop,u64 start,size_t pages,u64 stride,u16 asid,u32 level,bool lpa2) __flush_tlb_range_op() argument
555 __flush_s1_tlb_range_op(op,start,pages,stride,asid,tlb_level) global() argument
599 unsigned long asid, pages; __do_flush_tlb_range() local
[all...]
/linux/drivers/misc/sgi-gru/
H A Dgruhandles.c135 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()
/linux/arch/riscv/kvm/
H A Dtlb.c81 unsigned long asid, in kvm_riscv_local_hfence_vvma_asid_gva()
111 unsigned long asid) in kvm_riscv_local_hfence_vvma_asid_all()
404 unsigned long order, unsigned long asid, in kvm_riscv_hfence_vvma_asid_gva()
421 unsigned long asid, unsigned long vmid) in kvm_riscv_hfence_vvma_asid_all()
/linux/arch/xtensa/include/asm/
H A Dmmu_context.h72 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
H A Dmmu.h17 unsigned long asid[NR_CPUS]; member
/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim.c601 unsigned int asid) in vdpasim_set_group_asid()
621 static int vdpasim_set_map(struct vdpa_device *vdpa, unsigned int asid, in vdpasim_set_map()
655 static int vdpasim_reset_map(struct vdpa_device *vdpa, unsigned int asid) in vdpasim_reset_map()
698 static int vdpasim_dma_map(struct vdpa_device *vdpa, unsigned int asid, in vdpasim_dma_map()
720 static int vdpasim_dma_unmap(struct vdpa_device *vdpa, unsigned int asid, in vdpasim_dma_unmap()
/linux/arch/arc/include/asm/
H A Dmmu.h14 unsigned long asid[NR_CPUS]; /* 8 bit MMU PID + Generation cycle */ member
/linux/arch/mips/mm/
H A Dtlb-r4k.c538 unsigned long long asid:10; member
597 unsigned long long entryhi, vpn, mask, asid; in r4k_tlb_uniquify_read() local
644 unsigned long long asid, vpn, vpn_size, pagesz; in r4k_tlb_uniquify_write() local
/linux/arch/csky/include/asm/
H A Dmmu.h7 atomic64_t asid; member
/linux/drivers/accel/habanalabs/common/
H A Dasid.c50 void hl_asid_free(struct hl_device *hdev, unsigned long asid) in hl_asid_free()
/linux/arch/mips/lib/
H A Dr3k_dump_tlb.c27 unsigned int asid; in dump_tlb() local
/linux/arch/mips/include/asm/
H A Dmmu.h11 u64 asid[NR_CPUS]; member
/linux/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c62 u8 asid; /* asid and ctx bank # are 1:1 */ member
82 static struct qcom_iommu_ctx * to_ctx(struct qcom_iommu_domain *d, unsigned asid) in to_ctx()
554 unsigned asid = args->args[0]; in qcom_iommu_of_xlate() local
658 int asid; in get_asid() local

123