Lines Matching refs:bh2
1961 struct buffer_head *bh2; in do_split() local
1974 bh2 = ext4_append(handle, dir, &newblock); in do_split()
1975 if (IS_ERR(bh2)) { in do_split()
1978 return (struct ext4_dir_entry_2 *) bh2; in do_split()
1993 data2 = bh2->b_data; in do_split()
2044 ext4_initialize_dirent_tail(bh2, blocksize); in do_split()
2054 swap(*bh, bh2); in do_split()
2058 err = ext4_handle_dirty_dirblock(handle, dir, bh2); in do_split()
2064 brelse(bh2); in do_split()
2070 brelse(bh2); in do_split()
2209 struct buffer_head *bh2; in make_indexed_dir() local
2249 bh2 = ext4_append(handle, dir, &block); in make_indexed_dir()
2250 if (IS_ERR(bh2)) { in make_indexed_dir()
2252 return PTR_ERR(bh2); in make_indexed_dir()
2255 data2 = bh2->b_data; in make_indexed_dir()
2262 if (ext4_check_dir_entry(dir, NULL, de, bh2, data2, len, in make_indexed_dir()
2265 brelse(bh2); in make_indexed_dir()
2275 ext4_initialize_dirent_tail(bh2, blocksize); in make_indexed_dir()
2314 retval = ext4_handle_dirty_dirblock(handle, dir, bh2); in make_indexed_dir()
2318 de = do_split(handle,dir, &bh2, frame, &fname->hinfo); in make_indexed_dir()
2324 retval = add_dirent_to_buf(handle, fname, dir, inode, de, bh2); in make_indexed_dir()
2334 brelse(bh2); in make_indexed_dir()
2509 struct buffer_head *bh2; in ext4_dx_add_entry() local
2535 bh2 = ext4_append(handle, dir, &newblock); in ext4_dx_add_entry()
2536 if (IS_ERR(bh2)) { in ext4_dx_add_entry()
2537 err = PTR_ERR(bh2); in ext4_dx_add_entry()
2540 node2 = (struct dx_node *)(bh2->b_data); in ext4_dx_add_entry()
2573 swap(frame->bh, bh2); in ext4_dx_add_entry()
2578 ((struct dx_node *) bh2->b_data)->entries)); in ext4_dx_add_entry()
2579 err = ext4_handle_dirty_dx_node(handle, dir, bh2); in ext4_dx_add_entry()
2582 brelse (bh2); in ext4_dx_add_entry()
2608 err = ext4_handle_dirty_dx_node(handle, dir, bh2); in ext4_dx_add_entry()
2609 brelse(bh2); in ext4_dx_add_entry()