Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/tests/
H A Dextent-io-tests.c116 struct page *locked_page = NULL; in test_find_delalloc() local
172 locked_page = page; in test_find_delalloc()
183 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
195 unlock_page(locked_page); in test_find_delalloc()
196 put_page(locked_page); in test_find_delalloc()
205 locked_page = find_lock_page(inode->i_mapping, in test_find_delalloc()
207 if (!locked_page) { in test_find_delalloc()
214 found = find_lock_delalloc_range(inode, locked_page, &start, in test_find_delalloc()
232 put_page(locked_page); in test_find_delalloc()
240 locked_page = find_lock_page(inode->i_mapping, test_start >> in test_find_delalloc()
[all …]
/openbmc/linux/fs/ocfs2/
H A Dmmap.c56 struct page *locked_page = NULL; in __ocfs2_page_mkwrite() local
94 &locked_page, &fsdata, di_bh, page); in __ocfs2_page_mkwrite()
102 if (!locked_page) { in __ocfs2_page_mkwrite()
/openbmc/linux/fs/ufs/
H A 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()
342 struct page *locked_page) in ufs_new_fragments() argument
422 newcount - oldcount, locked_page != NULL); in ufs_new_fragments()
446 locked_page != NULL); in ufs_new_fragments()
467 locked_page != NULL); in ufs_new_fragments()
471 uspi->s_sbbase + result, locked_page); in ufs_new_fragments()
H A 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()
/openbmc/linux/fs/btrfs/
H A Dextent_io.h187 void extent_write_locked_range(struct inode *inode, struct page *locked_page,
290 struct page *locked_page,
301 struct page *locked_page, u64 *start,
H A Dinode.c129 struct page *locked_page, u64 start,
411 struct page *locked_page, in btrfs_cleanup_ordered_extents() argument
419 if (locked_page) { in btrfs_cleanup_ordered_extents()
420 page_start = page_offset(locked_page); in btrfs_cleanup_ordered_extents()
435 if (locked_page && index == (page_start >> PAGE_SHIFT)) { in btrfs_cleanup_ordered_extents()
454 if (locked_page) { in btrfs_cleanup_ordered_extents()
465 bytes = offset + bytes - page_offset(locked_page) - PAGE_SIZE; in btrfs_cleanup_ordered_extents()
466 offset = page_offset(locked_page) + PAGE_SIZE; in btrfs_cleanup_ordered_extents()
708 struct page *locked_page; member
1066 struct page *locked_page) in submit_uncompressed_range() argument
[all …]
H A Dextent_io.c185 struct page *page, struct page *locked_page, in process_one_page() argument
202 if (page != locked_page && (page_ops & PAGE_UNLOCK)) in process_one_page()
207 struct page *locked_page, u64 start, u64 end, in __process_pages_contig() argument
226 process_one_page(fs_info, &folio->page, locked_page, in __process_pages_contig()
235 struct page *locked_page, in __unlock_for_delalloc() argument
241 ASSERT(locked_page); in __unlock_for_delalloc()
242 if (index == locked_page->index && end_index == index) in __unlock_for_delalloc()
245 __process_pages_contig(inode->i_mapping, locked_page, start, end, in __unlock_for_delalloc()
250 struct page *locked_page, in lock_delalloc_pages() argument
262 if (index == locked_page->index && index == end_index) in lock_delalloc_pages()
[all …]
H A Dbtrfs_inode.h505 int btrfs_run_delalloc_range(struct btrfs_inode *inode, struct page *locked_page,
/openbmc/linux/fs/ceph/
H A Dsuper.h1042 extern int ceph_fill_inode(struct inode *inode, struct page *locked_page,
1085 extern int __ceph_do_getattr(struct inode *inode, struct page *locked_page,
1316 extern void ceph_fill_inline_data(struct inode *inode, struct page *locked_page,
H A Daddr.c1784 void ceph_fill_inline_data(struct inode *inode, struct page *locked_page, in ceph_fill_inline_data() argument
1790 if (locked_page) { in ceph_fill_inline_data()
1791 page = locked_page; in ceph_fill_inline_data()
1808 inode, ceph_vinop(inode), len, locked_page); in ceph_fill_inline_data()
1816 if (page != locked_page) { in ceph_fill_inline_data()
H A Dinode.c914 int ceph_fill_inode(struct inode *inode, struct page *locked_page, in ceph_fill_inode() argument
1262 (locked_page || (info_caps & cache_caps))) in ceph_fill_inode()
1278 ceph_fill_inline_data(inode, locked_page, in ceph_fill_inode()
2810 int __ceph_do_getattr(struct inode *inode, struct page *locked_page, in __ceph_do_getattr() argument
2837 req->r_locked_page = locked_page; in __ceph_do_getattr()
2839 if (locked_page && err == 0) { in __ceph_do_getattr()