Home
last modified time | relevance | path

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

/linux-4.19.296/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
169 bs->bs_kgts->ts_user_blade_id = blade_id; in gru_load_kernel_context()
175 ncpus = uv_blade_nr_possible_cpus(blade_id); in gru_load_kernel_context()
228 static struct gru_blade_state *gru_lock_kernel_context(int blade_id) in gru_lock_kernel_context() argument
235 bid = blade_id < 0 ? uv_numa_blade_id() : blade_id; in gru_lock_kernel_context()
240 if (blade_id < 0 && bid != uv_numa_blade_id()) { in gru_lock_kernel_context()
254 static void gru_unlock_kernel_context(int blade_id) in gru_unlock_kernel_context() argument
258 bs = gru_base[blade_id]; in gru_unlock_kernel_context()
302 unsigned long gru_reserve_async_resources(int blade_id, int cbrs, int dsr_bytes, in gru_reserve_async_resources() argument
309 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()
798 int blade_id; in gru_steal_context() local
800 blade_id = gts->ts_user_blade_id; in gru_steal_context()
801 if (blade_id < 0) in gru_steal_context()
802 blade_id = uv_numa_blade_id(); in gru_steal_context()
806 blade = gru_base[blade_id]; in gru_steal_context()
[all …]
Dgrufile.c243 void *vaddr, int blade_id, int chiplet_id) in gru_init_chiplet() argument
249 gru->gs_gid = blade_id * GRU_CHIPLETS_PER_BLADE + chiplet_id; in gru_init_chiplet()
250 gru->gs_blade = gru_base[blade_id]; in gru_init_chiplet()
251 gru->gs_blade_id = blade_id; in gru_init_chiplet()
260 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,