Lines Matching full:pinned
25 /* Array that receives the pinned pages. */
27 /* Number of pages pinned from @pa_iova. */
38 /* Pinned PAGEs for the original data. */
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; in page_array_pin() local
136 while (pinned < pa->pa_nr) { in page_array_pin()
137 dma_addr_t *first = &pa->pa_iova[pinned]; in page_array_pin()
140 if (pinned + npage < pa->pa_nr && in page_array_pin()
149 &pa->pa_page[pinned]); in page_array_pin()
153 pinned += ret; in page_array_pin()
157 pinned += npage; in page_array_pin()
164 page_array_unpin(pa, vdev, pinned, unaligned); in page_array_pin()
257 * would need to be pinned before performing the I/O.
664 /* Populate the IDAL with pinned/translated addresses from page */ in ccwchain_fetch_ccw()
940 * cp_iova_pinned() - check if an iova is pinned for a ccw chain.
945 * If the @iova is currently pinned for the ccw chain, return true;