Lines Matching refs:id1
330 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc()
331 || alloc->id1.bitmap1.i_total in ocfs2_load_local_alloc()
336 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
337 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_load_local_alloc()
653 if (le32_to_cpu(alloc->id1.bitmap1.i_used) != in ocfs2_reserve_local_alloc_bits()
657 le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_reserve_local_alloc_bits()
663 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
664 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
685 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
686 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
760 le32_add_cpu(&alloc->id1.bitmap1.i_used, *num_bits); in ocfs2_claim_local_alloc_bits()
804 le32_add_cpu(&alloc->id1.bitmap1.i_used, -num_bits); in ocfs2_free_local_alloc_bits()
833 if (!alloc->id1.bitmap1.i_total) { in ocfs2_local_alloc_find_clear_bits()
865 left = le32_to_cpu(alloc->id1.bitmap1.i_total); in ocfs2_local_alloc_find_clear_bits()
904 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_local_alloc_find_clear_bits()
915 alloc->id1.bitmap1.i_total = 0; in ocfs2_clear_local_alloc()
916 alloc->id1.bitmap1.i_used = 0; in ocfs2_clear_local_alloc()
961 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_sync_local_to_main()
962 le32_to_cpu(alloc->id1.bitmap1.i_used)); in ocfs2_sync_local_to_main()
964 if (!alloc->id1.bitmap1.i_total) { in ocfs2_sync_local_to_main()
968 if (le32_to_cpu(alloc->id1.bitmap1.i_used) == in ocfs2_sync_local_to_main()
969 le32_to_cpu(alloc->id1.bitmap1.i_total)) { in ocfs2_sync_local_to_main()
977 left = le32_to_cpu(alloc->id1.bitmap1.i_total); in ocfs2_sync_local_to_main()
1159 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_local_alloc_new_window()
1210 alloc->id1.bitmap1.i_total = cpu_to_le32(cluster_count); in ocfs2_local_alloc_new_window()
1215 alloc->id1.bitmap1.i_used = 0; in ocfs2_local_alloc_new_window()
1224 le32_to_cpu(alloc->id1.bitmap1.i_total)); in ocfs2_local_alloc_new_window()