Lines Matching refs:bhs
1700 struct buffer_head **bhs = NULL; in ocfs2_create_symlink_data() local
1722 bhs = kcalloc(blocks, sizeof(struct buffer_head *), GFP_KERNEL); in ocfs2_create_symlink_data()
1723 if (!bhs) { in ocfs2_create_symlink_data()
1749 bhs[virtual] = sb_getblk(sb, p_blkno); in ocfs2_create_symlink_data()
1750 if (!bhs[virtual]) { in ocfs2_create_symlink_data()
1756 bhs[virtual]); in ocfs2_create_symlink_data()
1759 bhs[virtual], in ocfs2_create_symlink_data()
1766 memset(bhs[virtual]->b_data, 0, sb->s_blocksize); in ocfs2_create_symlink_data()
1768 memcpy(bhs[virtual]->b_data, c, in ocfs2_create_symlink_data()
1772 ocfs2_journal_dirty(handle, bhs[virtual]); in ocfs2_create_symlink_data()
1782 if (bhs) { in ocfs2_create_symlink_data()
1784 brelse(bhs[i]); in ocfs2_create_symlink_data()
1785 kfree(bhs); in ocfs2_create_symlink_data()