Lines Matching refs:commands
156 struct xarray commands; member
1075 if (xa_alloc(&udev->commands, &cmd_id, tcmu_cmd, XA_LIMIT(1, 0xffff), in queue_cmd_ring()
1484 cmd = xa_load(&udev->commands, entry->hdr.cmd_id); in tcmu_handle_completions()
1486 cmd = xa_erase(&udev->commands, entry->hdr.cmd_id); in tcmu_handle_completions()
1505 xa_empty(&udev->commands) && list_empty(&udev->qfull_queue)) { in tcmu_handle_completions()
1632 xa_init_flags(&udev->commands, XA_FLAGS_ALLOC1); in tcmu_alloc_device()
1730 xa_for_each(&udev->commands, i, cmd) { in tcmu_dev_kref_release()
1738 xa_destroy(&udev->commands); in tcmu_dev_kref_release()
1969 xa_for_each(&udev->commands, i, cmd) { in tcmu_release()
1983 xa_erase(&udev->commands, i); in tcmu_release()
2370 xa_for_each(&udev->commands, i, cmd) { in tcmu_reset_ring()
2378 xa_erase(&udev->commands, i); in tcmu_reset_ring()
3104 XA_STATE(xas, &udev->commands, cmd_id); in tcmu_free_kept_buf_store()