Searched refs:gd (Results 1 – 7 of 7) sorted by relevance
/fs/ocfs2/ |
D | resize.c | 41 struct ocfs2_group_desc *gd, in ocfs2_calc_new_backup_super() argument 49 u64 blkno, gd_blkno, lgd_blkno = le64_to_cpu(gd->bg_blkno); in ocfs2_calc_new_backup_super() 69 (unsigned long *)gd->bg_bitmap); in ocfs2_calc_new_backup_super() 72 (unsigned long *)gd->bg_bitmap); in ocfs2_calc_new_backup_super() 377 struct ocfs2_group_desc *gd = in ocfs2_check_new_group() local 386 if (le16_to_cpu(gd->bg_chain) != input->chain) in ocfs2_check_new_group() 389 (unsigned long long)le64_to_cpu(gd->bg_blkno), in ocfs2_check_new_group() 390 le16_to_cpu(gd->bg_chain), input->chain); in ocfs2_check_new_group() 391 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group() 394 (unsigned long long)le64_to_cpu(gd->bg_blkno), in ocfs2_check_new_group() [all …]
|
D | suballoc.c | 163 struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data; in ocfs2_validate_gd_self() local 165 if (!OCFS2_IS_VALID_GROUP_DESC(gd)) { in ocfs2_validate_gd_self() 168 gd->bg_signature); in ocfs2_validate_gd_self() 171 if (le64_to_cpu(gd->bg_blkno) != bh->b_blocknr) { in ocfs2_validate_gd_self() 174 (unsigned long long)le64_to_cpu(gd->bg_blkno)); in ocfs2_validate_gd_self() 177 if (le32_to_cpu(gd->bg_generation) != OCFS2_SB(sb)->fs_generation) { in ocfs2_validate_gd_self() 180 le32_to_cpu(gd->bg_generation)); in ocfs2_validate_gd_self() 183 if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) { in ocfs2_validate_gd_self() 186 le16_to_cpu(gd->bg_bits), in ocfs2_validate_gd_self() 187 le16_to_cpu(gd->bg_free_bits_count)); in ocfs2_validate_gd_self() [all …]
|
D | move_extents.c | 529 struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data; in ocfs2_probe_alloc_group() local 531 le64_to_cpu(gd->bg_blkno)); in ocfs2_probe_alloc_group() 533 for (i = base_bit; i < le16_to_cpu(gd->bg_bits); i++) { in ocfs2_probe_alloc_group() 535 used = ocfs2_test_bit(i, (unsigned long *)gd->bg_bitmap); in ocfs2_probe_alloc_group() 576 struct ocfs2_group_desc *gd; in ocfs2_move_extent() local 681 gd = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_move_extent() 683 le16_to_cpu(gd->bg_chain)); in ocfs2_move_extent() 689 ret = ocfs2_block_group_set_bits(handle, gb_inode, gd, gd_bh, in ocfs2_move_extent() 693 le16_to_cpu(gd->bg_chain)); in ocfs2_move_extent()
|
D | ocfs2_fs.h | 1596 static inline int ocfs2_gd_is_discontig(struct ocfs2_group_desc *gd) in ocfs2_gd_is_discontig() argument 1599 le16_to_cpu(gd->bg_size)) != in ocfs2_gd_is_discontig() 1606 if (!gd->bg_list.l_next_free_rec) in ocfs2_gd_is_discontig()
|
D | alloc.c | 7451 struct ocfs2_group_desc *gd, in ocfs2_trim_extent() argument 7469 discard += le64_to_cpu(gd->bg_blkno); in ocfs2_trim_extent() 7477 struct ocfs2_group_desc *gd, u64 group, in ocfs2_trim_group() argument 7481 void *bitmap = gd->bg_bitmap; in ocfs2_trim_group() 7483 if (le16_to_cpu(gd->bg_free_bits_count) < minbits) in ocfs2_trim_group() 7486 trace_ocfs2_trim_group((unsigned long long)le64_to_cpu(gd->bg_blkno), in ocfs2_trim_group() 7496 ret = ocfs2_trim_extent(sb, gd, group, in ocfs2_trim_group() 7511 if ((le16_to_cpu(gd->bg_free_bits_count) - count) < minbits) in ocfs2_trim_group() 7532 struct ocfs2_group_desc *gd = NULL; in ocfs2_trim_mainbm() local 7603 gd = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_trim_mainbm() [all …]
|
/fs/xfs/ |
D | xfs_quota.h | 155 #define xfs_trans_reserve_quota(tp, mp, ud, gd, pd, nb, ni, f) \ argument 156 xfs_trans_reserve_quota_bydquots(tp, mp, ud, gd, pd, nb, ni, \
|
/fs/udf/ |
D | super.c | 1684 struct generic_desc *gd; in udf_process_sequence() local 1713 gd = (struct generic_desc *)bh->b_data; in udf_process_sequence() 1714 vdsn = le32_to_cpu(gd->volDescSeqNum); in udf_process_sequence()
|