Lines Matching refs:proto_version
53 c->proto_version == p9_proto_2000L ? rlerror_size : rerror_size; in p9_msg_buf_size()
106 if (c->proto_version == p9_proto_legacy) { in p9_msg_buf_size()
194 p9pdu_writef(struct p9_fcall *pdu, int proto_version, const char *fmt, ...);
258 p9pdu_vreadf(struct p9_fcall *pdu, int proto_version, const char *fmt, in p9pdu_vreadf() argument
308 errcode = p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
350 errcode = p9pdu_readf(pdu, proto_version, "bdq", in p9pdu_vreadf()
364 p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
384 p9pdu_readf(pdu, proto_version, "d", count); in p9pdu_vreadf()
399 errcode = p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
418 proto_version, in p9pdu_vreadf()
451 p9pdu_readf(pdu, proto_version, "w", nwqid); in p9pdu_vreadf()
467 proto_version, in p9pdu_vreadf()
487 p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
509 if ((proto_version != p9_proto_2000u) && in p9pdu_vreadf()
510 (proto_version != p9_proto_2000L)) in p9pdu_vreadf()
526 p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt, in p9pdu_vwritef() argument
565 errcode = p9pdu_writef(pdu, proto_version, in p9pdu_vwritef()
589 p9pdu_writef(pdu, proto_version, "bdq", in p9pdu_vwritef()
597 p9pdu_writef(pdu, proto_version, in p9pdu_vwritef()
612 errcode = p9pdu_writef(pdu, proto_version, "d", in p9pdu_vwritef()
622 errcode = p9pdu_writef(pdu, proto_version, "w", in p9pdu_vwritef()
630 proto_version, in p9pdu_vwritef()
644 errcode = p9pdu_writef(pdu, proto_version, "w", in p9pdu_vwritef()
652 proto_version, in p9pdu_vwritef()
665 errcode = p9pdu_writef(pdu, proto_version, in p9pdu_vwritef()
679 if ((proto_version != p9_proto_2000u) && in p9pdu_vwritef()
680 (proto_version != p9_proto_2000L)) in p9pdu_vwritef()
695 int p9pdu_readf(struct p9_fcall *pdu, int proto_version, const char *fmt, ...) in p9pdu_readf() argument
701 ret = p9pdu_vreadf(pdu, proto_version, fmt, ap); in p9pdu_readf()
708 p9pdu_writef(struct p9_fcall *pdu, int proto_version, const char *fmt, ...) in p9pdu_writef() argument
714 ret = p9pdu_vwritef(pdu, proto_version, fmt, ap); in p9pdu_writef()
730 ret = p9pdu_readf(&fake_pdu, clnt->proto_version, "S", st); in p9stat_read()
781 ret = p9pdu_readf(&fake_pdu, clnt->proto_version, "Qqbs", &dirent->qid, in p9dirent_read()