Home
last modified time | relevance | path

Searched refs:ipage (Results 1 – 13 of 13) sorted by relevance

/fs/f2fs/
Dinline.c64 void f2fs_do_read_inline_data(struct page *page, struct page *ipage) in f2fs_do_read_inline_data() argument
76 memcpy_to_page(page, 0, inline_data_addr(inode, ipage), in f2fs_do_read_inline_data()
83 struct page *ipage, u64 from) in f2fs_truncate_inline_inode() argument
90 addr = inline_data_addr(inode, ipage); in f2fs_truncate_inline_inode()
92 f2fs_wait_on_page_writeback(ipage, NODE, true, true); in f2fs_truncate_inline_inode()
94 set_page_dirty(ipage); in f2fs_truncate_inline_inode()
102 struct page *ipage; in f2fs_read_inline_data() local
104 ipage = f2fs_get_node_page(F2FS_I_SB(inode), inode->i_ino); in f2fs_read_inline_data()
105 if (IS_ERR(ipage)) { in f2fs_read_inline_data()
107 return PTR_ERR(ipage); in f2fs_read_inline_data()
[all …]
Dxattr.c155 const struct qstr *qstr, struct page *ipage) in f2fs_init_security() argument
158 &f2fs_initxattrs, ipage); in f2fs_init_security()
273 static int read_inline_xattr(struct inode *inode, struct page *ipage, in read_inline_xattr() argument
281 if (ipage) { in read_inline_xattr()
282 inline_addr = inline_xattr_addr(inode, ipage); in read_inline_xattr()
316 static int lookup_all_xattrs(struct inode *inode, struct page *ipage, in lookup_all_xattrs() argument
340 err = read_inline_xattr(inode, ipage, txattr_addr); in lookup_all_xattrs()
387 static int read_all_xattrs(struct inode *inode, struct page *ipage, in read_all_xattrs() argument
404 err = read_inline_xattr(inode, ipage, txattr_addr); in read_all_xattrs()
431 void *txattr_addr, struct page *ipage) in write_all_xattrs() argument
[all …]
Dacl.c231 struct posix_acl *acl, struct page *ipage) in __f2fs_set_acl() argument
242 if (acl && !ipage) { in __f2fs_set_acl()
269 error = f2fs_setxattr(inode, name_index, "", value, size, ipage, 0); in __f2fs_set_acl()
412 int f2fs_init_acl(struct inode *inode, struct inode *dir, struct page *ipage, in f2fs_init_acl() argument
426 ipage); in f2fs_init_acl()
434 ipage); in f2fs_init_acl()
Ddata.c1423 struct page *ipage, pgoff_t index, bool new_i_size) in f2fs_get_new_data_page() argument
1436 f2fs_put_page(ipage, 1); in f2fs_get_new_data_page()
1440 set_new_dnode(&dn, inode, ipage, NULL, 0); in f2fs_get_new_data_page()
1446 if (!ipage) in f2fs_get_new_data_page()
1460 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page()
3404 struct page *ipage; in prepare_write_begin() local
3429 ipage = f2fs_get_node_page(sbi, inode->i_ino); in prepare_write_begin()
3430 if (IS_ERR(ipage)) { in prepare_write_begin()
3431 err = PTR_ERR(ipage); in prepare_write_begin()
3435 set_new_dnode(&dn, inode, ipage, ipage, 0); in prepare_write_begin()
[all …]
Dnode.c2667 struct page *ipage; in f2fs_recover_inline_xattr() local
2670 ipage = f2fs_get_node_page(F2FS_I_SB(inode), inode->i_ino); in f2fs_recover_inline_xattr()
2671 if (IS_ERR(ipage)) in f2fs_recover_inline_xattr()
2672 return PTR_ERR(ipage); in f2fs_recover_inline_xattr()
2688 dst_addr = inline_xattr_addr(inode, ipage); in f2fs_recover_inline_xattr()
2692 f2fs_wait_on_page_writeback(ipage, NODE, true, true); in f2fs_recover_inline_xattr()
2695 f2fs_update_inode(inode, ipage); in f2fs_recover_inline_xattr()
2696 f2fs_put_page(ipage, 1); in f2fs_recover_inline_xattr()
2753 struct page *ipage; in f2fs_recover_inode_page() local
2763 ipage = f2fs_grab_cache_page(NODE_MAPPING(sbi), ino, false); in f2fs_recover_inode_page()
[all …]
Ddir.c465 struct page *ipage) in init_dent_inode() argument
472 f2fs_wait_on_page_writeback(ipage, NODE, true, true); in init_dent_inode()
475 ri = F2FS_INODE(ipage); in init_dent_inode()
496 set_page_dirty(ipage); in init_dent_inode()
642 bool f2fs_has_enough_room(struct inode *dir, struct page *ipage, in f2fs_has_enough_room() argument
649 make_dentry_ptr_inline(dir, &d, inline_data_addr(dir, ipage)); in f2fs_has_enough_room()
Dacl.h46 struct page *ipage, struct page *dpage) in f2fs_init_acl() argument
Dinode.c109 static void __recover_inline_status(struct inode *inode, struct page *ipage) in __recover_inline_status() argument
111 void *inline_data = inline_data_addr(inode, ipage); in __recover_inline_status()
117 f2fs_wait_on_page_writeback(ipage, NODE, true, true); in __recover_inline_status()
120 set_raw_inline(inode, F2FS_INODE(ipage)); in __recover_inline_status()
121 set_page_dirty(ipage); in __recover_inline_status()
Dxattr.h161 const struct qstr *qstr, struct page *ipage) in f2fs_init_security() argument
Drecovery.c167 static int recover_dentry(struct inode *inode, struct page *ipage, in recover_dentry() argument
170 struct f2fs_inode *raw_inode = F2FS_INODE(ipage); in recover_dentry()
243 __func__, ino_of_node(ipage), name, in recover_dentry()
Dextent_cache.c387 void f2fs_init_read_extent_tree(struct inode *inode, struct page *ipage) in f2fs_init_read_extent_tree() argument
391 struct f2fs_extent *i_ext = &F2FS_INODE(ipage)->i_ext; in f2fs_init_read_extent_tree()
399 f2fs_wait_on_page_writeback(ipage, NODE, true, true); in f2fs_init_read_extent_tree()
401 set_page_dirty(ipage); in f2fs_init_read_extent_tree()
Df2fs.h973 struct page *ipage, struct page *npage, nid_t nid) in set_new_dnode() argument
977 dn->inode_page = ipage; in set_new_dnode()
3528 bool f2fs_has_enough_room(struct inode *dir, struct page *ipage,
3807 struct page *ipage, pgoff_t index, bool new_i_size);
4114 void f2fs_do_read_inline_data(struct page *page, struct page *ipage);
4116 struct page *ipage, u64 from);
4127 struct page *ipage);
4163 void f2fs_init_read_extent_tree(struct inode *inode, struct page *ipage);
Dfile.c683 struct page *ipage; in f2fs_do_truncate_blocks() local
696 ipage = f2fs_get_node_page(sbi, inode->i_ino); in f2fs_do_truncate_blocks()
697 if (IS_ERR(ipage)) { in f2fs_do_truncate_blocks()
698 err = PTR_ERR(ipage); in f2fs_do_truncate_blocks()
703 f2fs_truncate_inline_inode(inode, ipage, from); in f2fs_do_truncate_blocks()
704 f2fs_put_page(ipage, 1); in f2fs_do_truncate_blocks()
709 set_new_dnode(&dn, inode, ipage, NULL, 0); in f2fs_do_truncate_blocks()