• Home
  • Raw
  • Download

Lines Matching refs:la

277 	struct ocfs2_local_alloc *la;  in ocfs2_load_local_alloc()  local
308 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_load_local_alloc()
318 if ((la->la_size == 0) || in ocfs2_load_local_alloc()
319 (le16_to_cpu(la->la_size) > ocfs2_local_alloc_size(inode->i_sb))) { in ocfs2_load_local_alloc()
321 le16_to_cpu(la->la_size)); in ocfs2_load_local_alloc()
334 || la->la_bm_off) { in ocfs2_load_local_alloc()
726 struct ocfs2_local_alloc *la; in ocfs2_claim_local_alloc_bits() local
732 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_claim_local_alloc_bits()
743 bitmap = la->la_bitmap; in ocfs2_claim_local_alloc_bits()
744 *bit_off = le32_to_cpu(la->la_bm_off) + start; in ocfs2_claim_local_alloc_bits()
782 struct ocfs2_local_alloc *la; in ocfs2_free_local_alloc_bits() local
788 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_free_local_alloc_bits()
790 bitmap = la->la_bitmap; in ocfs2_free_local_alloc_bits()
791 start = bit_off - le32_to_cpu(la->la_bm_off); in ocfs2_free_local_alloc_bits()
816 struct ocfs2_local_alloc *la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_local_alloc_count_bits() local
818 count = memweight(la->la_bitmap, le16_to_cpu(la->la_size)); in ocfs2_local_alloc_count_bits()
914 struct ocfs2_local_alloc *la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_clear_local_alloc() local
919 la->la_bm_off = 0; in ocfs2_clear_local_alloc()
920 for(i = 0; i < le16_to_cpu(la->la_size); i++) in ocfs2_clear_local_alloc()
921 la->la_bitmap[i] = 0; in ocfs2_clear_local_alloc()
960 struct ocfs2_local_alloc *la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_sync_local_to_main() local
976 le32_to_cpu(la->la_bm_off)); in ocfs2_sync_local_to_main()
977 bitmap = la->la_bitmap; in ocfs2_sync_local_to_main()
1155 struct ocfs2_local_alloc *la; in ocfs2_local_alloc_new_window() local
1158 la = OCFS2_LOCAL_ALLOC(alloc); in ocfs2_local_alloc_new_window()
1211 la->la_bm_off = cpu_to_le32(cluster_off); in ocfs2_local_alloc_new_window()
1219 le16_to_cpu(la->la_size)); in ocfs2_local_alloc_new_window()