Home
last modified time | relevance | path

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

12

/Linux-v5.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()
Dmigrate.c120 if (unlikely(!trylock_page(page))) in isolate_movable_page()
1027 if (!trylock_page(page)) { in __unmap_and_move()
1095 if (unlikely(!trylock_page(newpage))) in __unmap_and_move()
1301 if (!trylock_page(hpage)) { in unmap_and_move_huge_page()
1327 if (unlikely(!trylock_page(new_hpage))) in unmap_and_move_huge_page()
2340 if (unlikely(!trylock_page(page))) in migrate_vma_collect_pmd()
2434 if (trylock_page(page)) { in migrate_vma_collect_pmd()
2604 if (!trylock_page(page)) { in migrate_vma_prepare()
Dpage_idle.c109 if (need_lock && !trylock_page(page)) in page_idle_clear_pte_refs()
Dmadvise.c418 if (!trylock_page(page)) { in madvise_cold_or_pageout_pte_range()
628 if (!trylock_page(page)) { in madvise_free_pte_range()
650 if (!trylock_page(page)) in madvise_free_pte_range()
Dtruncate.c351 if (!trylock_page(page)) in truncate_inode_pages_range()
559 if (!trylock_page(page)) in __invalidate_mapping_pages()
Dhuge_memory.c1284 if (!trylock_page(page)) { in do_huge_pmd_wp_page()
1386 if (!trylock_page(page)) in follow_trans_huge_pmd()
1450 page_locked = trylock_page(page); in do_huge_pmd_numa_page()
1594 if (!trylock_page(page)) in madvise_free_huge_pmd()
2216 if (unlikely(!trylock_page(page))) { in __split_huge_pmd()
2847 if (!trylock_page(page)) in deferred_split_scan()
Dpage_io.c417 if (trylock_page(page)) { in swap_readpage()
Dfilemap.c1358 ret = !trylock_page(page); in __wait_on_page_locked_async()
1801 if (!trylock_page(page)) { in pagecache_get_page()
2282 if (!trylock_page(page)) in generic_file_buffered_read()
2575 if (trylock_page(page)) in lock_page_maybe_drop_mmap()
2870 if (!trylock_page(head)) in filemap_map_pages()
Dreadahead.c52 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
Dkhugepaged.c648 if (!trylock_page(page)) { in __collapse_huge_page_isolate()
1715 } else if (trylock_page(page)) { in collapse_file()
1753 } else if (trylock_page(page)) { in collapse_file()
Dvmscan.c1099 if (!trylock_page(page)) in shrink_page_list()
1370 if (!trylock_page(page)) in shrink_page_list()
1584 if (!trylock_page(page)) in __isolate_lru_page()
2052 if (page_has_private(page) && trylock_page(page)) { in shrink_active_list()
Dksm.c740 if (!trylock_page(page)) { in get_ksm_page()
1221 if (!trylock_page(page)) in try_to_merge_one_page()
2189 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()
2192 WARN_ON(!trylock_page(page)); in SetZsPageMovable()
Drmap.c874 we_locked = trylock_page(page); in page_referenced()
Dz3fold.c1179 if (trylock_page(page)) { in z3fold_alloc()
Dshmem.c598 if (!trylock_page(page)) { in shmem_unused_huge_shrink()
942 if (!trylock_page(page)) in shmem_undo_range()
Dgup.c528 if (page->mapping && trylock_page(page)) { in follow_page_pte()
/Linux-v5.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()
/Linux-v5.10/fs/cachefiles/
Drdwr.c113 if (trylock_page(backpage)) { in cachefiles_read_reissue()
130 if (trylock_page(backpage)) { in cachefiles_read_reissue()
304 if (trylock_page(backpage)) { in cachefiles_read_backing_file_one()
326 if (!trylock_page(backpage)) in cachefiles_read_backing_file_one()
559 if (trylock_page(backpage)) { in cachefiles_read_backing_file()
584 if (!trylock_page(backpage)) in cachefiles_read_backing_file()
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c655 if (obj->mm.dirty && trylock_page(page)) { in i915_gem_userptr_put_pages()
/Linux-v5.10/fs/afs/
Dwrite.c557 if (!trylock_page(page)) in afs_write_back_from_locked_page()
/Linux-v5.10/fs/jbd2/
Dcommit.c78 if (!trylock_page(page)) in release_buffer_page()
/Linux-v5.10/fs/erofs/
Dzdata.c221 if (!trylock_page(page)) in erofs_try_to_free_all_cached_pages()
/Linux-v5.10/fs/btrfs/
Dextent_io.c3727 if (!trylock_page(p)) { in lock_extent_buffer_for_io()
4188 if (!trylock_page(page)) { in extent_write_cache_pages()
5496 if (!trylock_page(page)) in read_extent_buffer_pages()

12