Lines Matching refs:idaws
193 unsigned long *idaws)
206 idaws[i] = page_to_phys(pa->pa_page[i]);
209 idaws[i] += pa->pa_iova[i] & (PAGE_SIZE - 1);
510 unsigned long *idaws;
512 int idal_len = idaw_nr * sizeof(*idaws);
517 idaws = kcalloc(idaw_nr, sizeof(*idaws), GFP_DMA | GFP_KERNEL);
518 if (!idaws)
523 ret = vfio_dma_rw(vdev, ccw->cda, idaws, idal_len, false);
525 kfree(idaws);
531 idaws[0] = ccw->cda;
533 idaws[i] = (idaws[i - 1] + idaw_size) & idaw_mask;
535 idaws_f1 = (unsigned int *)idaws;
542 return idaws;
607 unsigned long *idaws;
619 idaws = get_guest_idal(ccw, cp, idaw_nr);
620 if (IS_ERR(idaws)) {
621 ret = PTR_ERR(idaws);
627 * The number of pages is actually the count of the idaws
639 idaws_f1 = (unsigned int *)idaws;
642 pa->pa_iova[i] = idaws[i];
655 ccw->cda = (__u32) virt_to_phys(idaws);
659 page_array_idal_create_words(pa, idaws);
666 kfree(idaws);