Lines Matching refs:errcode
104 int errcode = 0; in p9pdu_vreadf() local
111 errcode = -EFAULT; in p9pdu_vreadf()
120 errcode = -EFAULT; in p9pdu_vreadf()
130 errcode = -EFAULT; in p9pdu_vreadf()
140 errcode = -EFAULT; in p9pdu_vreadf()
150 errcode = p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
152 if (errcode) in p9pdu_vreadf()
157 errcode = -EFAULT; in p9pdu_vreadf()
161 errcode = -EFAULT; in p9pdu_vreadf()
172 errcode = -EFAULT; in p9pdu_vreadf()
182 errcode = -EFAULT; in p9pdu_vreadf()
192 errcode = p9pdu_readf(pdu, proto_version, "bdq", in p9pdu_vreadf()
205 errcode = in p9pdu_vreadf()
217 if (errcode) in p9pdu_vreadf()
225 errcode = in p9pdu_vreadf()
227 if (!errcode) { in p9pdu_vreadf()
239 errcode = p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
241 if (!errcode) { in p9pdu_vreadf()
246 errcode = -ENOMEM; in p9pdu_vreadf()
249 if (!errcode) { in p9pdu_vreadf()
253 errcode = in p9pdu_vreadf()
258 if (errcode) in p9pdu_vreadf()
263 if (errcode) { in p9pdu_vreadf()
282 errcode = in p9pdu_vreadf()
284 if (!errcode) { in p9pdu_vreadf()
290 errcode = -ENOMEM; in p9pdu_vreadf()
293 if (!errcode) { in p9pdu_vreadf()
297 errcode = in p9pdu_vreadf()
302 if (errcode) in p9pdu_vreadf()
307 if (errcode) { in p9pdu_vreadf()
318 errcode = in p9pdu_vreadf()
350 if (errcode) in p9pdu_vreadf()
354 return errcode; in p9pdu_vreadf()
362 int errcode = 0; in p9pdu_vwritef() local
369 errcode = -EFAULT; in p9pdu_vwritef()
375 errcode = -EFAULT; in p9pdu_vwritef()
381 errcode = -EFAULT; in p9pdu_vwritef()
387 errcode = -EFAULT; in p9pdu_vwritef()
397 errcode = p9pdu_writef(pdu, proto_version, in p9pdu_vwritef()
399 if (!errcode && pdu_write(pdu, sptr, len)) in p9pdu_vwritef()
400 errcode = -EFAULT; in p9pdu_vwritef()
408 errcode = -EFAULT; in p9pdu_vwritef()
415 errcode = -EFAULT; in p9pdu_vwritef()
420 errcode = in p9pdu_vwritef()
428 errcode = in p9pdu_vwritef()
444 errcode = p9pdu_writef(pdu, proto_version, "d", in p9pdu_vwritef()
446 if (!errcode && pdu_write(pdu, data, count)) in p9pdu_vwritef()
447 errcode = -EFAULT; in p9pdu_vwritef()
454 errcode = p9pdu_writef(pdu, proto_version, "d", in p9pdu_vwritef()
456 if (!errcode && pdu_write_u(pdu, udata, count)) in p9pdu_vwritef()
457 errcode = -EFAULT; in p9pdu_vwritef()
464 errcode = p9pdu_writef(pdu, proto_version, "w", in p9pdu_vwritef()
466 if (!errcode) { in p9pdu_vwritef()
470 errcode = in p9pdu_vwritef()
475 if (errcode) in p9pdu_vwritef()
486 errcode = p9pdu_writef(pdu, proto_version, "w", in p9pdu_vwritef()
488 if (!errcode) { in p9pdu_vwritef()
492 errcode = in p9pdu_vwritef()
497 if (errcode) in p9pdu_vwritef()
507 errcode = p9pdu_writef(pdu, proto_version, in p9pdu_vwritef()
530 if (errcode) in p9pdu_vwritef()
534 return errcode; in p9pdu_vwritef()