Home
last modified time | relevance | path

Searched refs:mmid (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/arch/mips/mm/
Dcontext.c66 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-v6.1/arch/mips/lib/
Ddump_tlb.c68 unsigned long s_entryhi, entryhi, asid, mmid; in dump_tlb() local
108 mmid = read_c0_memorymapid(); in dump_tlb()
110 mmid = entryhi & asidmask; in dump_tlb()
131 if (!((entrylo0 | entrylo1) & ENTRYLO_G) && (mmid != asid)) in dump_tlb()
144 asidwidth, mmid); in dump_tlb()
/Linux-v6.1/drivers/infiniband/hw/cxgb4/
Dmem.c379 u32 mmid; in finish_mem_reg() local
383 mmid = stag >> 8; in finish_mem_reg()
387 pr_debug("mmid 0x%x mhp %p\n", mmid, mhp); in finish_mem_reg()
388 return xa_insert_irq(&mhp->rhp->mrs, mmid, mhp, GFP_KERNEL); in finish_mem_reg()
604 u32 mmid; in c4iw_alloc_mr() local
652 mmid = (stag) >> 8; in c4iw_alloc_mr()
654 if (xa_insert_irq(&rhp->mrs, mmid, mhp, GFP_KERNEL)) { in c4iw_alloc_mr()
659 pr_debug("mmid 0x%x mhp %p stag 0x%x\n", mmid, mhp, stag); in c4iw_alloc_mr()
704 u32 mmid; in c4iw_dereg_mr() local
710 mmid = mhp->attr.stag >> 8; in c4iw_dereg_mr()
[all …]
/Linux-v6.1/arch/mips/include/asm/
Dmmu_context.h109 return atomic64_read(&mm->context.mmid); in cpu_context()
118 atomic64_set(&mm->context.mmid, ctx); in set_cpu_context()
Dmmu.h12 atomic64_t mmid; member
/Linux-v6.1/arch/arm/mm/
Dtlb-v7.S34 mmid r3, r3 @ get vm_mm->context.id
Dtlb-v6.S36 mmid r3, r3 @ get vm_mm->context.id
Dproc-v7-3level.S47 mmid r2, r2
Dproc-v7-2level.S43 mmid r1, r1 @ get mm->context.id
Dproc-v6.S99 mmid r1, r1 @ get mm->context.id
Dproc-macros.S44 .macro mmid, rd, rn macro