Lines Matching refs:retbuf

104 	unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
106 rc = plpar_hcall(H_ENTER, retbuf, flags, hpte_group, hpte_v, hpte_r);
108 *slot = retbuf[0];
118 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
120 rc = plpar_hcall(H_REMOVE, retbuf, flags, ptex, avpn);
122 *old_pteh_ret = retbuf[0];
123 *old_ptel_ret = retbuf[1];
134 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
136 rc = plpar_hcall_raw(H_REMOVE, retbuf, flags, ptex, avpn);
138 *old_pteh_ret = retbuf[0];
139 *old_ptel_ret = retbuf[1];
148 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
150 rc = plpar_hcall(H_READ, retbuf, flags, ptex);
152 *old_pteh_ret = retbuf[0];
153 *old_ptel_ret = retbuf[1];
163 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
165 rc = plpar_hcall_raw(H_READ, retbuf, flags, ptex);
167 *old_pteh_ret = retbuf[0];
168 *old_ptel_ret = retbuf[1];
181 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE];
183 rc = plpar_hcall9(H_READ, retbuf, flags | H_READ_4, ptex);
185 memcpy(ptes, retbuf, 8*sizeof(unsigned long));
199 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE];
201 rc = plpar_hcall9_raw(H_READ, retbuf, flags | H_READ_4, ptex);
203 memcpy(ptes, retbuf, 8*sizeof(unsigned long));
230 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
232 rc = plpar_hcall(H_GET_TCE, retbuf, liobn, ioba);
234 *tce_ret = retbuf[0];
336 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
339 rc = plpar_hcall(H_GET_CPU_CHARACTERISTICS, retbuf);
341 p->character = retbuf[0];
342 p->behaviour = retbuf[1];
350 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
356 rc = plpar_hcall(H_GUEST_CREATE, retbuf, flags, token);
358 *guest_id = retbuf[0];
361 token = retbuf[0];
366 token = retbuf[0];
405 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
409 rc = plpar_hcall(H_GUEST_SET_STATE, retbuf, flags, guest_id,
423 *failed_index = retbuf[0];
425 *failed_index = retbuf[0];
427 *failed_index = retbuf[0];
442 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
446 rc = plpar_hcall(H_GUEST_GET_STATE, retbuf, flags, guest_id,
460 *failed_index = retbuf[0];
462 *failed_index = retbuf[0];
464 *failed_index = retbuf[0];
476 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
479 rc = plpar_hcall(H_GUEST_RUN_VCPU, retbuf, flags, guest_id, vcpu_id);
481 *trap = retbuf[0];
483 *failed_index = retbuf[0];
485 *failed_index = retbuf[0];
487 *failed_index = retbuf[0];
514 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
518 rc = plpar_hcall(H_GUEST_SET_CAPABILITIES, retbuf, flags, capabilities);
534 unsigned long retbuf[PLPAR_HCALL_BUFSIZE];
538 rc = plpar_hcall(H_GUEST_GET_CAPABILITIES, retbuf, flags);
549 *capabilities = retbuf[0];