Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/mm/
Dballoon_compaction.c23 BUG_ON(!trylock_page(page)); in balloon_page_enqueue_one()
93 if (!trylock_page(page)) in balloon_page_list_dequeue()
Dpage_idle.c109 if (need_lock && !trylock_page(page)) in page_idle_clear_pte_refs()
Dmigrate.c120 if (unlikely(!trylock_page(page))) in isolate_movable_page()
1036 if (!trylock_page(page)) { in __unmap_and_move()
1104 if (unlikely(!trylock_page(newpage))) in __unmap_and_move()
1309 if (!trylock_page(hpage)) { in unmap_and_move_huge_page()
1335 if (unlikely(!trylock_page(new_hpage))) in unmap_and_move_huge_page()
2347 if (unlikely(!trylock_page(page))) in migrate_vma_collect_pmd()
2441 if (trylock_page(page)) { in migrate_vma_collect_pmd()
2611 if (!trylock_page(page)) { in migrate_vma_prepare()
Dtruncate.c348 if (!trylock_page(page)) in truncate_inode_pages_range()
556 if (!trylock_page(page)) in __invalidate_mapping_pages()
Dmadvise.c424 if (!trylock_page(page)) { in madvise_cold_or_pageout_pte_range()
634 if (!trylock_page(page)) { in madvise_free_pte_range()
656 if (!trylock_page(page)) in madvise_free_pte_range()
Dhuge_memory.c1294 if (!trylock_page(page)) { in do_huge_pmd_wp_page()
1396 if (!trylock_page(page)) in follow_trans_huge_pmd()
1460 page_locked = trylock_page(page); in do_huge_pmd_numa_page()
1604 if (!trylock_page(page)) in madvise_free_huge_pmd()
2244 if (unlikely(!trylock_page(page))) { in __split_huge_pmd()
2867 if (!trylock_page(page)) in deferred_split_scan()
Dpage_io.c412 if (trylock_page(page)) { in swap_readpage()
Dfilemap.c1362 ret = !trylock_page(page); in __wait_on_page_locked_async()
1805 if (!trylock_page(page)) { in pagecache_get_page()
2286 if (!trylock_page(page)) in generic_file_buffered_read()
2579 if (trylock_page(page)) in lock_page_maybe_drop_mmap()
2874 if (!trylock_page(head)) in filemap_map_pages()
Dreadahead.c52 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
Dkhugepaged.c659 if (!trylock_page(page)) { in __collapse_huge_page_isolate()
1726 } else if (trylock_page(page)) { in collapse_file()
1768 } else if (trylock_page(page)) { in collapse_file()
Dvmscan.c1038 if (!trylock_page(page)) in shrink_page_list()
1312 if (!trylock_page(page)) in shrink_page_list()
1528 if (!trylock_page(page)) in __isolate_lru_page()
2024 if (page_has_private(page) && trylock_page(page)) { in shrink_active_list()
Dksm.c740 if (!trylock_page(page)) { in get_ksm_page()
1222 if (!trylock_page(page)) in try_to_merge_one_page()
2190 if (!trylock_page(page)) in cmp_and_merge_page()
Dswap_state.c326 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
Dzsmalloc.c916 if (!trylock_page(cursor)) { in trylock_zspage()
2196 WARN_ON(!trylock_page(page)); in SetZsPageMovable()
Drmap.c887 we_locked = trylock_page(page); in page_referenced()
Dz3fold.c1168 if (trylock_page(page)) { in z3fold_alloc()
Dshmem.c597 if (!trylock_page(page)) { in shmem_unused_huge_shrink()
947 if (!trylock_page(page)) in shmem_undo_range()
/kernel/linux/linux-5.10/include/linux/
Dpagemap.h598 static inline int trylock_page(struct page *page) in trylock_page() function
610 if (!trylock_page(page)) in lock_page()
622 if (!trylock_page(page)) in lock_page_killable()
638 if (!trylock_page(page)) in lock_page_async()
654 return trylock_page(page) || __lock_page_or_retry(page, mm, flags); in lock_page_or_retry()
/kernel/linux/linux-5.10/fs/cachefiles/
Drdwr.c112 if (trylock_page(backpage)) { in cachefiles_read_reissue()
129 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c655 if (obj->mm.dirty && trylock_page(page)) { in i915_gem_userptr_put_pages()
/kernel/linux/linux-5.10/fs/afs/
Dwrite.c558 if (!trylock_page(page)) in afs_write_back_from_locked_page()
/kernel/linux/linux-5.10/fs/jbd2/
Dcommit.c78 if (!trylock_page(page)) in release_buffer_page()
/kernel/linux/linux-5.10/fs/erofs/
Dzdata.c221 if (!trylock_page(page)) in erofs_try_to_free_all_cached_pages()
/kernel/linux/linux-5.10/fs/btrfs/
Dextent_io.c3725 if (!trylock_page(p)) { in lock_extent_buffer_for_io()
4192 if (!trylock_page(page)) { in extent_write_cache_pages()
5505 if (!trylock_page(page)) in read_extent_buffer_pages()
/kernel/linux/linux-5.10/fs/ceph/
Daddr.c915 else if (!trylock_page(page)) in ceph_writepages_start()

12