Lines Matching refs:rl

340 		err = ntfs_cluster_free_from_rl(ni->vol, ni->runlist.rl);
349 struct runlist_element *rl;
352 rl = ntfs_mapping_pairs_decompress(ni->vol, actx->attr, NULL,
354 if (IS_ERR(rl)) {
355 err = PTR_ERR(rl);
361 err = ntfs_cluster_free_from_rl(ni->vol, rl);
365 kvfree(rl);
1714 * @rl: runlist of the attribute list
1719 * Walk the runlist @rl and load all clusters from it copying them into
1728 struct runlist_element *rl, u8 *al_start, const s64 size,
1739 if (!vol || !rl || !al || size <= 0 || initialized_size < 0 ||
1749 while (rl->length) {
1750 lcn = ntfs_rl_vcn_to_lcn(rl, rl->vcn);
1752 (unsigned long long)rl->vcn,
1761 rl_byte_len = ntfs_cluster_to_bytes(vol, rl->length);
1780 rl++;
1966 struct runlist_element *rl;
1976 rl = ntfs_mapping_pairs_decompress(vol, a, NULL, &new_rl_count);
1977 if (IS_ERR(rl)) {
1978 err = PTR_ERR(rl);
1985 err = load_attribute_list_mount(vol, rl, ni->attr_list, ni->attr_list_size,
1987 kvfree(rl);
2081 ni->runlist.rl = nrl;
2204 if (NInoNonResident(ni) && ni->runlist.rl) {
2205 kvfree(ni->runlist.rl);
2206 ni->runlist.rl = NULL;
2679 struct runlist_element *rl;
2687 rl = mft_ni->runlist.rl;
2688 if (!rl) {
2694 while (rl->length && rl[1].vcn <= vcn)
2695 rl++;
2696 ni->mft_lcn[0] = ntfs_rl_vcn_to_lcn(rl, vcn);
2700 (rl->length - (vcn - rl->vcn)) <= 1) {
2701 rl++;
2702 ni->mft_lcn[1] = ntfs_rl_vcn_to_lcn(rl, vcn + 1);
3677 struct runlist_element *rl;
3684 rl = ntfs_attr_vcn_to_rl(ni, vcn, &lcn);
3685 if (IS_ERR(rl)) {
3686 ret = PTR_ERR(rl);
3691 rl_length = rl->length - (vcn - rl->vcn);