Searched refs:sdio (Results 1 – 1 of 1) sorted by relevance
160 static inline unsigned dio_pages_present(struct dio_submit *sdio) in dio_pages_present() argument162 return sdio->tail - sdio->head; in dio_pages_present()168 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages() argument172 ret = iov_iter_get_pages(sdio->iter, dio->pages, LONG_MAX, DIO_PAGES, in dio_refill_pages()173 &sdio->from); in dio_refill_pages()175 if (ret < 0 && sdio->blocks_available && (dio->op == REQ_OP_WRITE)) { in dio_refill_pages()186 sdio->head = 0; in dio_refill_pages()187 sdio->tail = 1; in dio_refill_pages()188 sdio->from = 0; in dio_refill_pages()189 sdio->to = PAGE_SIZE; in dio_refill_pages()[all …]