Lines Matching refs:bhs
1696 struct buffer_head **bhs = NULL; in ocfs2_create_symlink_data() local
1718 bhs = kcalloc(blocks, sizeof(struct buffer_head *), GFP_KERNEL); in ocfs2_create_symlink_data()
1719 if (!bhs) { in ocfs2_create_symlink_data()
1745 bhs[virtual] = sb_getblk(sb, p_blkno); in ocfs2_create_symlink_data()
1746 if (!bhs[virtual]) { in ocfs2_create_symlink_data()
1752 bhs[virtual]); in ocfs2_create_symlink_data()
1755 bhs[virtual], in ocfs2_create_symlink_data()
1762 memset(bhs[virtual]->b_data, 0, sb->s_blocksize); in ocfs2_create_symlink_data()
1764 memcpy(bhs[virtual]->b_data, c, in ocfs2_create_symlink_data()
1768 ocfs2_journal_dirty(handle, bhs[virtual]); in ocfs2_create_symlink_data()
1778 if (bhs) { in ocfs2_create_symlink_data()
1780 brelse(bhs[i]); in ocfs2_create_symlink_data()
1781 kfree(bhs); in ocfs2_create_symlink_data()