/qemu/scripts/ |
H A D | analyse-9p-simpletrace.py | 93 def v9fs_attach(self, tag, id, fid, afid, uname, aname): argument 94 …print("TATTACH (tag =", tag, ", fid =", fid, ", afid =", afid, ", uname =", uname, ", aname =", an… 99 def v9fs_stat(self, tag, id, fid): argument 100 print("TSTAT (tag =", tag, ", fid =", fid, ")") 105 def v9fs_getattr(self, tag, id, fid, request_mask): argument 106 … print("TGETATTR (tag =", tag, ", fid =", fid, ", request_mask =", hex(request_mask), ")") 111 def v9fs_walk(self, tag, id, fid, newfid, nwnames): argument 112 … print("TWALK (tag =", tag, ", fid =", fid, ", newfid =", newfid, ", nwnames =", nwnames, ")") 117 def v9fs_open(self, tag, id, fid, mode): argument 118 print("TOPEN (tag =", tag, ", fid =", fid, ", mode =", oct(mode), ")") [all …]
|
/qemu/hw/9pfs/ |
H A D | trace-events | 8 …9fs_attach(uint16_t tag, uint8_t id, int32_t fid, int32_t afid, char* uname, char* aname) "tag %u … 10 v9fs_stat(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d" 12 v9fs_getattr(uint16_t tag, uint8_t id, int32_t fid, uint64_t request_mask) "tag %d id %d fid %d req… 14 …alk(uint16_t tag, uint8_t id, int32_t fid, int32_t newfid, uint16_t nwnames, const char* wnames) "… 16 v9fs_open(uint16_t tag, uint8_t id, int32_t fid, int32_t mode, const char* oflags) "tag=%d id=%d fi… 20 v9fs_fsync(uint16_t tag, uint8_t id, int32_t fid, int datasync) "tag %d id %d fid %d datasync %d" 21 v9fs_clunk(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d" 22 v9fs_read(uint16_t tag, uint8_t id, int32_t fid, uint64_t off, uint32_t max_count) "tag %d id %d fi… 24 v9fs_readdir(uint16_t tag, uint8_t id, int32_t fid, uint64_t offset, uint32_t max_count) "tag %d id… 26 v9fs_write(uint16_t tag, uint8_t id, int32_t fid, uint64_t off, uint32_t count, int cnt) "tag %d id… [all …]
|
H A D | 9p.c | 278 static V9fsFidState *coroutine_fn get_fid(V9fsPDU *pdu, int32_t fid) in get_fid() argument 284 f = g_hash_table_lookup(s->fids, GINT_TO_POINTER(fid)); in get_fid() 314 static V9fsFidState *alloc_fid(V9fsState *s, int32_t fid) in alloc_fid() argument 318 f = g_hash_table_lookup(s->fids, GINT_TO_POINTER(fid)); in alloc_fid() 325 f->fid = fid; in alloc_fid() 333 g_hash_table_insert(s->fids, GINT_TO_POINTER(fid), f); in alloc_fid() 402 if (fidp->fid == pdu->s->root_fid) { in put_fid() 416 static V9fsFidState *clunk_fid(V9fsState *s, int32_t fid) in clunk_fid() argument 421 fidp = g_hash_table_lookup(s->fids, GINT_TO_POINTER(fid)); in clunk_fid() 423 g_hash_table_remove(s->fids, GINT_TO_POINTER(fid)); in clunk_fid() [all …]
|
H A D | 9p.h | 274 int32_t fid; member
|
/qemu/tests/qtest/ |
H A D | virtio-9p-test.c | 84 .client = v9p, .fid = 0, .newfid = 1, in fs_walk() 119 .client = v9p, .fid = 0, .newfid = 1, in fs_readdir() 125 .client = v9p, .fid = 1, .flags = O_DIRECTORY, .rlopen.qid = &qid in fs_readdir() 132 .client = v9p, .fid = 1, .offset = 0, .count = P9_MAX_SIZE - 11, in fs_readdir() 171 int fid; in do_readdir_split() local 176 fid = 1; in do_readdir_split() 183 .client = v9p, .fid = 0, .newfid = fid, in do_readdir_split() 189 .client = v9p, .fid = fid, .flags = O_DIRECTORY, .rlopen.qid = &qid in do_readdir_split() 201 .client = v9p, .fid = fid, .offset = offset, .count = count, in do_readdir_split() 255 .client = v9p, .fid = 0, .newfid = 1, .nwname = 1, .wnames = wnames, in fs_walk_no_slash() [all …]
|
/qemu/tests/qtest/libqos/ |
H A D | virtio-9p-client.h | 93 uint32_t fid; member 149 uint32_t fid; member 176 uint32_t fid; member 202 uint32_t fid; member 224 uint32_t fid; member 254 uint32_t fid; member 281 uint32_t fid; member 362 uint32_t fid; member 397 uint32_t fid; member 433 uint32_t fid; member
|
H A D | virtio-9p-client.c | 384 v9fs_uint32_write(req, opt.fid); in v9fs_tattach() 448 v9fs_uint32_write(req, opt.fid); in v9fs_twalk() 507 v9fs_uint32_write(req, opt.fid); in v9fs_tgetattr() 576 v9fs_uint32_write(req, opt.fid); in v9fs_tsetattr() 621 v9fs_uint32_write(req, opt.fid); in v9fs_treaddir() 711 v9fs_uint32_write(req, opt.fid); in v9fs_tlopen() 757 v9fs_uint32_write(req, opt.fid); in v9fs_twrite() 891 g_assert(!opt.atPath || !opt.fid); in v9fs_tlcreate() 896 opt.fid = v9fs_twalk((TWalkOpt) { .client = opt.client, in v9fs_tlcreate() 911 v9fs_uint32_write(req, opt.fid); in v9fs_tlcreate() [all …]
|
/qemu/hw/s390x/ |
H A D | s390-pci-bus.c | 66 eccdf->fid = cpu_to_be32(sei_cont->fid); in pci_chsc_sei_nt2_get_event() 74 accdf->fid = cpu_to_be32(sei_cont->fid); in pci_chsc_sei_nt2_get_event() 108 S390PCIBusDevice *s390_pci_find_dev_by_fid(S390pciState *s, uint32_t fid) in s390_pci_find_dev_by_fid() argument 113 if (pbdev->fid == fid) { in s390_pci_find_dev_by_fid() 288 uint32_t fid, uint64_t faddr, uint32_t e) in s390_pci_generate_event() argument 295 sei_cont->fid = fid; in s390_pci_generate_event() 306 uint32_t fid) in s390_pci_generate_plug_event() argument 308 s390_pci_generate_event(2, pec, fh, fid, 0, 0); in s390_pci_generate_plug_event() 311 void s390_pci_generate_error_event(uint16_t pec, uint32_t fh, uint32_t fid, in s390_pci_generate_error_event() argument 314 s390_pci_generate_event(1, pec, fh, fid, faddr, e); in s390_pci_generate_error_event() [all …]
|
H A D | trace-events | 33 …_t g_l2, uint32_t vid, uint32_t did, uint32_t fid, uint32_t fh) "g_l2 %d vendor id 0x%x device id …
|
H A D | s390-pci-inst.c | 124 stl_be_p(&rrb->response.fh_list[i].fid, pbdev->fid); in list_pci() 132 ldl_be_p(&rrb->response.fh_list[i].fid), in list_pci() 300 stl_be_p(&resquery->fid, pbdev->zpci_fn.fid); in clp_service_call() 813 s390_pci_generate_error_event(error, pbdev->fh, pbdev->fid, start, 0); in rpcit_service_call() 1086 s390_pci_generate_error_event(ERR_EVENT_FMBA, pbdev->fh, pbdev->fid, in fmb_do_update() 1307 pbdev->fid, fmb_addr, 0); in mpcifc_service_call()
|
/qemu/docs/system/s390x/ |
H A D | pcidevices.rst | 16 -device zpci,uid=1,fid=0,target=hostdev0,id=zpci1 \ 26 Instead, ``uid`` and ``fid`` determine how the device is presented to the guest 30 identifier, and ``fid`` identifies the physical slot, i.e.:: 33 -device zpci,uid=7,fid=8,target=hostdev0,id=zpci1 \
|
/qemu/include/hw/s390x/ |
H A D | s390-pci-bus.h | 207 uint32_t fid; member 218 uint32_t fid; member 229 uint32_t fid; member 342 uint32_t fid; member 396 void s390_pci_generate_error_event(uint16_t pec, uint32_t fh, uint32_t fid, 402 S390PCIBusDevice *s390_pci_find_dev_by_fid(S390pciState *s, uint32_t fid);
|
H A D | s390-pci-clp.h | 55 uint32_t fid; member 127 uint32_t fid; /* pci function id */ member
|
/qemu/hw/nvme/ |
H A D | trace-events | 69 …feat(uint16_t cid, uint32_t nsid, uint8_t fid, uint8_t sel, uint32_t cdw11) "cid %"PRIu16" nsid 0x… 70 …eat(uint16_t cid, uint32_t nsid, uint8_t fid, uint8_t save, uint32_t cdw11) "cid %"PRIu16" nsid 0x…
|
H A D | ctrl.c | 6276 uint8_t fid = NVME_GETSETFEAT_FID(dw10); in nvme_get_feature() local 6287 trace_pci_nvme_getfeat(nvme_cid(req), nsid, fid, sel, dw11); in nvme_get_feature() 6289 if (!nvme_feature_support[fid]) { in nvme_get_feature() 6293 if (nvme_feature_cap[fid] & NVME_FEAT_CAP_NS) { in nvme_get_feature() 6318 result = nvme_feature_cap[fid]; in nvme_get_feature() 6322 switch (fid) { in nvme_get_feature() 6411 switch (fid) { in nvme_get_feature() 6456 result = nvme_feature_default[fid]; in nvme_get_feature() 6533 uint8_t fid = NVME_GETSETFEAT_FID(dw10); in nvme_set_feature() local 6540 trace_pci_nvme_setfeat(nvme_cid(req), nsid, fid, save, dw11); in nvme_set_feature() [all …]
|