Lines Matching refs:rc
56 int rc;
59 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
61 if (rc) {
75 int rc;
80 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
82 if (rc) {
93 int rc;
97 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
99 if (rc) {
105 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
107 if (rc) {
113 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
115 if (rc) {
121 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
123 if (rc) {
138 int rc;
142 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
144 if (rc) {
146 return rc;
151 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
153 if (rc) {
155 return rc;
160 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
162 if (rc) {
164 return rc;
169 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
171 if (rc) {
178 return rc;
198 int rc;
201 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
203 if (rc) {
209 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
211 if (rc) {
230 int rc;
253 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
255 if (rc) {
262 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
264 if (rc) {
271 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
273 if (rc) {
280 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
282 if (rc) {
289 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
291 if (rc) {
298 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
300 if (rc) {
307 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
309 if (rc) {
315 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
317 if (rc) {
324 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
326 if (rc) {
339 return rc;
348 int rc;
351 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
353 if (rc) {
360 rc = spdk_vfio_user_pci_bar_access(dev->ctx, dev->pci_cap_region,
362 if (rc) {
395 int rc;
402 rc = access(path, F_OK);
403 if (rc != 0) {
413 rc = virtio_dev_construct(vdev, name, &virtio_vfio_user_ops, dev);
414 if (rc != 0) {
417 return rc;
429 rc = spdk_vfio_user_pci_bar_access(dev->ctx, VFIO_PCI_CONFIG_REGION_INDEX, 4, 2,
431 if (rc != 0) {
434 return rc;
437 rc = spdk_vfio_user_pci_bar_access(dev->ctx, VFIO_PCI_CONFIG_REGION_INDEX, 4, 2,
439 if (rc != 0) {
442 return rc;