Home
last modified time | relevance | path

Searched refs:wnames (Results 1 – 5 of 5) sorted by relevance

/qemu/tests/qtest/
H A Dvirtio-9p-test.c73 char *wnames[P9_MAXWELEM]; in fs_walk() local
79 wnames[i] = g_strdup_printf(QTEST_V9FS_SYNTH_WALK_FILE, i); in fs_walk()
85 .nwname = P9_MAXWELEM, .wnames = wnames, in fs_walk()
92 g_free(wnames[i]); in fs_walk()
111 char *wnames[] = { g_strdup(QTEST_V9FS_SYNTH_READDIR_DIR) }; in fs_readdir() local
120 .nwname = 1, .wnames = wnames, .rwalk.nwqid = &nqid in fs_readdir()
160 g_free(wnames[0]); in fs_readdir()
166 char *wnames[] = { g_strdup(QTEST_V9FS_SYNTH_READDIR_DIR) }; in do_readdir_split() local
184 .nwname = 1, .wnames = wnames, .rwalk.nwqid = &nqid in do_readdir_split()
244 g_free(wnames[0]); in do_readdir_split()
[all …]
/qemu/tests/qtest/libqos/
H A Dvirtio-9p-client.c424 char **wnames = NULL; in v9fs_twalk() local
428 g_assert(!opt.path || !(opt.nwname || opt.wnames)); in v9fs_twalk()
437 opt.nwname = split(opt.path, "/", &wnames); in v9fs_twalk()
438 opt.wnames = wnames; in v9fs_twalk()
442 uint16_t wname_size = v9fs_string_size(opt.wnames[i]); in v9fs_twalk()
452 v9fs_string_write(req, opt.wnames[i]); in v9fs_twalk()
467 split_free(&wnames); in v9fs_twalk()
H A Dvirtio-9p-client.h98 char **wnames; member
/qemu/hw/9pfs/
H A Dtrace-events14 …, int32_t newfid, uint16_t nwnames, const char* wnames) "tag=%d id=%d fid=%d newfid=%d nwnames=%d
H A D9p.c1821 static char *trace_v9fs_walk_wnames(V9fsString *wnames, size_t nwnames) in trace_v9fs_walk_wnames() argument
1825 arr[i] = wnames[i].data; in trace_v9fs_walk_wnames()
1842 P9ARRAY_REF(V9fsString) wnames = NULL; in v9fs_walk()
1862 P9ARRAY_NEW(V9fsString, wnames, nwnames); in v9fs_walk()
1867 err = pdu_unmarshal(pdu, offset, "s", &wnames[i]); in v9fs_walk()
1871 if (name_is_illegal(wnames[i].data)) { in v9fs_walk()
1878 trace_wnames = trace_v9fs_walk_wnames(wnames, nwnames); in v9fs_walk()
1924 strcmp("..", wnames[nwalked].data)) in v9fs_walk()
1927 wnames[nwalked].data, in v9fs_walk()
1972 strcmp("..", wnames[name_idx].data)) in v9fs_walk()