Searched refs:locked_pages (Results 1 – 3 of 3) sorted by relevance
1019 unsigned i, nr_folios, max_pages, locked_pages = 0; in ceph_writepages_start() local1032 if (!nr_folios && !locked_pages) in ceph_writepages_start()1034 for (i = 0; i < nr_folios && locked_pages < max_pages; i++) { in ceph_writepages_start()1037 if (locked_pages == 0) in ceph_writepages_start()1102 if (locked_pages == 0) { in ceph_writepages_start()1155 pages[locked_pages] = in ceph_writepages_start()1158 locked_pages ? GFP_NOWAIT : GFP_NOFS); in ceph_writepages_start()1159 if (IS_ERR(pages[locked_pages])) { in ceph_writepages_start()1160 if (PTR_ERR(pages[locked_pages]) == -EINVAL) in ceph_writepages_start()1164 BUG_ON(locked_pages == 0); in ceph_writepages_start()[all …]
68 unsigned long locked_pages; member298 container->locked_pages = locked; in tce_iommu_enable()313 account_locked_vm(container->mm, container->locked_pages, false); in tce_iommu_disable()
1154 unsigned long locked_pages, limit_pages; in mlock_future_ok() local1159 locked_pages = bytes >> PAGE_SHIFT; in mlock_future_ok()1160 locked_pages += mm->locked_vm; in mlock_future_ok()1165 return locked_pages <= limit_pages; in mlock_future_ok()