Lines Matching refs:blade_id
151 static void gru_load_kernel_context(struct gru_blade_state *bs, int blade_id)
163 bs->bs_kgts->ts_user_blade_id = blade_id;
169 ncpus = uv_blade_nr_possible_cpus(blade_id);
222 static struct gru_blade_state *gru_lock_kernel_context(int blade_id)
229 bid = blade_id < 0 ? uv_numa_blade_id() : blade_id;
234 if (blade_id < 0 && bid != uv_numa_blade_id()) {
248 static void gru_unlock_kernel_context(int blade_id)
252 bs = gru_base[blade_id];
289 * blade_id - blade on which resources should be reserved
296 unsigned long gru_reserve_async_resources(int blade_id, int cbrs, int dsr_bytes,
303 bs = gru_base[blade_id];
318 ret = ASYNC_BID_TO_HAN(blade_id);
368 int blade_id = ASYNC_HAN_TO_BID(han);
371 gru_lock_kernel_context(blade_id);
372 ncpus = uv_blade_nr_possible_cpus(blade_id);
387 int blade_id = ASYNC_HAN_TO_BID(han);
389 gru_unlock_kernel_context(blade_id);
1048 int blade_id = 0;
1062 han = gru_reserve_async_resources(blade_id, numcb, 0, &cmp);