Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dprocess_vm_access.c95 int pinned_pages = min(nr_pages, max_pages_per_loop); in process_vm_rw_single_vec() local
105 pinned_pages = pin_user_pages_remote(mm, pa, pinned_pages, in process_vm_rw_single_vec()
110 if (pinned_pages <= 0) in process_vm_rw_single_vec()
113 bytes = pinned_pages * PAGE_SIZE - start_offset; in process_vm_rw_single_vec()
122 nr_pages -= pinned_pages; in process_vm_rw_single_vec()
123 pa += pinned_pages * PAGE_SIZE; in process_vm_rw_single_vec()
126 unpin_user_pages_dirty_lock(process_pages, pinned_pages, in process_vm_rw_single_vec()