/fs/f2fs/ |
D | inline.c | 44 void f2fs_do_read_inline_data(struct page *page, struct page *ipage) in f2fs_do_read_inline_data() argument 57 src_addr = inline_data_addr(inode, ipage); in f2fs_do_read_inline_data() 67 struct page *ipage, u64 from) in f2fs_truncate_inline_inode() argument 74 addr = inline_data_addr(inode, ipage); in f2fs_truncate_inline_inode() 76 f2fs_wait_on_page_writeback(ipage, NODE, true, true); in f2fs_truncate_inline_inode() 78 set_page_dirty(ipage); in f2fs_truncate_inline_inode() 86 struct page *ipage; in f2fs_read_inline_data() local 99 ipage = f2fs_get_node_page(F2FS_I_SB(inode), inode->i_ino); in f2fs_read_inline_data() 100 if (IS_ERR(ipage)) { in f2fs_read_inline_data() 104 return PTR_ERR(ipage); in f2fs_read_inline_data() [all …]
|
D | xattr.c | 132 const struct qstr *qstr, struct page *ipage) in f2fs_init_security() argument 135 &f2fs_initxattrs, ipage); in f2fs_init_security() 252 static int read_inline_xattr(struct inode *inode, struct page *ipage, in read_inline_xattr() argument 260 if (ipage) { in read_inline_xattr() 261 inline_addr = inline_xattr_addr(inode, ipage); in read_inline_xattr() 295 static int lookup_all_xattrs(struct inode *inode, struct page *ipage, in lookup_all_xattrs() argument 316 err = read_inline_xattr(inode, ipage, txattr_addr); in lookup_all_xattrs() 354 static int read_all_xattrs(struct inode *inode, struct page *ipage, in read_all_xattrs() argument 371 err = read_inline_xattr(inode, ipage, txattr_addr); in read_all_xattrs() 398 void *txattr_addr, struct page *ipage) in write_all_xattrs() argument [all …]
|
D | acl.c | 204 struct posix_acl *acl, struct page *ipage) in __f2fs_set_acl() argument 215 if (acl && !ipage) { in __f2fs_set_acl() 241 error = f2fs_setxattr(inode, name_index, "", value, size, ipage, 0); in __f2fs_set_acl() 383 int f2fs_init_acl(struct inode *inode, struct inode *dir, struct page *ipage, in f2fs_init_acl() argument 397 ipage); in f2fs_init_acl() 405 ipage); in f2fs_init_acl()
|
D | node.c | 2456 struct page *ipage; in f2fs_recover_inline_xattr() local 2459 ipage = f2fs_get_node_page(F2FS_I_SB(inode), inode->i_ino); in f2fs_recover_inline_xattr() 2460 f2fs_bug_on(F2FS_I_SB(inode), IS_ERR(ipage)); in f2fs_recover_inline_xattr() 2470 dst_addr = inline_xattr_addr(inode, ipage); in f2fs_recover_inline_xattr() 2474 f2fs_wait_on_page_writeback(ipage, NODE, true, true); in f2fs_recover_inline_xattr() 2477 f2fs_update_inode(inode, ipage); in f2fs_recover_inline_xattr() 2478 f2fs_put_page(ipage, 1); in f2fs_recover_inline_xattr() 2532 struct page *ipage; in f2fs_recover_inode_page() local 2542 ipage = f2fs_grab_cache_page(NODE_MAPPING(sbi), ino, false); in f2fs_recover_inode_page() 2543 if (!ipage) { in f2fs_recover_inode_page() [all …]
|
D | acl.h | 45 struct page *ipage, struct page *dpage) in f2fs_init_acl() argument
|
D | inode.c | 99 static void __recover_inline_status(struct inode *inode, struct page *ipage) in __recover_inline_status() argument 101 void *inline_data = inline_data_addr(inode, ipage); in __recover_inline_status() 107 f2fs_wait_on_page_writeback(ipage, NODE, true, true); in __recover_inline_status() 110 set_raw_inline(inode, F2FS_INODE(ipage)); in __recover_inline_status() 111 set_page_dirty(ipage); in __recover_inline_status()
|
D | data.c | 879 struct page *ipage, pgoff_t index, bool new_i_size) in f2fs_get_new_data_page() argument 892 f2fs_put_page(ipage, 1); in f2fs_get_new_data_page() 896 set_new_dnode(&dn, inode, ipage, NULL, 0); in f2fs_get_new_data_page() 902 if (!ipage) in f2fs_get_new_data_page() 916 f2fs_bug_on(F2FS_I_SB(inode), ipage); in f2fs_get_new_data_page() 2375 struct page *ipage; in prepare_write_begin() local 2402 ipage = f2fs_get_node_page(sbi, inode->i_ino); in prepare_write_begin() 2403 if (IS_ERR(ipage)) { in prepare_write_begin() 2404 err = PTR_ERR(ipage); in prepare_write_begin() 2408 set_new_dnode(&dn, inode, ipage, ipage, 0); in prepare_write_begin() [all …]
|
D | file.c | 598 struct page *ipage; in f2fs_truncate_blocks() local 611 ipage = f2fs_get_node_page(sbi, inode->i_ino); in f2fs_truncate_blocks() 612 if (IS_ERR(ipage)) { in f2fs_truncate_blocks() 613 err = PTR_ERR(ipage); in f2fs_truncate_blocks() 618 f2fs_truncate_inline_inode(inode, ipage, from); in f2fs_truncate_blocks() 619 f2fs_put_page(ipage, 1); in f2fs_truncate_blocks() 624 set_new_dnode(&dn, inode, ipage, NULL, 0); in f2fs_truncate_blocks() 2652 struct page *ipage; in f2fs_ioc_setproject() local 2676 ipage = f2fs_get_node_page(sbi, inode->i_ino); in f2fs_ioc_setproject() 2677 if (IS_ERR(ipage)) in f2fs_ioc_setproject() [all …]
|
D | dir.c | 306 static void init_dent_inode(const struct qstr *name, struct page *ipage) in init_dent_inode() argument 310 f2fs_wait_on_page_writeback(ipage, NODE, true, true); in init_dent_inode() 313 ri = F2FS_INODE(ipage); in init_dent_inode() 316 set_page_dirty(ipage); in init_dent_inode()
|
D | xattr.h | 156 const struct qstr *qstr, struct page *ipage) in f2fs_init_security() argument
|
D | recovery.c | 110 static int recover_dentry(struct inode *inode, struct page *ipage, in recover_dentry() argument 113 struct f2fs_inode *raw_inode = F2FS_INODE(ipage); in recover_dentry() 193 __func__, ino_of_node(ipage), name, in recover_dentry()
|
D | f2fs.h | 843 struct page *ipage, struct page *npage, nid_t nid) in set_new_dnode() argument 847 dn->inode_page = ipage; in set_new_dnode() 3174 struct page *ipage, pgoff_t index, bool new_i_size); 3439 void f2fs_do_read_inline_data(struct page *page, struct page *ipage); 3441 struct page *ipage, u64 from); 3450 struct page *ipage);
|