Home
last modified time | relevance | path

Searched refs:bitmap1 (Results 1 – 7 of 7) sorted by relevance

/fs/ocfs2/
Dlocalalloc.c332 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc()
333 || alloc->id1.bitmap1.i_total in ocfs2_load_local_alloc()
338 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
339 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_load_local_alloc()
655 if (le32_to_cpu(alloc->id1.bitmap1.i_used) != in ocfs2_reserve_local_alloc_bits()
659 le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_reserve_local_alloc_bits()
665 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
666 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
687 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
688 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
[all …]
Dsuballoc.c728 le32_add_cpu(&fe->id1.bitmap1.i_used, le16_to_cpu(bg->bg_bits) - in ocfs2_block_group_alloc()
730 le32_add_cpu(&fe->id1.bitmap1.i_total, le16_to_cpu(bg->bg_bits)); in ocfs2_block_group_alloc()
811 free_bits = le32_to_cpu(fe->id1.bitmap1.i_total) - in ocfs2_reserve_suballoc_bits()
812 le32_to_cpu(fe->id1.bitmap1.i_used); in ocfs2_reserve_suballoc_bits()
842 (le32_to_cpu(fe->id1.bitmap1.i_total) in ocfs2_reserve_suballoc_bits()
843 - le32_to_cpu(fe->id1.bitmap1.i_used))); in ocfs2_reserve_suballoc_bits()
1594 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_alloc_dinode_update_counts()
1595 di->id1.bitmap1.i_used = cpu_to_le32(num_bits + tmp_used); in ocfs2_alloc_dinode_update_counts()
1613 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_rollback_alloc_dinode_counts()
1614 di->id1.bitmap1.i_used = cpu_to_le32(tmp_used - num_bits); in ocfs2_rollback_alloc_dinode_counts()
[all …]
Dresize.c141 le32_add_cpu(&fe->id1.bitmap1.i_total, num_bits); in ocfs2_update_last_group_and_inode()
146 le32_add_cpu(&fe->id1.bitmap1.i_used, backups); in ocfs2_update_last_group_and_inode()
552 le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); in ocfs2_group_add()
553 le32_add_cpu(&fe->id1.bitmap1.i_used, in ocfs2_group_add()
Dioctl.c304 le32_to_cpu(dinode_alloc->id1.bitmap1.i_total); in ocfs2_info_scan_inode_alloc()
306 le32_to_cpu(dinode_alloc->id1.bitmap1.i_total) - in ocfs2_info_scan_inode_alloc()
307 le32_to_cpu(dinode_alloc->id1.bitmap1.i_used); in ocfs2_info_scan_inode_alloc()
577 le32_to_cpu(gb_dinode->id1.bitmap1.i_total); in ocfs2_info_freefrag_scan_bitmap()
579 le32_to_cpu(gb_dinode->id1.bitmap1.i_used); in ocfs2_info_freefrag_scan_bitmap()
Docfs2_fs.h715 } bitmap1; member
Dmove_extents.c405 (vict_blkno >= ((u64)le32_to_cpu(ac_dinode->id1.bitmap1.i_total) << in ocfs2_find_victim_alloc_group()
Dsuper.c1647 numbits = le32_to_cpu(bm_lock->id1.bitmap1.i_total); in ocfs2_statfs()
1648 freebits = numbits - le32_to_cpu(bm_lock->id1.bitmap1.i_used); in ocfs2_statfs()