Lines Matching refs:runlist
187 rl = ntfs_mapping_pairs_decompress(ni->vol, a, ni->runlist.rl); in ntfs_map_runlist_nolock()
191 ni->runlist.rl = rl; in ntfs_map_runlist_nolock()
302 down_write(&ni->runlist.lock); in ntfs_map_runlist()
304 if (likely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) <= in ntfs_map_runlist()
307 up_write(&ni->runlist.lock); in ntfs_map_runlist()
354 if (!ni->runlist.rl) { in ntfs_attr_vcn_to_lcn_nolock()
364 lcn = ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn); in ntfs_attr_vcn_to_lcn_nolock()
376 up_read(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
377 down_write(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
378 if (unlikely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) != in ntfs_attr_vcn_to_lcn_nolock()
380 up_write(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
381 down_read(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
387 up_write(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
388 down_read(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
477 if (!ni->runlist.rl) { in ntfs_attr_find_vcn_nolock()
486 rl = ni->runlist.rl; in ntfs_attr_find_vcn_nolock()
710 int load_attribute_list(ntfs_volume *vol, runlist *runlist, u8 *al_start, in load_attribute_list() argument
725 if (!vol || !runlist || !al || size <= 0 || initialized_size < 0 || in load_attribute_list()
735 down_read(&runlist->lock); in load_attribute_list()
736 rl = runlist->rl; in load_attribute_list()
780 up_read(&runlist->lock); in load_attribute_list()
1607 down_write(&ni->runlist.lock); in ntfs_attr_make_non_resident()
1712 ni->runlist.rl = rl; in ntfs_attr_make_non_resident()
1747 up_write(&ni->runlist.lock); in ntfs_attr_make_non_resident()
1825 ni->runlist.rl = NULL; in ntfs_attr_make_non_resident()
1826 up_write(&ni->runlist.lock); in ntfs_attr_make_non_resident()
1992 down_write(&ni->runlist.lock); in ntfs_attr_extend_allocation()
2077 up_write(&ni->runlist.lock); in ntfs_attr_extend_allocation()
2173 rl = ni->runlist.rl; in ntfs_attr_extend_allocation()
2181 (rl->lcn == LCN_ENOENT && rl > ni->runlist.rl && in ntfs_attr_extend_allocation()
2185 rl = ntfs_mapping_pairs_decompress(vol, a, ni->runlist.rl); in ntfs_attr_extend_allocation()
2201 ni->runlist.rl = rl; in ntfs_attr_extend_allocation()
2214 while (rl->lcn < 0 && rl > ni->runlist.rl) in ntfs_attr_extend_allocation()
2236 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_attr_extend_allocation()
2257 ni->runlist.rl = rl; in ntfs_attr_extend_allocation()
2372 up_write(&ni->runlist.lock); in ntfs_attr_extend_allocation()
2408 up_write(&ni->runlist.lock); in ntfs_attr_extend_allocation()
2434 if (ntfs_rl_truncate_nolock(vol, &ni->runlist, ll) || IS_ERR(m)) { in ntfs_attr_extend_allocation()
2468 up_write(&ni->runlist.lock); in ntfs_attr_extend_allocation()