Lines Matching refs:rl
574 runlist_element *rl, *rl2; in ntfs_prepare_pages_for_non_resident_write() local
619 rl = NULL; in ntfs_prepare_pages_for_non_resident_write()
822 if (!rl) { in ntfs_prepare_pages_for_non_resident_write()
825 rl = ni->runlist.rl; in ntfs_prepare_pages_for_non_resident_write()
827 if (likely(rl != NULL)) { in ntfs_prepare_pages_for_non_resident_write()
829 while (rl->length && rl[1].vcn <= bh_cpos) in ntfs_prepare_pages_for_non_resident_write()
830 rl++; in ntfs_prepare_pages_for_non_resident_write()
831 lcn = ntfs_rl_vcn_to_lcn(rl, bh_cpos); in ntfs_prepare_pages_for_non_resident_write()
839 vcn_len = rl[1].vcn - vcn; in ntfs_prepare_pages_for_non_resident_write()
856 rl = NULL; in ntfs_prepare_pages_for_non_resident_write()
957 BUG_ON(!rl); in ntfs_prepare_pages_for_non_resident_write()
965 BUG_ON(rl->lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
967 rl2 = rl; in ntfs_prepare_pages_for_non_resident_write()
968 while (--rl2 >= ni->runlist.rl) { in ntfs_prepare_pages_for_non_resident_write()
983 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_prepare_pages_for_non_resident_write()
984 if (IS_ERR(rl)) { in ntfs_prepare_pages_for_non_resident_write()
985 err = PTR_ERR(rl); in ntfs_prepare_pages_for_non_resident_write()
998 ni->runlist.rl = rl; in ntfs_prepare_pages_for_non_resident_write()
1036 rl2 = ntfs_rl_find_vcn_nolock(rl, vcn); in ntfs_prepare_pages_for_non_resident_write()
1164 rl = NULL; in ntfs_prepare_pages_for_non_resident_write()
1176 } else if (unlikely(rl)) in ntfs_prepare_pages_for_non_resident_write()
1178 rl = NULL; in ntfs_prepare_pages_for_non_resident_write()
1296 mapping_pairs_offset), ni->runlist.rl, in ntfs_prepare_pages_for_non_resident_write()
1316 else if (rl) in ntfs_prepare_pages_for_non_resident_write()