Lines Matching refs:retbuf
729 unsigned long *retbuf) in __trace_hcall_exit() argument
745 trace_hcall_exit(opcode, retval, retbuf); in __trace_hcall_exit()
761 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in h_get_mpp() local
763 rc = plpar_hcall9(H_GET_MPP, retbuf); in h_get_mpp()
765 mpp_data->entitled_mem = retbuf[0]; in h_get_mpp()
766 mpp_data->mapped_mem = retbuf[1]; in h_get_mpp()
768 mpp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_mpp()
769 mpp_data->pool_num = retbuf[2] & 0xffff; in h_get_mpp()
771 mpp_data->mem_weight = (retbuf[3] >> 7 * 8) & 0xff; in h_get_mpp()
772 mpp_data->unallocated_mem_weight = (retbuf[3] >> 6 * 8) & 0xff; in h_get_mpp()
773 mpp_data->unallocated_entitlement = retbuf[3] & 0xffffffffffffUL; in h_get_mpp()
775 mpp_data->pool_size = retbuf[4]; in h_get_mpp()
776 mpp_data->loan_request = retbuf[5]; in h_get_mpp()
777 mpp_data->backing_mem = retbuf[6]; in h_get_mpp()
786 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE] = { 0 }; in h_get_mpp_x() local
788 rc = plpar_hcall9(H_GET_MPP_X, retbuf); in h_get_mpp_x()
790 mpp_x_data->coalesced_bytes = retbuf[0]; in h_get_mpp_x()
791 mpp_x_data->pool_coalesced_bytes = retbuf[1]; in h_get_mpp_x()
792 mpp_x_data->pool_purr_cycles = retbuf[2]; in h_get_mpp_x()
793 mpp_x_data->pool_spurr_cycles = retbuf[3]; in h_get_mpp_x()