Searched refs:gts (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/misc/sgi-gru/ |
A D | grumain.c | 255 gru->gs_gid, gts, gms, gts->ts_ctxnum, asid, in gru_load_mm_tracker() 321 if (!gts) in gru_alloc_gts() 553 gts, gts->ts_cbr_map, gts->ts_dsr_map); in gru_unload_context() 624 err, cch, gts, gts->ts_cbr_map, gts->ts_dsr_map); in gru_load_context() 629 gts->ts_cbr_map, gts->ts_dsr_map, gts->ts_data_valid); in gru_load_context() 636 gts->ts_gru->gs_gid, gts, gts->ts_cbr_map, gts->ts_dsr_map, in gru_load_context() 655 if (gru->gs_gts[gts->ts_ctxnum] != gts) in gru_update_cch() 892 gru->gs_gts[gts->ts_ctxnum] = gts; in gru_assign_gru_context() 898 gseg_virtual_address(gts->ts_gru, gts->ts_ctxnum), gts, in gru_assign_gru_context() 899 gts->ts_gru->gs_gid, gts->ts_ctxnum, in gru_assign_gru_context() [all …]
|
A D | grufault.c | 76 if (gts) in gru_find_lock_gts() 80 return gts; in gru_find_lock_gts() 99 return gts; in gru_alloc_locked_gts() 103 return gts; in gru_alloc_locked_gts() 625 ret = gru_try_dropin(gts->ts_gru, gts, tfh, cb); in gru_user_dropin() 652 if (!gts) in gru_handle_user_call_os() 664 if (gts->ts_gru && gts->ts_force_cch_reload) { in gru_handle_user_call_os() 698 if (!gts) in gru_get_exception_detail() 750 if (gts && mutex_trylock(>s->ts_ctxlock)) { in gru_unload_all_contexts() 777 if (!gts) in gru_user_unload_context() [all …]
|
A D | grutables.h | 386 #define UGRUADDR(gts) ((gts)->ts_vma->vm_start + \ argument 387 (gts)->ts_tsid * GRU_GSEG_PAGESIZE) 494 #define thread_cbr_number(gts, n) ((gts)->ts_cbr_idx[(n) / GRU_CBR_AU_SIZE] \ argument 519 #define for_each_gts_on_gru(gts, gru, ctxnum) \ argument 521 if (((gts) = (gru)->gs_gts[ctxnum])) 594 static inline int is_kernel_context(struct gru_thread_state *gts) in is_kernel_context() argument 596 return !gts->ts_mm; in is_kernel_context() 623 extern void gru_load_context(struct gru_thread_state *gts); 624 extern void gru_steal_context(struct gru_thread_state *gts); 626 extern int gru_update_cch(struct gru_thread_state *gts); [all …]
|
A D | grukdump.c | 114 struct gru_thread_state *gts; in gru_dump_context() local 140 gts = gru->gs_gts[ctxnum]; in gru_dump_context() 141 if (gts && gts->ts_vma) { in gru_dump_context() 142 hdr.pid = gts->ts_tgid_owner; in gru_dump_context() 143 hdr.vaddr = gts->ts_vma->vm_start; in gru_dump_context()
|
A D | grufile.c | 64 struct gru_thread_state *gts; in gru_vma_close() local 75 gts = in gru_vma_close() 77 list_del(>s->ts_next); in gru_vma_close() 78 mutex_lock(>s->ts_ctxlock); in gru_vma_close() 79 if (gts->ts_gru) in gru_vma_close() 80 gru_unload_context(gts, 0); in gru_vma_close() 81 mutex_unlock(>s->ts_ctxlock); in gru_vma_close() 82 gts_drop(gts); in gru_vma_close()
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | t4.h | 681 void __iomem *gts; member 709 writel(val | INGRESSQID_V(cq->cqid), cq->gts); in write_gts()
|
A D | cq.c | 160 cq->gts = rdev->lldi.gts_reg; in create_cq()
|
Completed in 30 milliseconds