Lines Matching refs:id1
332 || 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()
762 le32_add_cpu(&alloc->id1.bitmap1.i_used, *num_bits); in ocfs2_claim_local_alloc_bits()
806 le32_add_cpu(&alloc->id1.bitmap1.i_used, -num_bits); in ocfs2_free_local_alloc_bits()
835 if (!alloc->id1.bitmap1.i_total) { in ocfs2_local_alloc_find_clear_bits()
867 left = le32_to_cpu(alloc->id1.bitmap1.i_total); in ocfs2_local_alloc_find_clear_bits()
906 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_local_alloc_find_clear_bits()
917 alloc->id1.bitmap1.i_total = 0; in ocfs2_clear_local_alloc()
918 alloc->id1.bitmap1.i_used = 0; in ocfs2_clear_local_alloc()
963 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_sync_local_to_main()
964 le32_to_cpu(alloc->id1.bitmap1.i_used)); in ocfs2_sync_local_to_main()
966 if (!alloc->id1.bitmap1.i_total) { in ocfs2_sync_local_to_main()
970 if (le32_to_cpu(alloc->id1.bitmap1.i_used) == in ocfs2_sync_local_to_main()
971 le32_to_cpu(alloc->id1.bitmap1.i_total)) { in ocfs2_sync_local_to_main()
979 left = le32_to_cpu(alloc->id1.bitmap1.i_total); in ocfs2_sync_local_to_main()
1161 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_local_alloc_new_window()
1212 alloc->id1.bitmap1.i_total = cpu_to_le32(cluster_count); in ocfs2_local_alloc_new_window()
1217 alloc->id1.bitmap1.i_used = 0; in ocfs2_local_alloc_new_window()
1226 le32_to_cpu(alloc->id1.bitmap1.i_total)); in ocfs2_local_alloc_new_window()