Home
last modified time | relevance | path

Searched refs:gru_thread_state (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/misc/sgi-gru/
Dgrumain.c183 struct gru_thread_state *gts) in reserve_gru_resources()
194 struct gru_thread_state *gts) in free_gru_resources()
221 struct gru_thread_state *gts) in gru_load_mm_tracker()
257 struct gru_thread_state *gts) in gru_unload_mm_tracker()
279 void gts_drop(struct gru_thread_state *gts) in gts_drop()
292 static struct gru_thread_state *gru_find_current_gts_nolock(struct gru_vma_data in gru_find_current_gts_nolock()
295 struct gru_thread_state *gts; in gru_find_current_gts_nolock()
306 struct gru_thread_state *gru_alloc_gts(struct vm_area_struct *vma, in gru_alloc_gts()
310 struct gru_thread_state *gts; in gru_alloc_gts()
315 bytes += sizeof(struct gru_thread_state); in gru_alloc_gts()
[all …]
Dgrutables.h335 struct gru_thread_state { struct
437 struct gru_thread_state *gs_gts[GRU_NUM_CCH]; /* GTS currently using
451 struct gru_thread_state *bs_kgts; /* GTS for kernel use */
588 static inline int is_kernel_context(struct gru_thread_state *gts) in is_kernel_context()
612 extern struct gru_thread_state *gru_find_thread_state(struct vm_area_struct
614 extern struct gru_thread_state *gru_alloc_thread_state(struct vm_area_struct
616 extern struct gru_state *gru_assign_gru_context(struct gru_thread_state *gts);
617 extern void gru_load_context(struct gru_thread_state *gts);
618 extern void gru_steal_context(struct gru_thread_state *gts);
619 extern void gru_unload_context(struct gru_thread_state *gts, int savestate);
[all …]
Dgrufault.c66 static struct gru_thread_state *gru_find_lock_gts(unsigned long vaddr) in gru_find_lock_gts()
70 struct gru_thread_state *gts = NULL; in gru_find_lock_gts()
83 static struct gru_thread_state *gru_alloc_locked_gts(unsigned long vaddr) in gru_alloc_locked_gts()
87 struct gru_thread_state *gts = ERR_PTR(-EINVAL); in gru_alloc_locked_gts()
109 static void gru_unlock_gts(struct gru_thread_state *gts) in gru_unlock_gts()
252 static int gru_vtop(struct gru_thread_state *gts, unsigned long vaddr, in gru_vtop()
310 struct gru_thread_state *gts, int atomic, in gru_preload_tlb()
356 struct gru_thread_state *gts, in gru_try_dropin()
523 struct gru_thread_state *gts; in gru_intr()
613 static int gru_user_dropin(struct gru_thread_state *gts, in gru_user_dropin()
[all …]
Dgrukservices.c143 struct gru_thread_state *kgts; in gru_load_kernel_context()
190 struct gru_thread_state *kgts; in gru_free_kernel_contexts()
292 struct gru_thread_state *kgts; in gru_reserve_async_resources()
389 struct gru_thread_state *kgts = NULL; in gru_get_cb_exception_detail()
Dgrufile.c64 struct gru_thread_state *gts; in gru_vma_close()
76 list_entry(entry, struct gru_thread_state, ts_next); in gru_vma_close()
Dgrukdump.c114 struct gru_thread_state *gts; in gru_dump_context()
Dgruprocfs.c164 struct gru_thread_state *ts; in cch_seq_show()