Searched refs:blade_id (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/misc/sgi-gru/ |
D | grukservices.c | 151 static void gru_load_kernel_context(struct gru_blade_state *bs, int blade_id) in gru_load_kernel_context() argument 163 bs->bs_kgts->ts_user_blade_id = blade_id; in gru_load_kernel_context() 169 ncpus = uv_blade_nr_possible_cpus(blade_id); in gru_load_kernel_context() 222 static struct gru_blade_state *gru_lock_kernel_context(int blade_id) in gru_lock_kernel_context() argument 229 bid = blade_id < 0 ? uv_numa_blade_id() : blade_id; in gru_lock_kernel_context() 234 if (blade_id < 0 && bid != uv_numa_blade_id()) { in gru_lock_kernel_context() 248 static void gru_unlock_kernel_context(int blade_id) in gru_unlock_kernel_context() argument 252 bs = gru_base[blade_id]; in gru_unlock_kernel_context() 296 unsigned long gru_reserve_async_resources(int blade_id, int cbrs, int dsr_bytes, in gru_reserve_async_resources() argument 303 bs = gru_base[blade_id]; in gru_reserve_async_resources() [all …]
|
D | grumain.c | 714 int blade_id; in gru_check_chiplet_assignment() local 717 blade_id = gts->ts_user_blade_id; in gru_check_chiplet_assignment() 718 if (blade_id < 0) in gru_check_chiplet_assignment() 719 blade_id = uv_numa_blade_id(); in gru_check_chiplet_assignment() 722 return gru->gs_blade_id == blade_id && in gru_check_chiplet_assignment() 788 int blade_id; in gru_steal_context() local 790 blade_id = gts->ts_user_blade_id; in gru_steal_context() 791 if (blade_id < 0) in gru_steal_context() 792 blade_id = uv_numa_blade_id(); in gru_steal_context() 796 blade = gru_base[blade_id]; in gru_steal_context() [all …]
|
D | grufile.c | 238 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()
|
D | grukservices.h | 176 extern unsigned long gru_reserve_async_resources(int blade_id, int cbrs, int dsr_bytes,
|