Lines Matching refs:dentry_page

166 				struct page *dentry_page,  in find_in_block()  argument
173 dentry_blk = (struct f2fs_dentry_block *)page_address(dentry_page); in find_in_block()
308 struct page *dentry_page; in find_in_level() local
323 dentry_page = f2fs_find_data_page(dir, bidx, &next_pgofs); in find_in_level()
324 if (IS_ERR(dentry_page)) { in find_in_level()
325 if (PTR_ERR(dentry_page) == -ENOENT) { in find_in_level()
330 *res_page = dentry_page; in find_in_level()
335 de = find_in_block(dir, dentry_page, fname, &max_slots); in find_in_level()
341 *res_page = dentry_page; in find_in_level()
347 f2fs_put_page(dentry_page, 0); in find_in_level()
515 struct page *dentry_page; in make_empty_dir() local
522 dentry_page = f2fs_get_new_data_page(inode, page, 0, true); in make_empty_dir()
523 if (IS_ERR(dentry_page)) in make_empty_dir()
524 return PTR_ERR(dentry_page); in make_empty_dir()
526 dentry_blk = page_address(dentry_page); in make_empty_dir()
531 set_page_dirty(dentry_page); in make_empty_dir()
532 f2fs_put_page(dentry_page, 1); in make_empty_dir()
686 struct page *dentry_page = NULL; in f2fs_add_regular_entry() local
719 dentry_page = f2fs_get_new_data_page(dir, NULL, block, true); in f2fs_add_regular_entry()
720 if (IS_ERR(dentry_page)) in f2fs_add_regular_entry()
721 return PTR_ERR(dentry_page); in f2fs_add_regular_entry()
723 dentry_blk = page_address(dentry_page); in f2fs_add_regular_entry()
729 f2fs_put_page(dentry_page, 1); in f2fs_add_regular_entry()
736 f2fs_wait_on_page_writeback(dentry_page, DATA, true, true); in f2fs_add_regular_entry()
751 set_page_dirty(dentry_page); in f2fs_add_regular_entry()
768 f2fs_put_page(dentry_page, 1); in f2fs_add_regular_entry()
932 struct page *dentry_page; in f2fs_empty_dir() local
943 dentry_page = f2fs_find_data_page(dir, bidx, &next_pgofs); in f2fs_empty_dir()
944 if (IS_ERR(dentry_page)) { in f2fs_empty_dir()
945 if (PTR_ERR(dentry_page) == -ENOENT) { in f2fs_empty_dir()
953 dentry_blk = page_address(dentry_page); in f2fs_empty_dir()
962 f2fs_put_page(dentry_page, 0); in f2fs_empty_dir()
1062 struct page *dentry_page = NULL; in f2fs_readdir() local
1100 dentry_page = f2fs_find_data_page(inode, n, &next_pgofs); in f2fs_readdir()
1101 if (IS_ERR(dentry_page)) { in f2fs_readdir()
1102 err = PTR_ERR(dentry_page); in f2fs_readdir()
1112 dentry_blk = page_address(dentry_page); in f2fs_readdir()
1119 f2fs_put_page(dentry_page, 0); in f2fs_readdir()
1123 f2fs_put_page(dentry_page, 0); in f2fs_readdir()