Lines Matching refs:new_rb

1294 	struct ocfs2_refcount_block *new_rb;  in ocfs2_expand_inline_ref_root()  local
1335 new_rb = (struct ocfs2_refcount_block *)new_bh->b_data; in ocfs2_expand_inline_ref_root()
1336 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_expand_inline_ref_root()
1337 new_rb->rf_suballoc_loc = cpu_to_le64(suballoc_loc); in ocfs2_expand_inline_ref_root()
1338 new_rb->rf_suballoc_bit = cpu_to_le16(suballoc_bit_start); in ocfs2_expand_inline_ref_root()
1339 new_rb->rf_blkno = cpu_to_le64(blkno); in ocfs2_expand_inline_ref_root()
1340 new_rb->rf_cpos = cpu_to_le32(0); in ocfs2_expand_inline_ref_root()
1341 new_rb->rf_parent = cpu_to_le64(ref_root_bh->b_blocknr); in ocfs2_expand_inline_ref_root()
1342 new_rb->rf_flags = cpu_to_le32(OCFS2_REFCOUNT_LEAF_FL); in ocfs2_expand_inline_ref_root()
1358 le16_to_cpu(new_rb->rf_records.rl_used)); in ocfs2_expand_inline_ref_root()
1463 struct ocfs2_refcount_block *new_rb = in ocfs2_divide_leaf_refcount_block() local
1465 struct ocfs2_refcount_list *new_rl = &new_rb->rf_records; in ocfs2_divide_leaf_refcount_block()
1493 new_rb->rf_cpos = cpu_to_le32(cpos); in ocfs2_divide_leaf_refcount_block()
1534 struct ocfs2_refcount_block *new_rb; in ocfs2_new_leaf_refcount_block() local
1577 new_rb = (struct ocfs2_refcount_block *)new_bh->b_data; in ocfs2_new_leaf_refcount_block()
1578 memset(new_rb, 0, sb->s_blocksize); in ocfs2_new_leaf_refcount_block()
1579 strcpy((void *)new_rb, OCFS2_REFCOUNT_BLOCK_SIGNATURE); in ocfs2_new_leaf_refcount_block()
1580 new_rb->rf_suballoc_slot = cpu_to_le16(meta_ac->ac_alloc_slot); in ocfs2_new_leaf_refcount_block()
1581 new_rb->rf_suballoc_loc = cpu_to_le64(suballoc_loc); in ocfs2_new_leaf_refcount_block()
1582 new_rb->rf_suballoc_bit = cpu_to_le16(suballoc_bit_start); in ocfs2_new_leaf_refcount_block()
1583 new_rb->rf_fs_generation = cpu_to_le32(OCFS2_SB(sb)->fs_generation); in ocfs2_new_leaf_refcount_block()
1584 new_rb->rf_blkno = cpu_to_le64(blkno); in ocfs2_new_leaf_refcount_block()
1585 new_rb->rf_parent = cpu_to_le64(ref_root_bh->b_blocknr); in ocfs2_new_leaf_refcount_block()
1586 new_rb->rf_flags = cpu_to_le32(OCFS2_REFCOUNT_LEAF_FL); in ocfs2_new_leaf_refcount_block()
1587 new_rb->rf_records.rl_count = in ocfs2_new_leaf_refcount_block()
1589 new_rb->rf_generation = root_rb->rf_generation; in ocfs2_new_leaf_refcount_block()