Lines Matching refs:bhs
1702 struct buffer_head **bhs = NULL; in ocfs2_create_symlink_data() local
1724 bhs = kcalloc(blocks, sizeof(struct buffer_head *), GFP_KERNEL); in ocfs2_create_symlink_data()
1725 if (!bhs) { in ocfs2_create_symlink_data()
1751 bhs[virtual] = sb_getblk(sb, p_blkno); in ocfs2_create_symlink_data()
1752 if (!bhs[virtual]) { in ocfs2_create_symlink_data()
1758 bhs[virtual]); in ocfs2_create_symlink_data()
1761 bhs[virtual], in ocfs2_create_symlink_data()
1768 memset(bhs[virtual]->b_data, 0, sb->s_blocksize); in ocfs2_create_symlink_data()
1770 memcpy(bhs[virtual]->b_data, c, in ocfs2_create_symlink_data()
1774 ocfs2_journal_dirty(handle, bhs[virtual]); in ocfs2_create_symlink_data()
1784 if (bhs) { in ocfs2_create_symlink_data()
1786 brelse(bhs[i]); in ocfs2_create_symlink_data()
1787 kfree(bhs); in ocfs2_create_symlink_data()