Lines Matching refs:proto_version

58 	return clnt->proto_version == p9_proto_2000L;  in p9_is_proto_dotl()
64 return clnt->proto_version == p9_proto_2000u; in p9_is_proto_dotu()
74 switch (clnt->proto_version) { in p9_show_client_options()
143 clnt->proto_version = p9_proto_2000L; in parse_opts()
198 clnt->proto_version = p9_proto_legacy; in parse_opts()
212 clnt->proto_version = r; in parse_opts()
527 err = p9pdu_readf(&req->rc, c->proto_version, "s?d", in p9_check_errors()
543 err = p9pdu_readf(&req->rc, c->proto_version, "d", &ecode); in p9_check_errors()
614 err = p9pdu_readf(&req->rc, c->proto_version, "s?d", in p9_check_zc_errors()
630 err = p9pdu_readf(&req->rc, c->proto_version, "d", &ecode); in p9_check_zc_errors()
709 err = p9pdu_vwritef(&req->tc, c->proto_version, fmt, ap); in p9_client_prepare_req()
945 c->msize, c->proto_version); in p9_client_version()
947 switch (c->proto_version) { in p9_client_version()
967 err = p9pdu_readf(&req->rc, c->proto_version, "ds", &msize, &version); in p9_client_version()
976 c->proto_version = p9_proto_2000L; in p9_client_version()
978 c->proto_version = p9_proto_2000u; in p9_client_version()
980 c->proto_version = p9_proto_legacy; in p9_client_version()
1041 clnt, clnt->trans_mod, clnt->msize, clnt->proto_version); in p9_client_create()
1145 err = p9pdu_readf(&req->rc, clnt->proto_version, "Q", &qid); in p9_client_attach()
1201 err = p9pdu_readf(&req->rc, clnt->proto_version, "R", &nwqids, &wqids); in p9_client_walk()
1268 err = p9pdu_readf(&req->rc, clnt->proto_version, "Qd", &qid, &iounit); in p9_client_open()
1313 err = p9pdu_readf(&req->rc, clnt->proto_version, "Qd", qid, &iounit); in p9_client_create_dotl()
1359 err = p9pdu_readf(&req->rc, clnt->proto_version, "Qd", &qid, &iounit); in p9_client_fcreate()
1399 err = p9pdu_readf(&req->rc, clnt->proto_version, "Q", qid); in p9_client_symlink()
1615 *err = p9pdu_readf(&req->rc, clnt->proto_version, in p9_client_read_once()
1680 *err = p9pdu_readf(&req->rc, clnt->proto_version, "d", &count); in p9_client_write()
1724 err = p9pdu_readf(&req->rc, clnt->proto_version, "wS", &ignored, ret); in p9_client_stat()
1777 err = p9pdu_readf(&req->rc, clnt->proto_version, "A", ret); in p9_client_getattr_dotl()
1814 static int p9_client_statsize(struct p9_wstat *wst, int proto_version) in p9_client_statsize() argument
1833 if ((proto_version == p9_proto_2000u) || in p9_client_statsize()
1834 (proto_version == p9_proto_2000L)) { in p9_client_statsize()
1851 wst->size = p9_client_statsize(wst, clnt->proto_version); in p9_client_wstat()
1929 err = p9pdu_readf(&req->rc, clnt->proto_version, "ddqqqqqqd", &sb->type, in p9_client_statfs()
2037 err = p9pdu_readf(&req->rc, clnt->proto_version, "q", attr_size); in p9_client_xattrwalk()
2125 err = p9pdu_readf(&req->rc, clnt->proto_version, "D", &count, &dataptr); in p9_client_readdir()
2166 err = p9pdu_readf(&req->rc, clnt->proto_version, "Q", qid); in p9_client_mknod_dotl()
2197 err = p9pdu_readf(&req->rc, clnt->proto_version, "Q", qid); in p9_client_mkdir_dotl()
2232 err = p9pdu_readf(&req->rc, clnt->proto_version, "b", status); in p9_client_lock_dotl()
2263 err = p9pdu_readf(&req->rc, clnt->proto_version, "bqqds", &glock->type, in p9_client_getlock_dotl()
2293 err = p9pdu_readf(&req->rc, clnt->proto_version, "s", target); in p9_client_readlink()