Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dprocess_vm_access.c96 int pinned_pages = min_t(unsigned long, nr_pages, PVM_MAX_USER_PAGES); in process_vm_rw_single_vec() local
106 pinned_pages = pin_user_pages_remote(mm, pa, pinned_pages, in process_vm_rw_single_vec()
111 if (pinned_pages <= 0) in process_vm_rw_single_vec()
114 bytes = pinned_pages * PAGE_SIZE - start_offset; in process_vm_rw_single_vec()
123 nr_pages -= pinned_pages; in process_vm_rw_single_vec()
124 pa += pinned_pages * PAGE_SIZE; in process_vm_rw_single_vec()
127 unpin_user_pages_dirty_lock(process_pages, pinned_pages, in process_vm_rw_single_vec()