Searched refs:trylock_page (Results 1 – 25 of 31) sorted by relevance
12
51 BUG_ON(!trylock_page(page)); in balloon_page_enqueue()85 if (trylock_page(page)) { in balloon_page_dequeue()
118 if (unlikely(!trylock_page(page))) in isolate_movable_page()999 if (!trylock_page(page)) { in __unmap_and_move()1067 if (unlikely(!trylock_page(newpage))) in __unmap_and_move()1290 if (!trylock_page(hpage)) { in unmap_and_move_huge_page()1306 if (unlikely(!trylock_page(new_hpage))) in unmap_and_move_huge_page()2172 if (unlikely(!trylock_page(page))) in migrate_vma_collect_pmd()2262 if (trylock_page(page)) { in migrate_vma_collect_pmd()2430 if (!trylock_page(page)) { in migrate_vma_prepare()
112 if (need_lock && !trylock_page(page)) in page_idle_clear_pte_refs()
353 if (!trylock_page(page)) in truncate_inode_pages_range()570 if (!trylock_page(page)) in invalidate_mapping_pages()
370 if (!trylock_page(page)) { in madvise_free_pte_range()392 if (!trylock_page(page)) in madvise_free_pte_range()
380 if (trylock_page(page)) { in swap_readpage()
50 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
1265 if (!trylock_page(page)) { in do_huge_pmd_wp_page()1443 if (!trylock_page(page)) in follow_trans_huge_pmd()1511 page_locked = trylock_page(page); in do_huge_pmd_numa_page()1644 if (!trylock_page(page)) in madvise_free_huge_pmd()2785 if (!trylock_page(page)) in deferred_split_scan()
1129 if (!trylock_page(page)) in shrink_page_list()1384 if (!trylock_page(page)) in shrink_page_list()1586 if (!trylock_page(page)) in __isolate_lru_page()2122 if (page_has_private(page) && trylock_page(page)) { in shrink_active_list()
290 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
566 if (!trylock_page(page)) { in __collapse_huge_page_isolate()1381 } else if (trylock_page(page)) { in collapse_shmem()
1549 if (!trylock_page(page)) { in pagecache_get_page()2127 if (!trylock_page(page)) in generic_file_buffered_read()2660 if (!trylock_page(page)) in filemap_map_pages()
933 if (!trylock_page(cursor)) { in trylock_zspage()2190 WARN_ON(!trylock_page(page)); in SetZsPageMovable()
1224 if (!trylock_page(page)) in try_to_merge_one_page()2174 if (!trylock_page(page)) in cmp_and_merge_page()
860 we_locked = trylock_page(page); in page_referenced()
189 if (page->mapping && trylock_page(page)) { in follow_page_pte()
124 if (trylock_page(page)) { in __try_to_reclaim_swap()1628 if (page && !trylock_page(page)) { in free_swap_and_cache()
518 if (!trylock_page(page)) { in shmem_unused_huge_shrink()837 if (!trylock_page(page)) in shmem_undo_range()
470 static inline int trylock_page(struct page *page) in trylock_page() function482 if (!trylock_page(page)) in lock_page()494 if (!trylock_page(page)) in lock_page_killable()510 return trylock_page(page) || __lock_page_or_retry(page, mm, flags); in lock_page_or_retry()
117 if (trylock_page(backpage)) { in cachefiles_read_reissue()134 if (trylock_page(backpage)) { in cachefiles_read_reissue()307 if (trylock_page(backpage)) { in cachefiles_read_backing_file_one()329 if (!trylock_page(backpage)) in cachefiles_read_backing_file_one()558 if (trylock_page(backpage)) { in cachefiles_read_backing_file()583 if (!trylock_page(backpage)) in cachefiles_read_backing_file()
455 if (!trylock_page(page)) in afs_write_back_from_locked_page()
78 if (!trylock_page(page)) in release_buffer_page()
154 if (!trylock_page(page)) in erofs_try_to_free_all_cached_pages()
3581 if (!trylock_page(p)) { in lock_extent_buffer_for_io()3956 if (!trylock_page(page)) { in extent_write_cache_pages()5237 if (!trylock_page(page)) in read_extent_buffer_pages()
891 else if (!trylock_page(page)) in ceph_writepages_start()