Searched refs:gms (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
D | grutlbpurge.c | 145 void gru_flush_tlb_range(struct gru_mm_struct *gms, unsigned long start, in gru_flush_tlb_range() argument 161 gru_dbg(grudev, "gms %p, start 0x%lx, len 0x%lx, asidmap 0x%lx\n", gms, in gru_flush_tlb_range() 162 start, len, gms->ms_asidmap[0]); in gru_flush_tlb_range() 164 spin_lock(&gms->ms_asid_lock); in gru_flush_tlb_range() 165 for_each_gru_in_bitmap(gid, gms->ms_asidmap) { in gru_flush_tlb_range() 168 asids = gms->ms_asids + gid; in gru_flush_tlb_range() 183 __clear_bit(gru->gs_gid, gms->ms_asidmap); in gru_flush_tlb_range() 187 gms->ms_asidmap[0]); in gru_flush_tlb_range() 190 spin_unlock(&gms->ms_asid_lock); in gru_flush_tlb_range() 212 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_invalidate_range_start() local [all …]
|
D | grumain.c | 227 struct gru_mm_struct *gms = gts->ts_gms; in gru_load_mm_tracker() local 228 struct gru_mm_tracker *asids = &gms->ms_asids[gru->gs_gid]; in gru_load_mm_tracker() 232 spin_lock(&gms->ms_asid_lock); in gru_load_mm_tracker() 249 if (!test_bit(gru->gs_gid, gms->ms_asidmap)) in gru_load_mm_tracker() 250 __set_bit(gru->gs_gid, gms->ms_asidmap); in gru_load_mm_tracker() 251 spin_unlock(&gms->ms_asid_lock); in gru_load_mm_tracker() 255 gru->gs_gid, gts, gms, gts->ts_ctxnum, asid, in gru_load_mm_tracker() 256 gms->ms_asidmap[0]); in gru_load_mm_tracker() 263 struct gru_mm_struct *gms = gts->ts_gms; in gru_unload_mm_tracker() local 267 asids = &gms->ms_asids[gru->gs_gid]; in gru_unload_mm_tracker() [all …]
|
D | grufault.c | 617 struct gru_mm_struct *gms = gts->ts_gms; in gru_user_dropin() local 622 wait_event(gms->ms_wait_queue, in gru_user_dropin() 623 atomic_read(&gms->ms_range_active) == 0); in gru_user_dropin() 800 struct gru_mm_struct *gms; in gru_user_flush_tlb() local 813 gms = gts->ts_gms; in gru_user_flush_tlb() 815 gru_flush_tlb_range(gms, req.vaddr, req.len); in gru_user_flush_tlb()
|
D | grutables.h | 656 extern void gru_drop_mmu_notifier(struct gru_mm_struct *gms); 659 extern void gru_flush_tlb_range(struct gru_mm_struct *gms, unsigned long start,
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | early-quirks.c | 356 u16 gms; in i830_stolen_size() local 359 gms = gmch_ctrl & I830_GMCH_GMS_MASK; in i830_stolen_size() 361 switch (gms) { in i830_stolen_size() 377 u16 gms; in gen3_stolen_size() local 380 gms = gmch_ctrl & I855_GMCH_GMS_MASK; in gen3_stolen_size() 382 switch (gms) { in gen3_stolen_size() 406 u16 gms; in gen6_stolen_size() local 409 gms = (gmch_ctrl >> SNB_GMCH_GMS_SHIFT) & SNB_GMCH_GMS_MASK; in gen6_stolen_size() 411 return gms * MB(32); in gen6_stolen_size() 417 u16 gms; in gen8_stolen_size() local [all …]
|