Lines Matching refs:desc_bh
502 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_prepare_alloc_entry() local
525 ret = nilfs_palloc_get_desc_block(inode, group, 1, &desc_bh); in nilfs_palloc_prepare_alloc_entry()
528 desc_kaddr = kmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
530 inode, group, desc_bh, desc_kaddr); in nilfs_palloc_prepare_alloc_entry()
551 kunmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
554 req->pr_desc_bh = desc_bh; in nilfs_palloc_prepare_alloc_entry()
565 kunmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
566 brelse(desc_bh); in nilfs_palloc_prepare_alloc_entry()
573 kunmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry()
574 brelse(desc_bh); in nilfs_palloc_prepare_alloc_entry()
684 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_prepare_free_entry() local
689 ret = nilfs_palloc_get_desc_block(inode, group, 1, &desc_bh); in nilfs_palloc_prepare_free_entry()
694 brelse(desc_bh); in nilfs_palloc_prepare_free_entry()
698 req->pr_desc_bh = desc_bh; in nilfs_palloc_prepare_free_entry()
727 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_freev() local
745 ret = nilfs_palloc_get_desc_block(inode, group, 0, &desc_bh); in nilfs_palloc_freev()
751 brelse(desc_bh); in nilfs_palloc_freev()
818 desc_kaddr = kmap_atomic(desc_bh->b_page); in nilfs_palloc_freev()
820 inode, group, desc_bh, desc_kaddr); in nilfs_palloc_freev()
823 mark_buffer_dirty(desc_bh); in nilfs_palloc_freev()
825 brelse(desc_bh); in nilfs_palloc_freev()