Lines Matching refs:rlen

652 static void dump_runlist(const ntfs_runlist *rl, const int rlen);
1329 static void dump_runlist(const ntfs_runlist *rl, const int rlen) in dump_runlist() argument
1335 ntfs_debug(DEBUG_OTHER, "%s(): rlen = %i.\n", __FUNCTION__, rlen); in dump_runlist()
1337 for (i = 0, ct = 0; i < rlen; ct += rl[i++].len) { in dump_runlist()
1345 i + 1 < rlen ? "" : " (run list end)"); in dump_runlist()
1373 int rlen, rl_size, rl2_pos; in splice_runlists() local
1384 rlen = *r1len + r2len + 1; in splice_runlists()
1385 rl_size = (rlen * sizeof(ntfs_runlist) + PAGE_SIZE - 1) & in splice_runlists()
1388 __FUNCTION__, rlen, rl_size); in splice_runlists()
1400 rl = ntfs_vmalloc(rlen << sizeof(ntfs_runlist)); in splice_runlists()
1423 rlen--; in splice_runlists()
1428 rlen--; in splice_runlists()
1429 rl[rlen].lcn = (ntfs_cluster_t)-1; in splice_runlists()
1430 rl[rlen].len = (ntfs_cluster_t)0; in splice_runlists()
1431 *r1len = rlen; in splice_runlists()
1436 __FUNCTION__, rlen); in splice_runlists()
1529 int rlen, rl_size = 0, r2len, rl2_size, old_data_rlen, err = 0; in ntfs_alloc_mft_record() local
1566 rlen = bmp->d.r.len - 1; in ntfs_alloc_mft_record()
1567 lcn = rl[rlen].lcn + rl[rlen].len; in ntfs_alloc_mft_record()
1673 rlen = bmp->d.r.len - 1; in ntfs_alloc_mft_record()
1674 lcn = rl[rlen].lcn + rl[rlen].len; in ntfs_alloc_mft_record()
1700 append_mftbmp_simple: rl[rlen].len++; in ntfs_alloc_mft_record()
1738 rl_size = (rlen * sizeof(ntfs_runlist) + in ntfs_alloc_mft_record()
1741 if ((rlen + 2) * sizeof(ntfs_runlist) >= in ntfs_alloc_mft_record()
1757 rl[rlen].lcn = lcn = lcn2; in ntfs_alloc_mft_record()
1758 rl[rlen].len = count; in ntfs_alloc_mft_record()
1759 bmp->d.r.len = ++rlen; in ntfs_alloc_mft_record()
2103 rl[rlen - 1].len--; in ntfs_alloc_mft_record()
2107 bmp->d.r.len = --rlen; in ntfs_alloc_mft_record()
2109 if ((rlen + 1) * sizeof(ntfs_runlist) <= rl_size - PAGE_SIZE) { in ntfs_alloc_mft_record()