Lines Matching refs:ofs

54 	unsigned ofs;  in map_mft_record_page()  local
65 ofs = (ni->mft_no << vol->mft_record_size_bits) & ~PAGE_CACHE_MASK; in map_mft_record_page()
73 if (index > end_index || (i_size & ~PAGE_CACHE_MASK) < ofs + in map_mft_record_page()
88 ofs)))) { in map_mft_record_page()
90 ni->page_ofs = ofs; in map_mft_record_page()
91 return page_address(page) + ofs; in map_mft_record_page()
1134 s64 pass_end, ll, data_pos, pass_start, ofs, bit; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() local
1180 ofs = data_pos >> 3; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1181 page_ofs = ofs & ~PAGE_CACHE_MASK; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1183 ll = ((pass_end + 7) >> 3) - ofs; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1193 ofs >> PAGE_CACHE_SHIFT); in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
2098 unsigned int ofs; in ntfs_mft_record_format() local
2107 ofs = (mft_no << vol->mft_record_size_bits) & ~PAGE_CACHE_MASK; in ntfs_mft_record_format()
2112 if (unlikely(index > end_index || ofs + vol->mft_record_size >= in ntfs_mft_record_format()
2129 m = (MFT_RECORD*)((u8*)page_address(page) + ofs); in ntfs_mft_record_format()
2147 mark_ntfs_record_dirty(page, ofs); in ntfs_mft_record_format()
2255 unsigned int ofs; in ntfs_mft_record_alloc() local
2519 ofs = (bit << vol->mft_record_size_bits) & ~PAGE_CACHE_MASK; in ntfs_mft_record_alloc()
2531 m = (MFT_RECORD*)((u8*)page_address(page) + ofs); in ntfs_mft_record_alloc()
2603 mark_ntfs_record_dirty(page, ofs); in ntfs_mft_record_alloc()
2616 mark_ntfs_record_dirty(page, ofs); in ntfs_mft_record_alloc()
2637 mark_ntfs_record_dirty(page, ofs); in ntfs_mft_record_alloc()
2712 ni->page_ofs = ofs; in ntfs_mft_record_alloc()
2723 mark_ntfs_record_dirty(page, ofs); in ntfs_mft_record_alloc()