Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
Dgrutables.h334 struct gru_thread_state { struct
436 struct gru_thread_state *gs_gts[GRU_NUM_CCH]; /* GTS currently using
450 struct gru_thread_state *bs_kgts; /* GTS for kernel use */
593 static inline int is_kernel_context(struct gru_thread_state *gts) in is_kernel_context()
617 extern struct gru_thread_state *gru_find_thread_state(struct vm_area_struct
619 extern struct gru_thread_state *gru_alloc_thread_state(struct vm_area_struct
621 extern struct gru_state *gru_assign_gru_context(struct gru_thread_state *gts);
622 extern void gru_load_context(struct gru_thread_state *gts);
623 extern void gru_steal_context(struct gru_thread_state *gts);
624 extern void gru_unload_context(struct gru_thread_state *gts, int savestate);
[all …]
Dgrumain.c187 struct gru_thread_state *gts) in reserve_gru_resources()
198 struct gru_thread_state *gts) in free_gru_resources()
225 struct gru_thread_state *gts) in gru_load_mm_tracker()
261 struct gru_thread_state *gts) in gru_unload_mm_tracker()
283 void gts_drop(struct gru_thread_state *gts) in gts_drop()
296 static struct gru_thread_state *gru_find_current_gts_nolock(struct gru_vma_data in gru_find_current_gts_nolock()
299 struct gru_thread_state *gts; in gru_find_current_gts_nolock()
310 struct gru_thread_state *gru_alloc_gts(struct vm_area_struct *vma, in gru_alloc_gts()
314 struct gru_thread_state *gts; in gru_alloc_gts()
319 bytes += sizeof(struct gru_thread_state); in gru_alloc_gts()
[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()
294 struct gru_thread_state *kgts; in gru_reserve_async_resources()
391 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()