Searched refs:trylock_page (Results 1 – 25 of 34) sorted by relevance
12
467 static inline int trylock_page(struct page *page) in trylock_page() function479 if (!trylock_page(page)) in lock_page()491 if (!trylock_page(page)) in lock_page_killable()507 return trylock_page(page) || __lock_page_or_retry(page, mm, flags); in lock_page_or_retry()
23 BUG_ON(!trylock_page(page)); in balloon_page_enqueue_one()93 if (!trylock_page(page)) in balloon_page_list_dequeue()
119 if (unlikely(!trylock_page(page))) in isolate_movable_page()1012 if (!trylock_page(page)) { in __unmap_and_move()1080 if (unlikely(!trylock_page(newpage))) in __unmap_and_move()1306 if (!trylock_page(hpage)) { in unmap_and_move_huge_page()1332 if (unlikely(!trylock_page(new_hpage))) in unmap_and_move_huge_page()2193 if (unlikely(!trylock_page(page))) in migrate_vma_collect_pmd()2280 if (trylock_page(page)) { in migrate_vma_collect_pmd()2435 if (!trylock_page(page)) { in migrate_vma_prepare()
112 if (need_lock && !trylock_page(page)) in page_idle_clear_pte_refs()
410 if (!trylock_page(page)) { in madvise_cold_or_pageout_pte_range()616 if (!trylock_page(page)) { in madvise_free_pte_range()638 if (!trylock_page(page)) in madvise_free_pte_range()
351 if (!trylock_page(page)) in truncate_inode_pages_range()574 if (!trylock_page(page)) in invalidate_mapping_pages()
379 if (trylock_page(page)) { in swap_readpage()
51 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
1337 if (!trylock_page(page)) { in do_huge_pmd_wp_page()1515 if (!trylock_page(page)) in follow_trans_huge_pmd()1582 page_locked = trylock_page(page); in do_huge_pmd_numa_page()1726 if (!trylock_page(page)) in madvise_free_huge_pmd()2934 if (!trylock_page(page)) in deferred_split_scan()
578 if (!trylock_page(page)) { in __collapse_huge_page_isolate()1585 } else if (trylock_page(page)) { in collapse_file()1605 } else if (trylock_page(page)) { in collapse_file()
1643 if (!trylock_page(page)) { in pagecache_get_page()2086 if (!trylock_page(page)) in generic_file_buffered_read()2367 if (trylock_page(page)) in lock_page_maybe_drop_mmap()2658 if (!trylock_page(page)) in filemap_map_pages()
1147 if (!trylock_page(page)) in shrink_page_list()1412 if (!trylock_page(page)) in shrink_page_list()1614 if (!trylock_page(page)) in __isolate_lru_page()2087 if (page_has_private(page) && trylock_page(page)) { in shrink_active_list()
267 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
739 if (!trylock_page(page)) { in get_ksm_page()1220 if (!trylock_page(page)) in try_to_merge_one_page()2180 if (!trylock_page(page)) in cmp_and_merge_page()
920 if (!trylock_page(cursor)) { in trylock_zspage()2233 WARN_ON(!trylock_page(page)); in SetZsPageMovable()
861 we_locked = trylock_page(page); in page_referenced()
952 if (trylock_page(page)) { in z3fold_alloc()
286 if (page->mapping && trylock_page(page)) { in follow_page_pte()
537 if (!trylock_page(page)) { in shmem_unused_huge_shrink()838 if (!trylock_page(page)) in shmem_undo_range()
113 if (trylock_page(backpage)) { in cachefiles_read_reissue()130 if (trylock_page(backpage)) { in cachefiles_read_reissue()303 if (trylock_page(backpage)) { in cachefiles_read_backing_file_one()325 if (!trylock_page(backpage)) in cachefiles_read_backing_file_one()557 if (trylock_page(backpage)) { in cachefiles_read_backing_file()582 if (!trylock_page(backpage)) in cachefiles_read_backing_file()
674 if (obj->mm.dirty && trylock_page(page)) { in i915_gem_userptr_put_pages()
514 if (!trylock_page(page)) in afs_write_back_from_locked_page()
78 if (!trylock_page(page)) in release_buffer_page()
231 if (!trylock_page(page)) in erofs_try_to_free_all_cached_pages()
3707 if (!trylock_page(p)) { in lock_extent_buffer_for_io()4132 if (!trylock_page(page)) { in extent_write_cache_pages()5422 if (!trylock_page(page)) in read_extent_buffer_pages()