Home
last modified time | relevance | path

Searched refs:loop_nr_pages (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/misc/mic/scif/
Dscif_mmap.c386 int loop_nr_pages, nr_pages_left = nr_pages; in scif_rma_list_mmap() local
398 loop_nr_pages = min_t(int, in scif_rma_list_mmap()
402 for (i = 0; i < loop_nr_pages; i++) { in scif_rma_list_mmap()
417 nr_pages_left -= loop_nr_pages; in scif_rma_list_mmap()
434 loop_nr_pages = min_t(int, in scif_rma_list_mmap()
437 scif_get_window(window, loop_nr_pages); in scif_rma_list_mmap()
438 nr_pages_left -= loop_nr_pages; in scif_rma_list_mmap()
439 loop_offset += (loop_nr_pages << PAGE_SHIFT); in scif_rma_list_mmap()
463 int loop_nr_pages, nr_pages_left = nr_pages; in scif_rma_list_munmap() local
475 loop_nr_pages = min_t(int, in scif_rma_list_munmap()
[all …]
Dscif_rma_list.c210 int loop_nr_pages; in scif_rma_list_unregister() local
215 loop_nr_pages = min((int)((end_offset - offset) >> PAGE_SHIFT), in scif_rma_list_unregister()
220 nr_pages -= loop_nr_pages; in scif_rma_list_unregister()
221 offset += (loop_nr_pages << PAGE_SHIFT); in scif_rma_list_unregister()