Searched refs:asids (Results 1 - 16 of 16) sorted by relevance

/linux-4.4.14/arch/tile/kernel/
H A Dtlb.c36 HV_Remote_ASID asids[NR_CPUS]; flush_tlb_mm() local
39 HV_Remote_ASID *asid = &asids[i++]; for_each_cpu()
45 0, 0, 0, NULL, asids, i);
H A Drelocate_kernel_32.S106 move r8, zero /* asids */
H A Drelocate_kernel_64.S108 move r7, zero /* asids */
H A Dhvglue_trace.c268 HV_Remote_ASID*, asids, int, asidcount)
/linux-4.4.14/arch/tile/mm/
H A Dhomecache.c67 HV_Remote_ASID *asids, int asidcount) hv_flush_update()
80 cpumask_set_cpu(asids[i].y * smp_width + asids[i].x, &mask); hv_flush_update()
112 HV_Remote_ASID *asids, int asidcount) flush_remote()
142 asids, asidcount); flush_remote()
148 asids, asidcount); flush_remote()
156 cpumask_pr_args(&tlb_cpumask_copy), asids, asidcount, rc); flush_remote()
64 hv_flush_update(const struct cpumask *cache_cpumask, struct cpumask *tlb_cpumask, unsigned long tlb_va, unsigned long tlb_length, HV_Remote_ASID *asids, int asidcount) hv_flush_update() argument
107 flush_remote(unsigned long cache_pfn, unsigned long cache_control, const struct cpumask *cache_cpumask_orig, HV_VirtAddr tlb_va, unsigned long tlb_length, unsigned long tlb_pgsize, const struct cpumask *tlb_cpumask_orig, HV_Remote_ASID *asids, int asidcount) flush_remote() argument
H A Dmigrate.h53 HV_Remote_ASID *asids,
H A Dmigrate_32.S136 move r8, zero /* asids */
H A Dmigrate_64.S122 move r7, zero /* asids */
/linux-4.4.14/drivers/misc/sgi-gru/
H A Dgrutlbpurge.c139 * - asidmap[maxgrus]. bitmap to make it easier to find non-zero asids in
162 struct gru_mm_tracker *asids; gru_flush_tlb_range() local
181 asids = gms->ms_asids + gid; gru_flush_tlb_range()
182 asid = asids->mt_asid; gru_flush_tlb_range()
183 if (asids->mt_ctxbitmap && asid) { gru_flush_tlb_range()
188 gid, asid, start, grupagesize, num, asids->mt_ctxbitmap); gru_flush_tlb_range()
191 num - 1, asids->mt_ctxbitmap); gru_flush_tlb_range()
195 asids->mt_asid = 0; gru_flush_tlb_range()
199 gid, asid, asids->mt_ctxbitmap, gru_flush_tlb_range()
H A Dgrumain.c71 * Initially, assign asids sequentially from MIN_ASID .. MAX_ASID.
73 * some asids may still be in use. There won't be many (percentage wise) still
76 * This defines a block of assignable asids.
79 * next block of assignable asids.
84 * the search for in-use asids only checks contexts with GRUs currently
85 * assigned, asids in some contexts will be missed. Prior to loading
105 /* Find the next chunk of unused asids */ gru_reset_asid_limit()
241 struct gru_mm_tracker *asids = &gms->ms_asids[gru->gs_gid]; gru_load_mm_tracker() local
246 asid = asids->mt_asid; gru_load_mm_tracker()
249 if (asid == 0 || (asids->mt_ctxbitmap == 0 && asids->mt_asid_gen != gru_load_mm_tracker()
252 asids->mt_asid = asid; gru_load_mm_tracker()
253 asids->mt_asid_gen = gru->gs_asid_gen; gru_load_mm_tracker()
260 BUG_ON(asids->mt_ctxbitmap & ctxbitmap); gru_load_mm_tracker()
261 asids->mt_ctxbitmap |= ctxbitmap; gru_load_mm_tracker()
277 struct gru_mm_tracker *asids; gru_unload_mm_tracker() local
280 asids = &gms->ms_asids[gru->gs_gid]; gru_unload_mm_tracker()
284 BUG_ON((asids->mt_ctxbitmap & ctxbitmap) != ctxbitmap); gru_unload_mm_tracker()
285 asids->mt_ctxbitmap ^= ctxbitmap; gru_unload_mm_tracker()
H A Dgrutables.h426 assigning asids */
/linux-4.4.14/arch/sh/mm/
H A Dasids-debugfs.c66 asids_dentry = debugfs_create_file("asids", S_IRUSR, arch_debugfs_dir, asids_debugfs_init()
H A DMakefile23 debugfs-y := asids-debugfs.o
/linux-4.4.14/drivers/iommu/
H A Dtegra-smmu.c32 unsigned long *asids; member in struct:tegra_smmu
235 id = find_first_zero_bit(smmu->asids, smmu->soc->num_asids); tegra_smmu_alloc_asid()
241 set_bit(id, smmu->asids); tegra_smmu_alloc_asid()
251 clear_bit(id, smmu->asids); tegra_smmu_free_asid()
892 smmu->asids = devm_kzalloc(dev, size, GFP_KERNEL); tegra_smmu_probe()
893 if (!smmu->asids) tegra_smmu_probe()
/linux-4.4.14/arch/tile/include/asm/
H A Dhomecache.h55 HV_Remote_ASID *asids, int asidcount);
/linux-4.4.14/arch/tile/include/hv/
H A Dhypervisor.h1986 * @param asids Pointer to an HV_Remote_ASID array of tile/ASID pairs to flush.
1987 * @param asidcount Number of HV_Remote_ASID entries in asids[].
1995 HV_Remote_ASID* asids, int asidcount);

Completed in 541 milliseconds