Searched refs:gru_base (Results 1 – 7 of 7) sorted by relevance
37 struct gru_blade_state *gru_base[GRU_MAX_BLADES] __read_mostly; variable238 gru->gs_blade = gru_base[blade_id]; in gru_init_chiplet()270 gru_base[bid] = page_address(page); in gru_init_tables()271 memset(gru_base[bid], 0, sizeof(struct gru_blade_state)); in gru_init_tables()272 gru_base[bid]->bs_lru_gru = &gru_base[bid]->bs_grus[0]; in gru_init_tables()273 spin_lock_init(&gru_base[bid]->bs_lock); in gru_init_tables()274 init_rwsem(&gru_base[bid]->bs_kgts_sema); in gru_init_tables()278 for (gru = gru_base[bid]->bs_grus, chip = 0; in gru_init_tables()297 free_pages((unsigned long)gru_base[bid], order); in gru_init_tables()308 free_pages((unsigned long)gru_base[bid], order); in gru_free_tables()[all …]
144 extern struct gru_blade_state *gru_base[];487 #define get_gru(b, c) (&gru_base[b]->bs_grus[c])499 (gru_base[(gid) / GRU_CHIPLETS_PER_BLADE] ? \500 (&gru_base[(gid) / GRU_CHIPLETS_PER_BLADE]-> \510 for ((gru) = gru_base[nid]->bs_grus, (i) = 0; \
89 #define ASYNC_HAN_TO_BS(h) gru_base[ASYNC_HAN_TO_BID(h)]194 bs = gru_base[bid]; in gru_free_kernel_contexts()224 bs = gru_base[bid]; in gru_lock_kernel_context()246 bs = gru_base[blade_id]; in gru_unlock_kernel_context()295 bs = gru_base[blade_id]; in gru_reserve_async_resources()399 if (!gru_base[bid]) in gru_get_cb_exception_detail()401 kgts = gru_base[bid]->bs_kgts; in gru_get_cb_exception_detail()
530 gru = &gru_base[blade]->bs_grus[chiplet]; in gru_intr()877 (req.val1 >= 0 && !gru_base[req.val1])) { in gru_set_context_option()
789 blade = gru_base[blade_id]; in gru_steal_context()
61 u64 gru_base; member
1222 hi->global_gru_base = uv_gp_table->gru_base; in uv_init_hub_info()1255 uv_gp_table->gru_base, uv_gp_table->gru_shift, in decode_gam_params()