Lines Matching refs:bhs
1712 struct buffer_head **bhs = NULL; in ocfs2_create_symlink_data() local
1734 bhs = kcalloc(blocks, sizeof(struct buffer_head *), GFP_KERNEL); in ocfs2_create_symlink_data()
1735 if (!bhs) { in ocfs2_create_symlink_data()
1761 bhs[virtual] = sb_getblk(sb, p_blkno); in ocfs2_create_symlink_data()
1762 if (!bhs[virtual]) { in ocfs2_create_symlink_data()
1768 bhs[virtual]); in ocfs2_create_symlink_data()
1771 bhs[virtual], in ocfs2_create_symlink_data()
1778 memset(bhs[virtual]->b_data, 0, sb->s_blocksize); in ocfs2_create_symlink_data()
1780 memcpy(bhs[virtual]->b_data, c, in ocfs2_create_symlink_data()
1784 ocfs2_journal_dirty(handle, bhs[virtual]); in ocfs2_create_symlink_data()
1794 if (bhs) { in ocfs2_create_symlink_data()
1796 brelse(bhs[i]); in ocfs2_create_symlink_data()
1797 kfree(bhs); in ocfs2_create_symlink_data()