Home
last modified time | relevance | path

Searched refs:id1 (Results 1 – 10 of 10) 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()
Djournal.c882 *dirty = (le32_to_cpu(di->id1.journal1.ij_flags) & in ocfs2_journal_init()
910 le32_add_cpu(&(di->id1.journal1.ij_recovery_generation), 1); in ocfs2_bump_recovery_generation()
915 return le32_to_cpu(di->id1.journal1.ij_recovery_generation); in ocfs2_get_recovery_generation()
934 flags = le32_to_cpu(fe->id1.journal1.ij_flags); in ocfs2_journal_toggle_dirty()
939 fe->id1.journal1.ij_flags = cpu_to_le32(flags); in ocfs2_journal_toggle_dirty()
1622 flags = le32_to_cpu(fe->id1.journal1.ij_flags); in ocfs2_replay_journal()
1673 flags = le32_to_cpu(fe->id1.journal1.ij_flags); in ocfs2_replay_journal()
1675 fe->id1.journal1.ij_flags = cpu_to_le32(flags); in ocfs2_replay_journal()
2359 if (le32_to_cpu(di->id1.journal1.ij_flags) & in ocfs2_check_journals_nolocks()
Dinode.c294 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_populate_inode()
542 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_read_locked_inode()
Docfs2_fs.h724 } id1; /* Inode type dependent 1 */ 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()
Dnamei.c554 fe->id1.dev1.i_rdev = cpu_to_le64(huge_encode_dev(dev)); in __ocfs2_mknod_locked()