Lines Matching refs:retbuf

102 	unsigned long retbuf[PLPAR_HCALL_BUFSIZE];  in plpar_pte_enter()  local
104 rc = plpar_hcall(H_ENTER, retbuf, flags, hpte_group, hpte_v, hpte_r); in plpar_pte_enter()
106 *slot = retbuf[0]; in plpar_pte_enter()
116 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_remove() local
118 rc = plpar_hcall(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove()
120 *old_pteh_ret = retbuf[0]; in plpar_pte_remove()
121 *old_ptel_ret = retbuf[1]; in plpar_pte_remove()
132 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_remove_raw() local
134 rc = plpar_hcall_raw(H_REMOVE, retbuf, flags, ptex, avpn); in plpar_pte_remove_raw()
136 *old_pteh_ret = retbuf[0]; in plpar_pte_remove_raw()
137 *old_ptel_ret = retbuf[1]; in plpar_pte_remove_raw()
146 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_read() local
148 rc = plpar_hcall(H_READ, retbuf, flags, ptex); in plpar_pte_read()
150 *old_pteh_ret = retbuf[0]; in plpar_pte_read()
151 *old_ptel_ret = retbuf[1]; in plpar_pte_read()
161 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_read_raw() local
163 rc = plpar_hcall_raw(H_READ, retbuf, flags, ptex); in plpar_pte_read_raw()
165 *old_pteh_ret = retbuf[0]; in plpar_pte_read_raw()
166 *old_ptel_ret = retbuf[1]; in plpar_pte_read_raw()
179 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in plpar_pte_read_4() local
181 rc = plpar_hcall9(H_READ, retbuf, flags | H_READ_4, ptex); in plpar_pte_read_4()
183 memcpy(ptes, retbuf, 8*sizeof(unsigned long)); in plpar_pte_read_4()
197 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in plpar_pte_read_4_raw() local
199 rc = plpar_hcall9_raw(H_READ, retbuf, flags | H_READ_4, ptex); in plpar_pte_read_4_raw()
201 memcpy(ptes, retbuf, 8*sizeof(unsigned long)); in plpar_pte_read_4_raw()
228 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_tce_get() local
230 rc = plpar_hcall(H_GET_TCE, retbuf, liobn, ioba); in plpar_tce_get()
232 *tce_ret = retbuf[0]; in plpar_tce_get()
334 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_get_cpu_characteristics() local
337 rc = plpar_hcall(H_GET_CPU_CHARACTERISTICS, retbuf); in plpar_get_cpu_characteristics()
339 p->character = retbuf[0]; in plpar_get_cpu_characteristics()
340 p->behaviour = retbuf[1]; in plpar_get_cpu_characteristics()