Lines Matching refs:srl

518 		runlist_element *srl)  in ntfs_runlists_merge()  argument
533 ntfs_debug_dump_runlist(srl); in ntfs_runlists_merge()
537 if (unlikely(!srl)) in ntfs_runlists_merge()
539 if (IS_ERR(srl) || IS_ERR(drl)) in ntfs_runlists_merge()
544 drl = srl; in ntfs_runlists_merge()
566 while (srl[si].length && srl[si].lcn < LCN_HOLE) in ntfs_runlists_merge()
570 BUG_ON(!srl[si].length); in ntfs_runlists_merge()
581 if (drl[di].vcn + drl[di].length > srl[sstart].vcn) in ntfs_runlists_merge()
587 if ((drl[di].vcn == srl[si].vcn) && (drl[di].lcn >= 0) && in ntfs_runlists_merge()
588 (srl[si].lcn >= 0)) { in ntfs_runlists_merge()
594 for (send = si; srl[send].length; send++) in ntfs_runlists_merge()
599 if (srl[send].lcn == LCN_ENOENT) in ntfs_runlists_merge()
600 marker_vcn = srl[marker = send].vcn; in ntfs_runlists_merge()
603 for (sfinal = send; sfinal >= 0 && srl[sfinal].lcn < LCN_HOLE; sfinal--) in ntfs_runlists_merge()
615 (drl[dins].vcn == srl[sstart].vcn)); /* Start of hole */ in ntfs_runlists_merge()
618 (srl[send - 1].vcn + srl[send - 1].length))); in ntfs_runlists_merge()
623 if (marker && (drl[dins].vcn + drl[dins].length > srl[send - 1].vcn)) in ntfs_runlists_merge()
633 drl = ntfs_rl_replace(drl, ds, srl + sstart, ss, dins); in ntfs_runlists_merge()
635 drl = ntfs_rl_insert(drl, ds, srl + sstart, ss, dins); in ntfs_runlists_merge()
638 drl = ntfs_rl_append(drl, ds, srl + sstart, ss, dins); in ntfs_runlists_merge()
640 drl = ntfs_rl_split(drl, ds, srl + sstart, ss, dins); in ntfs_runlists_merge()
646 ntfs_free(srl); in ntfs_runlists_merge()