Lines Matching refs:group

105 	struct ocfs2_group_desc *group;  in ocfs2_update_last_group_and_inode()  local
121 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_update_last_group_and_inode()
123 old_bg_clusters = le16_to_cpu(group->bg_bits) / cl_bpc; in ocfs2_update_last_group_and_inode()
126 le16_add_cpu(&group->bg_bits, num_bits); in ocfs2_update_last_group_and_inode()
127 le16_add_cpu(&group->bg_free_bits_count, num_bits); in ocfs2_update_last_group_and_inode()
136 group, in ocfs2_update_last_group_and_inode()
138 le16_add_cpu(&group->bg_free_bits_count, -1 * backups); in ocfs2_update_last_group_and_inode()
151 chain = le16_to_cpu(group->bg_chain); in ocfs2_update_last_group_and_inode()
174 group, in ocfs2_update_last_group_and_inode()
176 le16_add_cpu(&group->bg_free_bits_count, backups); in ocfs2_update_last_group_and_inode()
177 le16_add_cpu(&group->bg_bits, -1 * num_bits); in ocfs2_update_last_group_and_inode()
178 le16_add_cpu(&group->bg_free_bits_count, -1 * num_bits); in ocfs2_update_last_group_and_inode()
281 struct ocfs2_group_desc *group = NULL; in ocfs2_group_extend() local
337 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_group_extend()
340 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
348 (unsigned long long)le64_to_cpu(group->bg_blkno), new_clusters); in ocfs2_group_extend()
431 u32 cluster = ocfs2_blocks_to_clusters(inode->i_sb, input->group); in ocfs2_verify_group_and_input()
451 else if (input->group != ocfs2_which_cluster_group(inode, cluster)) in ocfs2_verify_group_and_input()
471 struct ocfs2_group_desc *group = NULL; in ocfs2_group_add() local
508 ret = ocfs2_read_blocks_sync(osb, input->group, 1, &group_bh); in ocfs2_group_add()
511 "from the device.", (unsigned long long)input->group); in ocfs2_group_add()
523 trace_ocfs2_group_add((unsigned long long)input->group, in ocfs2_group_add()
544 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_group_add()
545 bg_ptr = le64_to_cpu(group->bg_next_group); in ocfs2_group_add()
546 group->bg_next_group = cr->c_blkno; in ocfs2_group_add()
552 group->bg_next_group = cpu_to_le64(bg_ptr); in ocfs2_group_add()
562 cr->c_blkno = cpu_to_le64(input->group); in ocfs2_group_add()