Home
last modified time | relevance | path

Searched refs:blade_id (Results 1 – 4 of 4) sorted by relevance

/drivers/misc/sgi-gru/
Dgrukservices.c152 static void gru_load_kernel_context(struct gru_blade_state *bs, int blade_id) in gru_load_kernel_context() argument
164 bs->bs_kgts->ts_user_blade_id = blade_id; in gru_load_kernel_context()
170 ncpus = uv_blade_nr_possible_cpus(blade_id); in gru_load_kernel_context()
223 static struct gru_blade_state *gru_lock_kernel_context(int blade_id) in gru_lock_kernel_context() argument
230 bid = blade_id < 0 ? uv_numa_blade_id() : blade_id; in gru_lock_kernel_context()
235 if (blade_id < 0 && bid != uv_numa_blade_id()) { in gru_lock_kernel_context()
249 static void gru_unlock_kernel_context(int blade_id) in gru_unlock_kernel_context() argument
253 bs = gru_base[blade_id]; in gru_unlock_kernel_context()
297 unsigned long gru_reserve_async_resources(int blade_id, int cbrs, int dsr_bytes, in gru_reserve_async_resources() argument
304 bs = gru_base[blade_id]; in gru_reserve_async_resources()
[all …]
Dgrumain.c715 int blade_id; in gru_check_chiplet_assignment() local
718 blade_id = gts->ts_user_blade_id; in gru_check_chiplet_assignment()
719 if (blade_id < 0) in gru_check_chiplet_assignment()
720 blade_id = uv_numa_blade_id(); in gru_check_chiplet_assignment()
723 return gru->gs_blade_id == blade_id && in gru_check_chiplet_assignment()
789 int blade_id; in gru_steal_context() local
791 blade_id = gts->ts_user_blade_id; in gru_steal_context()
792 if (blade_id < 0) in gru_steal_context()
793 blade_id = uv_numa_blade_id(); in gru_steal_context()
797 blade = gru_base[blade_id]; in gru_steal_context()
[all …]
Dgrufile.c238 void *vaddr, int blade_id, int chiplet_id) in gru_init_chiplet() argument
244 gru->gs_gid = blade_id * GRU_CHIPLETS_PER_BLADE + chiplet_id; in gru_init_chiplet()
245 gru->gs_blade = gru_base[blade_id]; in gru_init_chiplet()
246 gru->gs_blade_id = blade_id; in gru_init_chiplet()
255 blade_id, gru->gs_gid, gru->gs_gru_base_vaddr, in gru_init_chiplet()
Dgrukservices.h176 extern unsigned long gru_reserve_async_resources(int blade_id, int cbrs, int dsr_bytes,