Lines Matching refs:pinned
25 /* Array that receives the pinned pages. */
27 /* Number of pages pinned from @pa_iova. */
45 * @len: number of pages that should be pinned from @iova
88 * Only unpin if any pages were pinned to begin with, i.e. pa_nr > 0,
121 * Returns number of pages pinned upon success.
133 int pinned = 0, npage = 1;
136 while (pinned < pa->pa_nr) {
137 dma_addr_t *first = &pa->pa_iova[pinned];
140 if (pinned + npage < pa->pa_nr &&
149 &pa->pa_page[pinned]);
153 pinned += ret;
157 pinned += npage;
164 page_array_unpin(pa, vdev, pinned, unaligned);
257 * would need to be pinned before performing the I/O.
663 /* Populate the IDAL with pinned/translated addresses from page */
939 * cp_iova_pinned() - check if an iova is pinned for a ccw chain.
944 * If the @iova is currently pinned for the ccw chain, return true;