Lines Matching refs:header_bh
220 struct buffer_head *header_bh, *cp_bh; in nilfs_cpfile_get_checkpoint() local
232 ret = nilfs_cpfile_get_header_block(cpfile, &header_bh); in nilfs_cpfile_get_checkpoint()
254 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_get_checkpoint()
255 header = nilfs_cpfile_block_get_header(cpfile, header_bh, in nilfs_cpfile_get_checkpoint()
259 mark_buffer_dirty(header_bh); in nilfs_cpfile_get_checkpoint()
268 brelse(header_bh); in nilfs_cpfile_get_checkpoint()
315 struct buffer_head *header_bh, *cp_bh; in nilfs_cpfile_delete_checkpoints() local
333 ret = nilfs_cpfile_get_header_block(cpfile, &header_bh); in nilfs_cpfile_delete_checkpoints()
392 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_delete_checkpoints()
393 header = nilfs_cpfile_block_get_header(cpfile, header_bh, in nilfs_cpfile_delete_checkpoints()
396 mark_buffer_dirty(header_bh); in nilfs_cpfile_delete_checkpoints()
401 brelse(header_bh); in nilfs_cpfile_delete_checkpoints()
619 struct buffer_head *header_bh, *curr_bh, *prev_bh, *cp_bh; in nilfs_cpfile_set_snapshot() local
649 ret = nilfs_cpfile_get_header_block(cpfile, &header_bh); in nilfs_cpfile_set_snapshot()
652 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_set_snapshot()
653 header = nilfs_cpfile_block_get_header(cpfile, header_bh, kaddr); in nilfs_cpfile_set_snapshot()
655 curr_bh = header_bh; in nilfs_cpfile_set_snapshot()
686 prev_bh = header_bh; in nilfs_cpfile_set_snapshot()
709 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_set_snapshot()
710 header = nilfs_cpfile_block_get_header(cpfile, header_bh, kaddr); in nilfs_cpfile_set_snapshot()
717 mark_buffer_dirty(header_bh); in nilfs_cpfile_set_snapshot()
726 brelse(header_bh); in nilfs_cpfile_set_snapshot()
738 struct buffer_head *header_bh, *next_bh, *prev_bh, *cp_bh; in nilfs_cpfile_clear_snapshot() local
771 ret = nilfs_cpfile_get_header_block(cpfile, &header_bh); in nilfs_cpfile_clear_snapshot()
780 next_bh = header_bh; in nilfs_cpfile_clear_snapshot()
789 prev_bh = header_bh; in nilfs_cpfile_clear_snapshot()
812 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_clear_snapshot()
813 header = nilfs_cpfile_block_get_header(cpfile, header_bh, kaddr); in nilfs_cpfile_clear_snapshot()
820 mark_buffer_dirty(header_bh); in nilfs_cpfile_clear_snapshot()
829 brelse(header_bh); in nilfs_cpfile_clear_snapshot()