Lines Matching refs:xas
508 XA_STATE(xas, &udev->data_pages, 0); in tcmu_get_empty_block()
519 xas_set(&xas, dpi); in tcmu_get_empty_block()
521 for (cnt = 0; xas_next(&xas) && cnt < page_cnt;) in tcmu_get_empty_block()
1662 XA_STATE(xas, &udev->data_pages, first * udev->data_pages_per_blk); in tcmu_blocks_release()
1666 xas_lock(&xas); in tcmu_blocks_release()
1667 xas_for_each(&xas, page, (last + 1) * udev->data_pages_per_blk - 1) { in tcmu_blocks_release()
1668 xas_store(&xas, NULL); in tcmu_blocks_release()
1672 xas_unlock(&xas); in tcmu_blocks_release()
3026 XA_STATE(xas, &udev->commands, cmd_id); in tcmu_free_kept_buf_store()
3028 xas_lock(&xas); in tcmu_free_kept_buf_store()
3029 cmd = xas_load(&xas); in tcmu_free_kept_buf_store()
3033 xas_unlock(&xas); in tcmu_free_kept_buf_store()
3040 xas_unlock(&xas); in tcmu_free_kept_buf_store()
3043 xas_store(&xas, NULL); in tcmu_free_kept_buf_store()
3044 xas_unlock(&xas); in tcmu_free_kept_buf_store()