Lines Matching refs:bhs
1079 struct buffer_head *new_de_bh = NULL, *old_de_bh = NULL; // bhs for above
1128 /* make sure both dirs have bhs
1484 struct buffer_head **bhs = NULL;
1507 bhs = kcalloc(blocks, sizeof(struct buffer_head *), GFP_KERNEL);
1508 if (!bhs) {
1534 bhs[virtual] = sb_getblk(sb, p_blkno);
1535 if (!bhs[virtual]) {
1540 ocfs2_set_new_buffer_uptodate(inode, bhs[virtual]);
1542 status = ocfs2_journal_access(handle, inode, bhs[virtual],
1549 memset(bhs[virtual]->b_data, 0, sb->s_blocksize);
1551 memcpy(bhs[virtual]->b_data, c,
1555 status = ocfs2_journal_dirty(handle, bhs[virtual]);
1569 if (bhs) {
1571 if (bhs[i])
1572 brelse(bhs[i]);
1573 kfree(bhs);