Home
last modified time | relevance | path

Searched refs:id1 (Results 1 – 10 of 10) sorted by relevance

/fs/ocfs2/
Dlocalalloc.c346 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc()
347 || alloc->id1.bitmap1.i_total in ocfs2_load_local_alloc()
351 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
352 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_load_local_alloc()
666 if (le32_to_cpu(alloc->id1.bitmap1.i_used) != in ocfs2_reserve_local_alloc_bits()
671 le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_reserve_local_alloc_bits()
678 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
679 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
700 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
701 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
[all …]
Dsuballoc.c766 le32_add_cpu(&fe->id1.bitmap1.i_used, le16_to_cpu(bg->bg_bits) - in ocfs2_block_group_alloc()
768 le32_add_cpu(&fe->id1.bitmap1.i_total, le16_to_cpu(bg->bg_bits)); in ocfs2_block_group_alloc()
848 free_bits = le32_to_cpu(fe->id1.bitmap1.i_total) - in ocfs2_reserve_suballoc_bits()
849 le32_to_cpu(fe->id1.bitmap1.i_used); in ocfs2_reserve_suballoc_bits()
879 (le32_to_cpu(fe->id1.bitmap1.i_total) in ocfs2_reserve_suballoc_bits()
880 - le32_to_cpu(fe->id1.bitmap1.i_used))); in ocfs2_reserve_suballoc_bits()
1616 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_alloc_dinode_update_counts()
1617 di->id1.bitmap1.i_used = cpu_to_le32(num_bits + tmp_used); in ocfs2_alloc_dinode_update_counts()
1899 if (le32_to_cpu(fe->id1.bitmap1.i_used) >= in ocfs2_claim_suballoc_bits()
1900 le32_to_cpu(fe->id1.bitmap1.i_total)) { in ocfs2_claim_suballoc_bits()
[all …]
Dresize.c150 le32_add_cpu(&fe->id1.bitmap1.i_total, num_bits); in ocfs2_update_last_group_and_inode()
155 le32_add_cpu(&fe->id1.bitmap1.i_used, backups); in ocfs2_update_last_group_and_inode()
560 le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); in ocfs2_group_add()
561 le32_add_cpu(&fe->id1.bitmap1.i_used, in ocfs2_group_add()
Dioctl.c351 le32_to_cpu(dinode_alloc->id1.bitmap1.i_total); in ocfs2_info_scan_inode_alloc()
353 le32_to_cpu(dinode_alloc->id1.bitmap1.i_total) - in ocfs2_info_scan_inode_alloc()
354 le32_to_cpu(dinode_alloc->id1.bitmap1.i_used); in ocfs2_info_scan_inode_alloc()
619 le32_to_cpu(gb_dinode->id1.bitmap1.i_total); in ocfs2_info_freefrag_scan_bitmap()
621 le32_to_cpu(gb_dinode->id1.bitmap1.i_used); in ocfs2_info_freefrag_scan_bitmap()
Djournal.c825 *dirty = (le32_to_cpu(di->id1.journal1.ij_flags) & in ocfs2_journal_init()
853 le32_add_cpu(&(di->id1.journal1.ij_recovery_generation), 1); in ocfs2_bump_recovery_generation()
858 return le32_to_cpu(di->id1.journal1.ij_recovery_generation); in ocfs2_get_recovery_generation()
877 flags = le32_to_cpu(fe->id1.journal1.ij_flags); in ocfs2_journal_toggle_dirty()
882 fe->id1.journal1.ij_flags = cpu_to_le32(flags); in ocfs2_journal_toggle_dirty()
1535 flags = le32_to_cpu(fe->id1.journal1.ij_flags); in ocfs2_replay_journal()
1586 flags = le32_to_cpu(fe->id1.journal1.ij_flags); in ocfs2_replay_journal()
1588 fe->id1.journal1.ij_flags = cpu_to_le32(flags); in ocfs2_replay_journal()
2198 if (le32_to_cpu(di->id1.journal1.ij_flags) & in ocfs2_check_journals_nolocks()
Dmove_extents.c406 (vict_blkno >= (le32_to_cpu(ac_dinode->id1.bitmap1.i_total) << in ocfs2_find_victim_alloc_group()
583 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_alloc_dinode_update_counts()
584 di->id1.bitmap1.i_used = cpu_to_le32(num_bits + tmp_used); in ocfs2_alloc_dinode_update_counts()
Dinode.c270 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_populate_inode()
511 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_read_locked_inode()
Docfs2_fs.h753 } id1; /* Inode type dependent 1 */ member
Dsuper.c1727 numbits = le32_to_cpu(bm_lock->id1.bitmap1.i_total); in ocfs2_statfs()
1728 freebits = numbits - le32_to_cpu(bm_lock->id1.bitmap1.i_used); in ocfs2_statfs()
Dnamei.c519 fe->id1.dev1.i_rdev = cpu_to_le64(huge_encode_dev(dev)); in __ocfs2_mknod_locked()