Lines Matching refs:blade_id
152 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()
324 ret = ASYNC_BID_TO_HAN(blade_id); in gru_reserve_async_resources()
374 int blade_id = ASYNC_HAN_TO_BID(han); in gru_lock_async_resource() local
377 gru_lock_kernel_context(blade_id); in gru_lock_async_resource()
378 ncpus = uv_blade_nr_possible_cpus(blade_id); in gru_lock_async_resource()
393 int blade_id = ASYNC_HAN_TO_BID(han); in gru_unlock_async_resource() local
395 gru_unlock_kernel_context(blade_id); in gru_unlock_async_resource()
1058 int blade_id = 0; in quicktest2() local
1072 han = gru_reserve_async_resources(blade_id, numcb, 0, &cmp); in quicktest2()