Home
last modified time | relevance | path

Searched refs:locked_page (Results 1 – 11 of 11) sorted by relevance

/fs/btrfs/tests/
Dextent-io-tests.c64 struct page *locked_page = NULL; in test_find_delalloc() local
105 locked_page = page; in test_find_delalloc()
116 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
128 unlock_page(locked_page); in test_find_delalloc()
129 put_page(locked_page); in test_find_delalloc()
138 locked_page = find_lock_page(inode->i_mapping, in test_find_delalloc()
140 if (!locked_page) { in test_find_delalloc()
147 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
165 put_page(locked_page); in test_find_delalloc()
173 locked_page = find_lock_page(inode->i_mapping, test_start >> in test_find_delalloc()
[all …]
/fs/ocfs2/
Dmmap.c58 struct page *locked_page = NULL; in __ocfs2_page_mkwrite() local
96 &locked_page, &fsdata, di_bh, page); in __ocfs2_page_mkwrite()
104 if (!locked_page) { in __ocfs2_page_mkwrite()
/fs/ufs/
Dballoc.c241 sector_t newb, struct page *locked_page) in ufs_change_blocknr() argument
257 BUG_ON(!locked_page); in ufs_change_blocknr()
258 BUG_ON(!PageLocked(locked_page)); in ufs_change_blocknr()
260 cur_index = locked_page->index; in ufs_change_blocknr()
277 page = locked_page; in ufs_change_blocknr()
346 struct page *locked_page) in ufs_new_fragments() argument
426 newcount - oldcount, locked_page != NULL); in ufs_new_fragments()
450 locked_page != NULL); in ufs_new_fragments()
471 locked_page != NULL); in ufs_new_fragments()
475 uspi->s_sbbase + result, locked_page); in ufs_new_fragments()
Dinode.c222 int *err, struct page *locked_page) in ufs_extend_tail() argument
241 locked_page); in ufs_extend_tail()
257 int *new, struct page *locked_page) in ufs_inode_getfrag() argument
290 goal, nfrags, err, locked_page); in ufs_inode_getfrag()
336 int *new, struct page *locked_page) in ufs_inode_getblock() argument
371 uspi->s_fpb, err, locked_page); in ufs_inode_getblock()
/fs/ceph/
Daddr.c1538 struct page *locked_page = NULL; in ceph_page_mkwrite() local
1541 locked_page = page; in ceph_page_mkwrite()
1543 err = ceph_uninline_data(vma->vm_file, locked_page); in ceph_page_mkwrite()
1544 if (locked_page) in ceph_page_mkwrite()
1545 unlock_page(locked_page); in ceph_page_mkwrite()
1616 void ceph_fill_inline_data(struct inode *inode, struct page *locked_page, in ceph_fill_inline_data() argument
1622 if (locked_page) { in ceph_fill_inline_data()
1623 page = locked_page; in ceph_fill_inline_data()
1640 inode, ceph_vinop(inode), len, locked_page); in ceph_fill_inline_data()
1648 if (page != locked_page) { in ceph_fill_inline_data()
[all …]
Dsuper.h926 extern int __ceph_do_getattr(struct inode *inode, struct page *locked_page,
1088 extern int ceph_uninline_data(struct file *filp, struct page *locked_page);
1100 extern void ceph_fill_inline_data(struct inode *inode, struct page *locked_page,
Dinode.c728 static int fill_inode(struct inode *inode, struct page *locked_page, in fill_inode() argument
1004 (locked_page || (info_caps & cache_caps))) in fill_inode()
1011 ceph_fill_inline_data(inode, locked_page, in fill_inode()
2240 int __ceph_do_getattr(struct inode *inode, struct page *locked_page, in __ceph_do_getattr() argument
2267 req->r_locked_page = locked_page; in __ceph_do_getattr()
2269 if (locked_page && err == 0) { in __ceph_do_getattr()
/fs/btrfs/
Dinode.c84 struct page *locked_page,
108 struct page *locked_page, in btrfs_cleanup_ordered_extents() argument
113 u64 page_start = page_offset(locked_page); in btrfs_cleanup_ordered_extents()
366 struct page *locked_page; member
715 if (async_chunk->locked_page && in compress_file_range()
716 (page_offset(async_chunk->locked_page) >= start && in compress_file_range()
717 page_offset(async_chunk->locked_page)) <= end) { in compress_file_range()
718 __set_page_dirty_nobuffers(async_chunk->locked_page); in compress_file_range()
780 ret = cow_file_range(inode, async_chunk->locked_page, in submit_compressed_extents()
800 else if (ret && async_chunk->locked_page) in submit_compressed_extents()
[all …]
Dextent_io.c1733 struct page *locked_page,
1738 struct page *locked_page, in __unlock_for_delalloc() argument
1744 ASSERT(locked_page); in __unlock_for_delalloc()
1745 if (index == locked_page->index && end_index == index) in __unlock_for_delalloc()
1748 __process_pages_contig(inode->i_mapping, locked_page, index, end_index, in __unlock_for_delalloc()
1753 struct page *locked_page, in lock_delalloc_pages() argument
1762 ASSERT(locked_page); in lock_delalloc_pages()
1763 if (index == locked_page->index && index == end_index) in lock_delalloc_pages()
1766 ret = __process_pages_contig(inode->i_mapping, locked_page, index, in lock_delalloc_pages()
1769 __unlock_for_delalloc(inode, locked_page, delalloc_start, in lock_delalloc_pages()
[all …]
Dextent_io.h497 struct page *locked_page,
553 struct page *locked_page, u64 *start,
Dctree.h2899 int btrfs_run_delalloc_range(struct inode *inode, struct page *locked_page,