/Linux-v5.4/arch/mips/mm/ |
D | context.c | 66 u64 mmid; in flush_context() local 76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context() 85 if (mmid == 0) in flush_context() 86 mmid = per_cpu(reserved_mmids, cpu); in flush_context() 88 __set_bit(mmid & cpu_asid_mask(&cpu_data[cpu]), mmid_map); in flush_context() 89 per_cpu(reserved_mmids, cpu) = mmid; in flush_context() 99 static bool check_update_reserved_mmid(u64 mmid, u64 newmmid) in check_update_reserved_mmid() argument 115 if (per_cpu(reserved_mmids, cpu) == mmid) { in check_update_reserved_mmid() 127 u64 mmid, version, mmid_mask; in get_new_mmid() local 129 mmid = cpu_context(0, mm); in get_new_mmid() [all …]
|
/Linux-v5.4/drivers/infiniband/hw/cxgb3/ |
D | iwch_mem.c | 45 u32 mmid; in iwch_finish_mem_reg() local 49 mmid = stag >> 8; in iwch_finish_mem_reg() 51 pr_debug("%s mmid 0x%x mhp %p\n", __func__, mmid, mhp); in iwch_finish_mem_reg() 52 return xa_insert_irq(&mhp->rhp->mrs, mmid, mhp, GFP_KERNEL); in iwch_finish_mem_reg()
|
D | iwch_provider.c | 335 u32 mmid; in iwch_dereg_mr() local 342 mmid = mhp->attr.stag >> 8; in iwch_dereg_mr() 346 xa_erase_irq(&rhp->mrs, mmid); in iwch_dereg_mr() 350 pr_debug("%s mmid 0x%x ptr %p\n", __func__, mmid, mhp); in iwch_dereg_mr() 537 u32 mmid; in iwch_alloc_mw() local 558 mmid = (stag) >> 8; in iwch_alloc_mw() 560 if (xa_insert_irq(&rhp->mrs, mmid, mhp, GFP_KERNEL)) { in iwch_alloc_mw() 565 pr_debug("%s mmid 0x%x mhp %p stag 0x%x\n", __func__, mmid, mhp, stag); in iwch_alloc_mw() 573 u32 mmid; in iwch_dealloc_mw() local 577 mmid = (mw->rkey) >> 8; in iwch_dealloc_mw() [all …]
|
D | iwch.h | 146 static inline struct iwch_mr *get_mhp(struct iwch_dev *rhp, u32 mmid) in get_mhp() argument 148 return xa_load(&rhp->mrs, mmid); in get_mhp()
|
/Linux-v5.4/arch/mips/lib/ |
D | dump_tlb.c | 77 unsigned long s_entryhi, entryhi, asid, mmid; in dump_tlb() local 117 mmid = read_c0_memorymapid(); in dump_tlb() 119 mmid = entryhi & asidmask; in dump_tlb() 140 if (!((entrylo0 | entrylo1) & ENTRYLO_G) && (mmid != asid)) in dump_tlb() 153 asidwidth, mmid); in dump_tlb()
|
/Linux-v5.4/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 395 u32 mmid; in finish_mem_reg() local 399 mmid = stag >> 8; in finish_mem_reg() 404 pr_debug("mmid 0x%x mhp %p\n", mmid, mhp); in finish_mem_reg() 405 return xa_insert_irq(&mhp->rhp->mrs, mmid, mhp, GFP_KERNEL); in finish_mem_reg() 621 u32 mmid; in c4iw_alloc_mw() local 653 mmid = (stag) >> 8; in c4iw_alloc_mw() 655 if (xa_insert_irq(&rhp->mrs, mmid, mhp, GFP_KERNEL)) { in c4iw_alloc_mw() 659 pr_debug("mmid 0x%x mhp %p stag 0x%x\n", mmid, mhp, stag); in c4iw_alloc_mw() 678 u32 mmid; in c4iw_dealloc_mw() local 682 mmid = (mw->rkey) >> 8; in c4iw_dealloc_mw() [all …]
|
/Linux-v5.4/arch/mips/include/asm/ |
D | mmu_context.h | 109 return atomic64_read(&mm->context.mmid); in cpu_context() 118 atomic64_set(&mm->context.mmid, ctx); in set_cpu_context()
|
D | mmu.h | 12 atomic64_t mmid; member
|
/Linux-v5.4/arch/arm/mm/ |
D | tlb-v7.S | 34 mmid r3, r3 @ get vm_mm->context.id
|
D | tlb-v6.S | 36 mmid r3, r3 @ get vm_mm->context.id
|
D | proc-v7-3level.S | 47 mmid r2, r2
|
D | proc-v7-2level.S | 43 mmid r1, r1 @ get mm->context.id
|
D | proc-v6.S | 99 mmid r1, r1 @ get mm->context.id
|
D | proc-macros.S | 46 .macro mmid, rd, rn macro
|
/Linux-v5.4/arch/unicore32/mm/ |
D | proc-macros.S | 67 .macro mmid, rd, rn macro
|
/Linux-v5.4/arch/arm64/mm/ |
D | proc.S | 147 mmid x1, x1 // get mm->context.id
|
/Linux-v5.4/arch/arm64/include/asm/ |
D | assembler.h | 275 .macro mmid, rd, rn
|