Searched refs:gms (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/misc/sgi-gru/ |
D | grutlbpurge.c | 158 void gru_flush_tlb_range(struct gru_mm_struct *gms, unsigned long start, in gru_flush_tlb_range() argument 174 gru_dbg(grudev, "gms %p, start 0x%lx, len 0x%lx, asidmap 0x%lx\n", gms, in gru_flush_tlb_range() 175 start, len, gms->ms_asidmap[0]); in gru_flush_tlb_range() 177 spin_lock(&gms->ms_asid_lock); in gru_flush_tlb_range() 178 for_each_gru_in_bitmap(gid, gms->ms_asidmap) { in gru_flush_tlb_range() 181 asids = gms->ms_asids + gid; in gru_flush_tlb_range() 196 __clear_bit(gru->gs_gid, gms->ms_asidmap); in gru_flush_tlb_range() 200 gms->ms_asidmap[0]); in gru_flush_tlb_range() 203 spin_unlock(&gms->ms_asid_lock); in gru_flush_tlb_range() 226 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_invalidate_range_start() local [all …]
|
D | grumain.c | 239 struct gru_mm_struct *gms = gts->ts_gms; in gru_load_mm_tracker() local 240 struct gru_mm_tracker *asids = &gms->ms_asids[gru->gs_gid]; in gru_load_mm_tracker() 244 spin_lock(&gms->ms_asid_lock); in gru_load_mm_tracker() 261 if (!test_bit(gru->gs_gid, gms->ms_asidmap)) in gru_load_mm_tracker() 262 __set_bit(gru->gs_gid, gms->ms_asidmap); in gru_load_mm_tracker() 263 spin_unlock(&gms->ms_asid_lock); in gru_load_mm_tracker() 267 gru->gs_gid, gts, gms, gts->ts_ctxnum, asid, in gru_load_mm_tracker() 268 gms->ms_asidmap[0]); in gru_load_mm_tracker() 275 struct gru_mm_struct *gms = gts->ts_gms; in gru_unload_mm_tracker() local 279 asids = &gms->ms_asids[gru->gs_gid]; in gru_unload_mm_tracker() [all …]
|
D | grufault.c | 625 struct gru_mm_struct *gms = gts->ts_gms; in gru_user_dropin() local 630 wait_event(gms->ms_wait_queue, in gru_user_dropin() 631 atomic_read(&gms->ms_range_active) == 0); in gru_user_dropin() 803 struct gru_mm_struct *gms; in gru_user_flush_tlb() local 816 gms = gts->ts_gms; in gru_user_flush_tlb() 818 gru_flush_tlb_range(gms, req.vaddr, req.len); in gru_user_flush_tlb()
|
D | grutables.h | 670 extern void gru_drop_mmu_notifier(struct gru_mm_struct *gms); 673 extern void gru_flush_tlb_range(struct gru_mm_struct *gms, unsigned long start,
|