Lines Matching refs:npage

764 	struct page *npage[4];  in f2fs_get_dnode_of_data()  local
777 npage[0] = dn->inode_page; in f2fs_get_dnode_of_data()
779 if (!npage[0]) { in f2fs_get_dnode_of_data()
780 npage[0] = f2fs_get_node_page(sbi, nids[0]); in f2fs_get_dnode_of_data()
781 if (IS_ERR(npage[0])) in f2fs_get_dnode_of_data()
782 return PTR_ERR(npage[0]); in f2fs_get_dnode_of_data()
788 f2fs_put_page(npage[0], 1); in f2fs_get_dnode_of_data()
792 parent = npage[0]; in f2fs_get_dnode_of_data()
795 dn->inode_page = npage[0]; in f2fs_get_dnode_of_data()
810 npage[i] = f2fs_new_node_page(dn, noffset[i]); in f2fs_get_dnode_of_data()
811 if (IS_ERR(npage[i])) { in f2fs_get_dnode_of_data()
813 err = PTR_ERR(npage[i]); in f2fs_get_dnode_of_data()
821 npage[i] = f2fs_get_node_page_ra(parent, offset[i - 1]); in f2fs_get_dnode_of_data()
822 if (IS_ERR(npage[i])) { in f2fs_get_dnode_of_data()
823 err = PTR_ERR(npage[i]); in f2fs_get_dnode_of_data()
836 npage[i] = f2fs_get_node_page(sbi, nids[i]); in f2fs_get_dnode_of_data()
837 if (IS_ERR(npage[i])) { in f2fs_get_dnode_of_data()
838 err = PTR_ERR(npage[i]); in f2fs_get_dnode_of_data()
839 f2fs_put_page(npage[0], 0); in f2fs_get_dnode_of_data()
844 parent = npage[i]; in f2fs_get_dnode_of_data()
850 dn->node_page = npage[level]; in f2fs_get_dnode_of_data()
877 f2fs_put_page(npage[0], 0); in f2fs_get_dnode_of_data()
1197 struct page *npage; in f2fs_truncate_xattr_node() local
1203 npage = f2fs_get_node_page(sbi, nid); in f2fs_truncate_xattr_node()
1204 if (IS_ERR(npage)) in f2fs_truncate_xattr_node()
1205 return PTR_ERR(npage); in f2fs_truncate_xattr_node()
1207 set_new_dnode(&dn, inode, NULL, npage, nid); in f2fs_truncate_xattr_node()
1210 f2fs_put_page(npage, 1); in f2fs_truncate_xattr_node()