Lines Matching refs:xpage
301 struct page *xpage; in read_xattr_block() local
305 xpage = f2fs_get_node_page(sbi, xnid); in read_xattr_block()
306 if (IS_ERR(xpage)) in read_xattr_block()
307 return PTR_ERR(xpage); in read_xattr_block()
309 xattr_addr = page_address(xpage); in read_xattr_block()
311 f2fs_put_page(xpage, 1); in read_xattr_block()
438 struct page *xpage; in write_all_xattrs() local
477 xpage = f2fs_get_node_page(sbi, F2FS_I(inode)->i_xattr_nid); in write_all_xattrs()
478 if (IS_ERR(xpage)) { in write_all_xattrs()
479 err = PTR_ERR(xpage); in write_all_xattrs()
484 f2fs_wait_on_page_writeback(xpage, NODE, true, true); in write_all_xattrs()
489 xpage = f2fs_new_node_page(&dn, XATTR_NODE_OFFSET); in write_all_xattrs()
490 if (IS_ERR(xpage)) { in write_all_xattrs()
491 err = PTR_ERR(xpage); in write_all_xattrs()
497 xattr_addr = page_address(xpage); in write_all_xattrs()
505 set_page_dirty(xpage); in write_all_xattrs()
507 f2fs_put_page(xpage, 1); in write_all_xattrs()