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()
1663 XA_STATE(xas, &udev->data_pages, first * udev->data_pages_per_blk); in tcmu_blocks_release()
1667 xas_lock(&xas); in tcmu_blocks_release()
1668 xas_for_each(&xas, page, (last + 1) * udev->data_pages_per_blk - 1) { in tcmu_blocks_release()
1669 xas_store(&xas, NULL); in tcmu_blocks_release()
1673 xas_unlock(&xas); in tcmu_blocks_release()
3027 XA_STATE(xas, &udev->commands, cmd_id); in tcmu_free_kept_buf_store()
3029 xas_lock(&xas); in tcmu_free_kept_buf_store()
3030 cmd = xas_load(&xas); in tcmu_free_kept_buf_store()
3034 xas_unlock(&xas); in tcmu_free_kept_buf_store()
3041 xas_unlock(&xas); in tcmu_free_kept_buf_store()
3044 xas_store(&xas, NULL); in tcmu_free_kept_buf_store()
3045 xas_unlock(&xas); in tcmu_free_kept_buf_store()