Lines Matching refs:la
276 struct ocfs2_local_alloc *la; in ocfs2_load_local_alloc() local
307 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_load_local_alloc()
317 if ((la->la_size == 0) || in ocfs2_load_local_alloc()
318 (le16_to_cpu(la->la_size) > ocfs2_local_alloc_size(inode->i_sb))) { in ocfs2_load_local_alloc()
320 le16_to_cpu(la->la_size)); in ocfs2_load_local_alloc()
333 || la->la_bm_off) { in ocfs2_load_local_alloc()
725 struct ocfs2_local_alloc *la; in ocfs2_claim_local_alloc_bits() local
731 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_claim_local_alloc_bits()
742 bitmap = la->la_bitmap; in ocfs2_claim_local_alloc_bits()
743 *bit_off = le32_to_cpu(la->la_bm_off) + start; in ocfs2_claim_local_alloc_bits()
781 struct ocfs2_local_alloc *la; in ocfs2_free_local_alloc_bits() local
787 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_free_local_alloc_bits()
789 bitmap = la->la_bitmap; in ocfs2_free_local_alloc_bits()
790 start = bit_off - le32_to_cpu(la->la_bm_off); in ocfs2_free_local_alloc_bits()
815 struct ocfs2_local_alloc *la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_local_alloc_count_bits() local
817 count = memweight(la->la_bitmap, le16_to_cpu(la->la_size)); in ocfs2_local_alloc_count_bits()
907 struct ocfs2_local_alloc *la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_clear_local_alloc() local
911 la->la_bm_off = 0; in ocfs2_clear_local_alloc()
912 memset(la->la_bitmap, 0, le16_to_cpu(la->la_size)); in ocfs2_clear_local_alloc()
951 struct ocfs2_local_alloc *la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_sync_local_to_main() local
967 le32_to_cpu(la->la_bm_off)); in ocfs2_sync_local_to_main()
968 bitmap = la->la_bitmap; in ocfs2_sync_local_to_main()
1147 struct ocfs2_local_alloc *la; in ocfs2_local_alloc_new_window() local
1150 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_local_alloc_new_window()
1203 la->la_bm_off = cpu_to_le32(cluster_off); in ocfs2_local_alloc_new_window()
1211 le16_to_cpu(la->la_size)); in ocfs2_local_alloc_new_window()