Lines Matching refs:retbuf
902 void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf) in __trace_hcall_exit() argument
918 trace_hcall_exit(opcode, retval, retbuf); in __trace_hcall_exit()
934 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in h_get_mpp() local
936 rc = plpar_hcall9(H_GET_MPP, retbuf); in h_get_mpp()
938 mpp_data->entitled_mem = retbuf[0]; in h_get_mpp()
939 mpp_data->mapped_mem = retbuf[1]; in h_get_mpp()
941 mpp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_mpp()
942 mpp_data->pool_num = retbuf[2] & 0xffff; in h_get_mpp()
944 mpp_data->mem_weight = (retbuf[3] >> 7 * 8) & 0xff; in h_get_mpp()
945 mpp_data->unallocated_mem_weight = (retbuf[3] >> 6 * 8) & 0xff; in h_get_mpp()
946 mpp_data->unallocated_entitlement = retbuf[3] & 0xffffffffffffUL; in h_get_mpp()
948 mpp_data->pool_size = retbuf[4]; in h_get_mpp()
949 mpp_data->loan_request = retbuf[5]; in h_get_mpp()
950 mpp_data->backing_mem = retbuf[6]; in h_get_mpp()
959 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE] = { 0 }; in h_get_mpp_x() local
961 rc = plpar_hcall9(H_GET_MPP_X, retbuf); in h_get_mpp_x()
963 mpp_x_data->coalesced_bytes = retbuf[0]; in h_get_mpp_x()
964 mpp_x_data->pool_coalesced_bytes = retbuf[1]; in h_get_mpp_x()
965 mpp_x_data->pool_purr_cycles = retbuf[2]; in h_get_mpp_x()
966 mpp_x_data->pool_spurr_cycles = retbuf[3]; in h_get_mpp_x()