Home
last modified time | relevance | path

Searched refs:trylock_page (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.4/include/linux/
Dpagemap.h467 static inline int trylock_page(struct page *page) in trylock_page() function
479 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()
/Linux-v5.4/mm/
Dballoon_compaction.c23 BUG_ON(!trylock_page(page)); in balloon_page_enqueue_one()
93 if (!trylock_page(page)) in balloon_page_list_dequeue()
Dmigrate.c119 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()
Dpage_idle.c112 if (need_lock && !trylock_page(page)) in page_idle_clear_pte_refs()
Dmadvise.c410 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()
Dtruncate.c351 if (!trylock_page(page)) in truncate_inode_pages_range()
574 if (!trylock_page(page)) in invalidate_mapping_pages()
Dpage_io.c379 if (trylock_page(page)) { in swap_readpage()
Dreadahead.c51 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
Dhuge_memory.c1337 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()
Dkhugepaged.c578 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()
Dfilemap.c1643 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()
Dvmscan.c1147 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()
Dswap_state.c267 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
Dksm.c739 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()
Dzsmalloc.c920 if (!trylock_page(cursor)) { in trylock_zspage()
2233 WARN_ON(!trylock_page(page)); in SetZsPageMovable()
Drmap.c861 we_locked = trylock_page(page); in page_referenced()
Dz3fold.c952 if (trylock_page(page)) { in z3fold_alloc()
Dgup.c286 if (page->mapping && trylock_page(page)) { in follow_page_pte()
Dshmem.c537 if (!trylock_page(page)) { in shmem_unused_huge_shrink()
838 if (!trylock_page(page)) in shmem_undo_range()
/Linux-v5.4/fs/cachefiles/
Drdwr.c113 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()
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c674 if (obj->mm.dirty && trylock_page(page)) { in i915_gem_userptr_put_pages()
/Linux-v5.4/fs/afs/
Dwrite.c514 if (!trylock_page(page)) in afs_write_back_from_locked_page()
/Linux-v5.4/fs/jbd2/
Dcommit.c78 if (!trylock_page(page)) in release_buffer_page()
/Linux-v5.4/fs/erofs/
Dzdata.c231 if (!trylock_page(page)) in erofs_try_to_free_all_cached_pages()
/Linux-v5.4/fs/btrfs/
Dextent_io.c3707 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()

12