Home
last modified time | relevance | path

Searched refs:gru_state (Results 1 – 8 of 8) sorted by relevance

/drivers/misc/sgi-gru/
Dgrumain.c97 static int gru_wrap_asid(struct gru_state *gru) in gru_wrap_asid()
106 static int gru_reset_asid_limit(struct gru_state *gru, int asid) in gru_reset_asid_limit()
150 static int gru_assign_asid(struct gru_state *gru) in gru_assign_asid()
185 unsigned long gru_reserve_cb_resources(struct gru_state *gru, int cbr_au_count, in gru_reserve_cb_resources()
192 unsigned long gru_reserve_ds_resources(struct gru_state *gru, int dsr_au_count, in gru_reserve_ds_resources()
199 static void reserve_gru_resources(struct gru_state *gru, in reserve_gru_resources()
210 static void free_gru_resources(struct gru_state *gru, in free_gru_resources()
225 static int check_gru_resources(struct gru_state *gru, int cbr_au_count, in check_gru_resources()
237 static int gru_load_mm_tracker(struct gru_state *gru, in gru_load_mm_tracker()
273 static void gru_unload_mm_tracker(struct gru_state *gru, in gru_unload_mm_tracker()
[all …]
Dgrutables.h307 struct gru_state;
354 struct gru_state *ts_gru; /* GRU where the context is
411 struct gru_state { struct
476 struct gru_state *bs_lru_gru; /* STEAL - last gru
479 struct gru_state bs_grus[GRU_CHIPLETS_PER_BLADE];
635 extern struct gru_state *gru_assign_gru_context(struct gru_thread_state *gts);
641 extern void gru_tgh_flush_init(struct gru_state *gru);
657 extern void gru_flush_all_tlb(struct gru_state *gru);
664 extern unsigned long gru_reserve_cb_resources(struct gru_state *gru,
666 extern unsigned long gru_reserve_ds_resources(struct gru_state *gru,
Dgrutlbpurge.c60 static inline int get_off_blade_tgh(struct gru_state *gru) in get_off_blade_tgh()
70 static inline int get_on_blade_tgh(struct gru_state *gru) in get_on_blade_tgh()
75 static struct gru_tlb_global_handle *get_lock_tgh_handle(struct gru_state in get_lock_tgh_handle()
161 struct gru_state *gru; in gru_flush_tlb_range()
209 void gru_flush_all_tlb(struct gru_state *gru) in gru_flush_all_tlb()
355 void gru_tgh_flush_init(struct gru_state *gru) in gru_tgh_flush_init()
Dgrukdump.c77 static int gru_dump_tfm(struct gru_state *gru, in gru_dump_tfm()
97 static int gru_dump_tgh(struct gru_state *gru, in gru_dump_tgh()
117 static int gru_dump_context(struct gru_state *gru, int ctxnum, in gru_dump_context()
187 struct gru_state *gru; in gru_dump_chiplet_request()
Dgrufault.c154 static void get_clear_fault_map(struct gru_state *gru, in get_clear_fault_map()
317 static void gru_preload_tlb(struct gru_state *gru, in gru_preload_tlb()
363 static int gru_try_dropin(struct gru_state *gru, in gru_try_dropin()
529 struct gru_state *gru; in gru_intr()
748 struct gru_state *gru; in gru_unload_all_contexts()
Dgrufile.c242 static void gru_init_chiplet(struct gru_state *gru, unsigned long paddr, in gru_init_chiplet()
270 struct gru_state *gru; in gru_init_tables()
316 int order = get_order(sizeof(struct gru_state) * in gru_free_tables()
Dgruprocfs.c176 struct gru_state *gru = GID_TO_GRU(gid); in cch_seq_show()
204 struct gru_state *gru = GID_TO_GRU(gid); in gru_seq_show()
Dgrukservices.c154 struct gru_state *gru; in gru_load_kernel_context()