Lines Matching refs:trans_mod
73 seq_printf(m, ",trans=%s", clnt->trans_mod->name); in p9_show_client_options()
87 if (clnt->trans_mod->show_options) in p9_show_client_options()
88 return clnt->trans_mod->show_options(m, clnt); in p9_show_client_options()
186 v9fs_put_trans(clnt->trans_mod); in parse_opts()
187 clnt->trans_mod = v9fs_get_trans_by_name(s); in parse_opts()
188 if (!clnt->trans_mod) { in parse_opts()
220 v9fs_put_trans(clnt->trans_mod); in parse_opts()
616 if (c->trans_mod->cancelled) in p9_client_flush()
617 c->trans_mod->cancelled(c, oldreq); in p9_client_flush()
687 const uint rsize = c->trans_mod->pooled_rbuffers ? c->msize : 0; in p9_client_rpc()
705 err = c->trans_mod->request(c, req); in p9_client_rpc()
739 if (c->trans_mod->cancel(c, req)) in p9_client_rpc()
807 err = c->trans_mod->zc_request(c, req, uidata, uodata, in p9_client_zc_rpc()
824 if (c->trans_mod->cancel(c, req)) in p9_client_zc_rpc()
988 clnt->trans_mod = NULL; in p9_client_create()
1003 if (!clnt->trans_mod) in p9_client_create()
1004 clnt->trans_mod = v9fs_get_default_trans(); in p9_client_create()
1006 if (!clnt->trans_mod) { in p9_client_create()
1014 clnt, clnt->trans_mod, clnt->msize, clnt->proto_version); in p9_client_create()
1016 err = clnt->trans_mod->create(clnt, dev_name, options); in p9_client_create()
1020 if (clnt->msize > clnt->trans_mod->maxsize) { in p9_client_create()
1021 clnt->msize = clnt->trans_mod->maxsize; in p9_client_create()
1024 clnt->msize, clnt->trans_mod->name in p9_client_create()
1059 clnt->trans_mod->close(clnt); in p9_client_create()
1061 v9fs_put_trans(clnt->trans_mod); in p9_client_create()
1075 if (clnt->trans_mod) in p9_client_destroy()
1076 clnt->trans_mod->close(clnt); in p9_client_destroy()
1078 v9fs_put_trans(clnt->trans_mod); in p9_client_destroy()
1565 if (clnt->trans_mod->zc_request && rsize > 1024) { in p9_client_read_once()
1639 if (clnt->trans_mod->zc_request && rsize > 1024) { in p9_client_write()
2074 if (clnt->trans_mod->zc_request && rsize > 1024) { in p9_client_readdir()