Lines Matching refs:desc_bh
501 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_prepare_alloc_entry() local
524 ret = nilfs_palloc_get_desc_block(inode, group, 1, &desc_bh); in nilfs_palloc_prepare_alloc_entry()
527 desc_kaddr = kmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
529 inode, group, desc_bh, desc_kaddr); in nilfs_palloc_prepare_alloc_entry()
550 kunmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
553 req->pr_desc_bh = desc_bh; in nilfs_palloc_prepare_alloc_entry()
564 kunmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
565 brelse(desc_bh); in nilfs_palloc_prepare_alloc_entry()
572 kunmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
573 brelse(desc_bh); in nilfs_palloc_prepare_alloc_entry()
683 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_prepare_free_entry() local
688 ret = nilfs_palloc_get_desc_block(inode, group, 1, &desc_bh); in nilfs_palloc_prepare_free_entry()
693 brelse(desc_bh); in nilfs_palloc_prepare_free_entry()
697 req->pr_desc_bh = desc_bh; in nilfs_palloc_prepare_free_entry()
726 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_freev() local
744 ret = nilfs_palloc_get_desc_block(inode, group, 0, &desc_bh); in nilfs_palloc_freev()
750 brelse(desc_bh); in nilfs_palloc_freev()
817 desc_kaddr = kmap_atomic(desc_bh->b_page); in nilfs_palloc_freev()
819 inode, group, desc_bh, desc_kaddr); in nilfs_palloc_freev()
822 mark_buffer_dirty(desc_bh); in nilfs_palloc_freev()
824 brelse(desc_bh); in nilfs_palloc_freev()