Lines Matching refs:group

98 	struct ocfs2_group_desc *group;  in ocfs2_update_last_group_and_inode()  local
113 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_update_last_group_and_inode()
117 le16_add_cpu(&group->bg_bits, num_bits); in ocfs2_update_last_group_and_inode()
118 le16_add_cpu(&group->bg_free_bits_count, num_bits); in ocfs2_update_last_group_and_inode()
127 group, in ocfs2_update_last_group_and_inode()
129 le16_add_cpu(&group->bg_free_bits_count, -1 * backups); in ocfs2_update_last_group_and_inode()
142 chain = le16_to_cpu(group->bg_chain); in ocfs2_update_last_group_and_inode()
165 group, in ocfs2_update_last_group_and_inode()
167 le16_add_cpu(&group->bg_free_bits_count, backups); in ocfs2_update_last_group_and_inode()
168 le16_add_cpu(&group->bg_bits, -1 * num_bits); in ocfs2_update_last_group_and_inode()
169 le16_add_cpu(&group->bg_free_bits_count, -1 * num_bits); in ocfs2_update_last_group_and_inode()
272 struct ocfs2_group_desc *group = NULL; in ocfs2_group_extend() local
328 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_group_extend()
331 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
339 (unsigned long long)le64_to_cpu(group->bg_blkno), new_clusters); in ocfs2_group_extend()
422 u32 cluster = ocfs2_blocks_to_clusters(inode->i_sb, input->group); in ocfs2_verify_group_and_input()
442 else if (input->group != ocfs2_which_cluster_group(inode, cluster)) in ocfs2_verify_group_and_input()
462 struct ocfs2_group_desc *group = NULL; in ocfs2_group_add() local
499 ret = ocfs2_read_blocks_sync(osb, input->group, 1, &group_bh); in ocfs2_group_add()
502 "from the device.", (unsigned long long)input->group); in ocfs2_group_add()
514 trace_ocfs2_group_add((unsigned long long)input->group, in ocfs2_group_add()
535 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_group_add()
536 bg_ptr = le64_to_cpu(group->bg_next_group); in ocfs2_group_add()
537 group->bg_next_group = cr->c_blkno; in ocfs2_group_add()
543 group->bg_next_group = cpu_to_le64(bg_ptr); in ocfs2_group_add()
553 cr->c_blkno = cpu_to_le64(input->group); in ocfs2_group_add()