Lines Matching refs:dsr
100 static int gru_get_cpu_resources(int dsr_bytes, void **cb, void **dsr) in gru_get_cpu_resources() argument
110 *dsr = bs->kernel_dsr + lcpu * GRU_NUM_KERNEL_DSR_BYTES; in gru_get_cpu_resources()
114 static void gru_free_cpu_resources(void *cb, void *dsr) in gru_free_cpu_resources() argument
464 void *dsr; in gru_send_message_gpa() local
471 if (gru_get_cpu_resources(bytes, &cb, &dsr)) in gru_send_message_gpa()
473 memcpy(dsr, mesg, bytes); in gru_send_message_gpa()
474 mhdr = dsr; in gru_send_message_gpa()
487 ret = send_message_failure(cb, mq, dsr, clines); in gru_send_message_gpa()
489 gru_free_cpu_resources(cb, dsr); in gru_send_message_gpa()
572 void *dsr; in gru_copy_gpa() local
576 if (gru_get_cpu_resources(GRU_NUM_KERNEL_DSR_BYTES, &cb, &dsr)) in gru_copy_gpa()
578 gru_bcopy(cb, src_gpa, dest_gpa, gru_get_tri(dsr), in gru_copy_gpa()
581 gru_free_cpu_resources(cb, dsr); in gru_copy_gpa()