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()
419 return (struct nilfs_btree_node *)path[level].bp_bh->b_data; in nilfs_btree_get_nonroot_node()
565 path[level].bp_bh = NULL; in nilfs_btree_do_lookup()
579 ret = __nilfs_btree_get_block(btree, ptr, &path[level].bp_bh, in nilfs_btree_do_lookup()
624 path[level].bp_bh = NULL; in nilfs_btree_do_lookup_last()
629 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()
801 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_promote_key()
802 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_promote_key()
826 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_do_insert()
827 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_do_insert()
864 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_carry_left()
865 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_carry_left()
873 brelse(path[level].bp_bh); in nilfs_btree_carry_left()
874 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_carry_left()
910 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_carry_right()
911 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_carry_right()
921 brelse(path[level].bp_bh); in nilfs_btree_carry_right()
922 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_carry_right()
955 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_split()
956 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_split()
968 brelse(path[level].bp_bh); in nilfs_btree_split()
969 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_split()
1004 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_grow()
1276 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_do_delete()
1277 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_do_delete()
1308 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_borrow_left()
1309 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_borrow_left()
1340 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_borrow_right()
1341 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_borrow_right()
1374 nilfs_btnode_delete(path[level].bp_bh); in nilfs_btree_concat_left()
1375 path[level].bp_bh = path[level].bp_sib_bh; in nilfs_btree_concat_left()
1397 if (!buffer_dirty(path[level].bp_bh)) in nilfs_btree_concat_right()
1398 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_concat_right()
1425 nilfs_btnode_delete(path[level].bp_bh); in nilfs_btree_shrink()
1426 path[level].bp_bh = NULL; in nilfs_btree_shrink()
1919 !buffer_dirty(path[level].bp_bh)) in nilfs_btree_propagate_p()
1920 mark_buffer_dirty(path[level].bp_bh); in nilfs_btree_propagate_p()
1942 if (buffer_nilfs_node(path[level].bp_bh)) { in nilfs_btree_prepare_update_v()
1945 path[level].bp_ctxt.bh = path[level].bp_bh; in nilfs_btree_prepare_update_v()
1971 if (buffer_nilfs_node(path[level].bp_bh)) { in nilfs_btree_commit_update_v()
1975 path[level].bp_bh = path[level].bp_ctxt.bh; in nilfs_btree_commit_update_v()
1977 set_buffer_nilfs_volatile(path[level].bp_bh); in nilfs_btree_commit_update_v()
1990 if (buffer_nilfs_node(path[level].bp_bh)) in nilfs_btree_abort_update_v()
2004 if (!buffer_nilfs_volatile(path[level].bp_bh)) { in nilfs_btree_prepare_propagate_v()
2010 !buffer_dirty(path[level].bp_bh)) { in nilfs_btree_prepare_propagate_v()
2012 WARN_ON(buffer_nilfs_volatile(path[level].bp_bh)); in nilfs_btree_prepare_propagate_v()
2026 if (!buffer_nilfs_volatile(path[level].bp_bh)) in nilfs_btree_prepare_propagate_v()
2039 if (!buffer_nilfs_volatile(path[minlevel].bp_bh)) in nilfs_btree_commit_propagate_v()
2057 path[level].bp_bh = bh; in nilfs_btree_propagate_v()
2063 if (buffer_nilfs_volatile(path[level].bp_bh)) { in nilfs_btree_propagate_v()
2076 brelse(path[level].bp_bh); in nilfs_btree_propagate_v()
2077 path[level].bp_bh = NULL; in nilfs_btree_propagate_v()