Lines Matching refs:bp_bh
33 path[level].bp_bh = NULL; in nilfs_btree_alloc_path()
50 brelse(path[level].bp_bh); in nilfs_btree_free_path()
418 return (struct nilfs_btree_node *)path[level].bp_bh->b_data; in nilfs_btree_get_nonroot_node()
564 path[level].bp_bh = NULL; in nilfs_btree_do_lookup()
578 ret = __nilfs_btree_get_block(btree, ptr, &path[level].bp_bh, in nilfs_btree_do_lookup()
623 path[level].bp_bh = NULL; in nilfs_btree_do_lookup_last()
628 ret = nilfs_btree_get_block(btree, ptr, &path[level].bp_bh); in nilfs_btree_do_lookup_last()
767 brelse(path[level].bp_bh); in nilfs_btree_lookup_contig()
768 path[level].bp_bh = NULL; in nilfs_btree_lookup_contig()
770 ret = __nilfs_btree_get_block(btree, ptr2, &path[level].bp_bh, in nilfs_btree_lookup_contig()
796 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_promote_key()
797 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_promote_key()
821 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_do_insert()
822 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_do_insert()
859 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_carry_left()
860 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_carry_left()
868 brelse(path[level].bp_bh); in nilfs_btree_carry_left()
869 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_carry_left()
905 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_carry_right()
906 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_carry_right()
916 brelse(path[level].bp_bh); in nilfs_btree_carry_right()
917 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_carry_right()
950 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_split()
951 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_split()
963 brelse(path[level].bp_bh); in nilfs_btree_split()
964 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_split()
999 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_grow()
1271 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_do_delete()
1272 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_do_delete()
1303 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_borrow_left()
1304 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_borrow_left()
1335 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_borrow_right()
1336 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_borrow_right()
1369 nilfs_btnode_delete(path[level].bp_bh); in nilfs_btree_concat_left()
1370 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_concat_left()
1392 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_concat_right()
1393 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_concat_right()
1420 nilfs_btnode_delete(path[level].bp_bh); in nilfs_btree_shrink()
1421 path[level].bp_bh = NULL; in nilfs_btree_shrink()
1904 !buffer_dirty(path[level].bp_bh)) in nilfs_btree_propagate_p()
1905 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_propagate_p()
1927 if (buffer_nilfs_node(path[level].bp_bh)) { in nilfs_btree_prepare_update_v()
1930 path[level].bp_ctxt.bh = path[level].bp_bh; in nilfs_btree_prepare_update_v()
1956 if (buffer_nilfs_node(path[level].bp_bh)) { in nilfs_btree_commit_update_v()
1960 path[level].bp_bh = path[level].bp_ctxt.bh; in nilfs_btree_commit_update_v()
1962 set_buffer_nilfs_volatile(path[level].bp_bh); in nilfs_btree_commit_update_v()
1975 if (buffer_nilfs_node(path[level].bp_bh)) in nilfs_btree_abort_update_v()
1989 if (!buffer_nilfs_volatile(path[level].bp_bh)) { in nilfs_btree_prepare_propagate_v()
1995 !buffer_dirty(path[level].bp_bh)) { in nilfs_btree_prepare_propagate_v()
1997 WARN_ON(buffer_nilfs_volatile(path[level].bp_bh)); in nilfs_btree_prepare_propagate_v()
2011 if (!buffer_nilfs_volatile(path[level].bp_bh)) in nilfs_btree_prepare_propagate_v()
2024 if (!buffer_nilfs_volatile(path[minlevel].bp_bh)) in nilfs_btree_commit_propagate_v()
2042 path[level].bp_bh = bh; in nilfs_btree_propagate_v()
2048 if (buffer_nilfs_volatile(path[level].bp_bh)) { in nilfs_btree_propagate_v()
2061 brelse(path[level].bp_bh); in nilfs_btree_propagate_v()
2062 path[level].bp_bh = NULL; in nilfs_btree_propagate_v()