Lines Matching refs:runlist
173 rl = ntfs_mapping_pairs_decompress(ni->vol, a, ni->runlist.rl); in ntfs_map_runlist_nolock()
177 ni->runlist.rl = rl; in ntfs_map_runlist_nolock()
288 down_write(&ni->runlist.lock); in ntfs_map_runlist()
290 if (likely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) <= in ntfs_map_runlist()
293 up_write(&ni->runlist.lock); in ntfs_map_runlist()
340 if (!ni->runlist.rl) { in ntfs_attr_vcn_to_lcn_nolock()
350 lcn = ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn); in ntfs_attr_vcn_to_lcn_nolock()
362 up_read(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
363 down_write(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
364 if (unlikely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) != in ntfs_attr_vcn_to_lcn_nolock()
366 up_write(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
367 down_read(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
373 up_write(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
374 down_read(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock()
463 if (!ni->runlist.rl) { in ntfs_attr_find_vcn_nolock()
472 rl = ni->runlist.rl; in ntfs_attr_find_vcn_nolock()
696 int load_attribute_list(ntfs_volume *vol, runlist *runlist, u8 *al_start, in load_attribute_list() argument
711 if (!vol || !runlist || !al || size <= 0 || initialized_size < 0 || in load_attribute_list()
721 down_read(&runlist->lock); in load_attribute_list()
722 rl = runlist->rl; in load_attribute_list()
766 up_read(&runlist->lock); in load_attribute_list()
1593 down_write(&ni->runlist.lock); in ntfs_attr_make_non_resident()
1698 ni->runlist.rl = rl; in ntfs_attr_make_non_resident()
1733 up_write(&ni->runlist.lock); in ntfs_attr_make_non_resident()
1810 ni->runlist.rl = NULL; in ntfs_attr_make_non_resident()
1811 up_write(&ni->runlist.lock); in ntfs_attr_make_non_resident()
1977 down_write(&ni->runlist.lock); in ntfs_attr_extend_allocation()
2062 up_write(&ni->runlist.lock); in ntfs_attr_extend_allocation()
2158 rl = ni->runlist.rl; in ntfs_attr_extend_allocation()
2166 (rl->lcn == LCN_ENOENT && rl > ni->runlist.rl && in ntfs_attr_extend_allocation()
2170 rl = ntfs_mapping_pairs_decompress(vol, a, ni->runlist.rl); in ntfs_attr_extend_allocation()
2186 ni->runlist.rl = rl; in ntfs_attr_extend_allocation()
2199 while (rl->lcn < 0 && rl > ni->runlist.rl) in ntfs_attr_extend_allocation()
2221 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_attr_extend_allocation()
2242 ni->runlist.rl = rl; in ntfs_attr_extend_allocation()
2357 up_write(&ni->runlist.lock); in ntfs_attr_extend_allocation()
2393 up_write(&ni->runlist.lock); in ntfs_attr_extend_allocation()
2419 if (ntfs_rl_truncate_nolock(vol, &ni->runlist, ll) || IS_ERR(m)) { in ntfs_attr_extend_allocation()
2453 up_write(&ni->runlist.lock); in ntfs_attr_extend_allocation()