Searched refs:blade_id (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
D | grukservices.c | 140 static void gru_load_kernel_context(struct gru_blade_state *bs, int blade_id) in gru_load_kernel_context() argument 157 bs->bs_kgts->ts_user_blade_id = blade_id; in gru_load_kernel_context() 163 ncpus = uv_blade_nr_possible_cpus(blade_id); in gru_load_kernel_context() 216 static struct gru_blade_state *gru_lock_kernel_context(int blade_id) in gru_lock_kernel_context() argument 223 bid = blade_id < 0 ? uv_numa_blade_id() : blade_id; in gru_lock_kernel_context() 228 if (blade_id < 0 && bid != uv_numa_blade_id()) { in gru_lock_kernel_context() 242 static void gru_unlock_kernel_context(int blade_id) in gru_unlock_kernel_context() argument 246 bs = gru_base[blade_id]; in gru_unlock_kernel_context() 290 unsigned long gru_reserve_async_resources(int blade_id, int cbrs, int dsr_bytes, in gru_reserve_async_resources() argument 297 bs = gru_base[blade_id]; in gru_reserve_async_resources() [all …]
|
D | grumain.c | 702 int blade_id; in gru_check_chiplet_assignment() local 705 blade_id = gts->ts_user_blade_id; in gru_check_chiplet_assignment() 706 if (blade_id < 0) in gru_check_chiplet_assignment() 707 blade_id = uv_numa_blade_id(); in gru_check_chiplet_assignment() 710 return gru->gs_blade_id == blade_id && in gru_check_chiplet_assignment() 785 int blade_id; in gru_steal_context() local 787 blade_id = gts->ts_user_blade_id; in gru_steal_context() 788 if (blade_id < 0) in gru_steal_context() 789 blade_id = uv_numa_blade_id(); in gru_steal_context() 793 blade = gru_base[blade_id]; in gru_steal_context() [all …]
|
D | grufile.c | 231 void *vaddr, int blade_id, int chiplet_id) in gru_init_chiplet() argument 237 gru->gs_gid = blade_id * GRU_CHIPLETS_PER_BLADE + chiplet_id; in gru_init_chiplet() 238 gru->gs_blade = gru_base[blade_id]; in gru_init_chiplet() 239 gru->gs_blade_id = blade_id; in gru_init_chiplet() 248 blade_id, gru->gs_gid, gru->gs_gru_base_vaddr, in gru_init_chiplet()
|
D | grukservices.h | 163 extern unsigned long gru_reserve_async_resources(int blade_id, int cbrs, int dsr_bytes,
|