Home
last modified time | relevance | path

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

12

/Linux-v4.19/mm/
Dballoon_compaction.c51 BUG_ON(!trylock_page(page)); in balloon_page_enqueue()
85 if (trylock_page(page)) { in balloon_page_dequeue()
Dmigrate.c118 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()
Dpage_idle.c112 if (need_lock && !trylock_page(page)) in page_idle_clear_pte_refs()
Dtruncate.c353 if (!trylock_page(page)) in truncate_inode_pages_range()
570 if (!trylock_page(page)) in invalidate_mapping_pages()
Dmadvise.c370 if (!trylock_page(page)) { in madvise_free_pte_range()
392 if (!trylock_page(page)) in madvise_free_pte_range()
Dpage_io.c380 if (trylock_page(page)) { in swap_readpage()
Dreadahead.c50 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
Dhuge_memory.c1265 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()
Dvmscan.c1129 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()
Dswap_state.c290 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
Dkhugepaged.c566 if (!trylock_page(page)) { in __collapse_huge_page_isolate()
1381 } else if (trylock_page(page)) { in collapse_shmem()
Dfilemap.c1549 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()
Dzsmalloc.c933 if (!trylock_page(cursor)) { in trylock_zspage()
2190 WARN_ON(!trylock_page(page)); in SetZsPageMovable()
Dksm.c1224 if (!trylock_page(page)) in try_to_merge_one_page()
2174 if (!trylock_page(page)) in cmp_and_merge_page()
Drmap.c860 we_locked = trylock_page(page); in page_referenced()
Dgup.c189 if (page->mapping && trylock_page(page)) { in follow_page_pte()
Dswapfile.c124 if (trylock_page(page)) { in __try_to_reclaim_swap()
1628 if (page && !trylock_page(page)) { in free_swap_and_cache()
Dshmem.c518 if (!trylock_page(page)) { in shmem_unused_huge_shrink()
837 if (!trylock_page(page)) in shmem_undo_range()
/Linux-v4.19/include/linux/
Dpagemap.h470 static inline int trylock_page(struct page *page) in trylock_page() function
482 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()
/Linux-v4.19/fs/cachefiles/
Drdwr.c117 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()
/Linux-v4.19/fs/afs/
Dwrite.c455 if (!trylock_page(page)) in afs_write_back_from_locked_page()
/Linux-v4.19/fs/jbd2/
Dcommit.c78 if (!trylock_page(page)) in release_buffer_page()
/Linux-v4.19/drivers/staging/erofs/
Dunzip_vle.c154 if (!trylock_page(page)) in erofs_try_to_free_all_cached_pages()
/Linux-v4.19/fs/btrfs/
Dextent_io.c3581 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()
/Linux-v4.19/fs/ceph/
Daddr.c891 else if (!trylock_page(page)) in ceph_writepages_start()

12