Home
last modified time | relevance | path

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

/linux-4.1.27/mm/
Dballoon_compaction.c36 BUG_ON(!trylock_page(page)); in balloon_page_enqueue()
71 if (trylock_page(page)) { in balloon_page_dequeue()
157 if (likely(trylock_page(page))) { in balloon_page_isolate()
207 BUG_ON(!trylock_page(newpage)); in balloon_page_migrate()
Dtruncate.c275 if (!trylock_page(page)) in truncate_inode_pages_range()
483 if (!trylock_page(page)) in invalidate_mapping_pages()
Dswap_state.c238 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
Dmigrate.c728 if (!trylock_page(newpage)) in move_to_new_page()
773 if (!trylock_page(page)) { in __unmap_and_move()
1030 if (!trylock_page(hpage)) { in unmap_and_move_huge_page()
Dreadahead.c48 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
Dfilemap.c1079 if (!trylock_page(page)) { in pagecache_get_page()
1506 if (!trylock_page(page)) in do_generic_file_read()
2026 if (!trylock_page(page)) in filemap_map_pages()
Dvmscan.c878 if (!trylock_page(page)) in shrink_page_list()
1079 if (!trylock_page(page)) in shrink_page_list()
1763 if (page_has_private(page) && trylock_page(page)) { in shrink_active_list()
Dhuge_memory.c1242 if (page->mapping && trylock_page(page)) { in follow_trans_huge_pmd()
1310 page_locked = trylock_page(page); in do_huge_pmd_numa_page()
2157 if (!trylock_page(page)) in __collapse_huge_page_isolate()
Dgup.c105 if (page->mapping && trylock_page(page)) { in follow_page_pte()
Drmap.c842 we_locked = trylock_page(page); in page_referenced()
Dswapfile.c112 if (trylock_page(page)) { in __try_to_reclaim_swap()
956 if (page && !trylock_page(page)) { in free_swap_and_cache()
Dksm.c1039 if (!trylock_page(page)) in try_to_merge_one_page()
Dshmem.c435 if (!trylock_page(page)) in shmem_undo_range()
Dmemory.c2314 if (!trylock_page(old_page)) { in do_wp_page()
Dhugetlb.c3341 if (!trylock_page(page)) { in hugetlb_fault()
Dmemcontrol.c4771 if (!trylock_page(page)) in mem_cgroup_move_account()
/linux-4.1.27/include/linux/
Dpagemap.h439 static inline int trylock_page(struct page *page) in trylock_page() function
450 if (!trylock_page(page)) in lock_page()
462 if (!trylock_page(page)) in lock_page_killable()
478 return trylock_page(page) || __lock_page_or_retry(page, mm, flags); in lock_page_or_retry()
/linux-4.1.27/fs/cachefiles/
Drdwr.c110 if (trylock_page(backpage)) { in cachefiles_read_reissue()
127 if (trylock_page(backpage)) { in cachefiles_read_reissue()
301 if (trylock_page(backpage)) { in cachefiles_read_backing_file_one()
323 if (!trylock_page(backpage)) in cachefiles_read_backing_file_one()
556 if (trylock_page(backpage)) { in cachefiles_read_backing_file()
581 if (!trylock_page(backpage)) in cachefiles_read_backing_file()
/linux-4.1.27/fs/jbd/
Dcommit.c68 if (!trylock_page(page)) in release_buffer_page()
468 if (!trylock_page(bh->b_page)) { in journal_commit_transaction()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dvvp_page.c87 if (!trylock_page(vmpage)) in vvp_page_own()
/linux-4.1.27/fs/afs/
Dwrite.c360 if (!trylock_page(page)) in afs_write_back_from_locked_page()
/linux-4.1.27/fs/jbd2/
Dcommit.c81 if (!trylock_page(page)) in release_buffer_page()
/linux-4.1.27/fs/xfs/
Dxfs_aops.c701 if (!trylock_page(page)) in xfs_convert_page()
/linux-4.1.27/fs/ceph/
Daddr.c806 else if (!trylock_page(page)) in ceph_writepages_start()
/linux-4.1.27/fs/btrfs/
Dextent_io.c3666 if (!trylock_page(p)) { in lock_extent_buffer_for_io()
4028 if (!trylock_page(page)) { in extent_write_cache_pages()
5225 if (!trylock_page(page)) in read_extent_buffer_pages()
/linux-4.1.27/fs/f2fs/
Dnode.c1185 else if (!trylock_page(page)) in sync_node_pages()
/linux-4.1.27/fs/logfs/
Dreadwrite.c291 while (unlikely(!trylock_page(page))) { in logfs_lock_write_page()
/linux-4.1.27/fs/reiserfs/
Djournal.c607 if (!page->mapping && trylock_page(page)) { in release_buffer_page()
/linux-4.1.27/fs/cifs/
Dfile.c1942 else if (!trylock_page(page)) in wdata_prepare_pages()