Lines Matching full:client
2 * 9P network client for VirtIO 9P test cases (based on QTest)
16 #include "virtio-9p-client.h"
304 g_assert(opt.client); in v9fs_tversion()
321 req = v9fs_req_init(opt.client, body_size, P9_TVERSION, opt.tag); in v9fs_tversion()
369 g_assert(opt.client); in v9fs_tattach()
374 v9fs_tversion((TVersionOpt) { .client = opt.client }); in v9fs_tattach()
381 P9Req *req = v9fs_req_init(opt.client, 4 + 4 + 2 + 2 + 4, P9_TATTACH, in v9fs_tattach()
426 g_assert(opt.client); in v9fs_twalk()
447 req = v9fs_req_init(opt.client, body_size, P9_TWALK, opt.tag); in v9fs_twalk()
498 g_assert(opt.client); in v9fs_tgetattr()
506 req = v9fs_req_init(opt.client, 4 + 8, P9_TGETATTR, opt.tag); in v9fs_tgetattr()
569 g_assert(opt.client); in v9fs_tsetattr()
572 opt.client, 4/*fid*/ + 4/*valid*/ + 4/*mode*/ + 4/*uid*/ + 4/*gid*/ + in v9fs_tsetattr()
615 g_assert(opt.client); in v9fs_treaddir()
620 req = v9fs_req_init(opt.client, 4 + 8 + 4, P9_TREADDIR, opt.tag); in v9fs_treaddir()
706 g_assert(opt.client); in v9fs_tlopen()
710 req = v9fs_req_init(opt.client, 4 + 4, P9_TLOPEN, opt.tag); in v9fs_tlopen()
752 g_assert(opt.client); in v9fs_twrite()
756 req = v9fs_req_init(opt.client, body_size, P9_TWRITE, opt.tag); in v9fs_twrite()
796 g_assert(opt.client); in v9fs_tflush()
798 req = v9fs_req_init(opt.client, 2, P9_TFLUSH, opt.tag); in v9fs_tflush()
829 g_assert(opt.client); in v9fs_tmkdir()
836 opt.dfid = v9fs_twalk((TWalkOpt) { .client = opt.client, in v9fs_tmkdir()
850 req = v9fs_req_init(opt.client, body_size, P9_TMKDIR, opt.tag); in v9fs_tmkdir()
889 g_assert(opt.client); in v9fs_tlcreate()
896 opt.fid = v9fs_twalk((TWalkOpt) { .client = opt.client, in v9fs_tlcreate()
910 req = v9fs_req_init(opt.client, body_size, P9_TLCREATE, opt.tag); in v9fs_tlcreate()
953 g_assert(opt.client); in v9fs_tsymlink()
960 opt.fid = v9fs_twalk((TWalkOpt) { .client = opt.client, in v9fs_tsymlink()
971 req = v9fs_req_init(opt.client, body_size, P9_TSYMLINK, opt.tag); in v9fs_tsymlink()
1010 g_assert(opt.client); in v9fs_tlink()
1017 opt.dfid = v9fs_twalk((TWalkOpt) { .client = opt.client, in v9fs_tlink()
1021 opt.fid = v9fs_twalk((TWalkOpt) { .client = opt.client, in v9fs_tlink()
1031 req = v9fs_req_init(opt.client, body_size, P9_TLINK, opt.tag); in v9fs_tlink()
1064 g_assert(opt.client); in v9fs_tunlinkat()
1069 opt.dirfd = v9fs_twalk((TWalkOpt) { .client = opt.client, in v9fs_tunlinkat()
1079 req = v9fs_req_init(opt.client, body_size, P9_TUNLINKAT, opt.tag); in v9fs_tunlinkat()