Lines Matching refs:rl_size
1373 int rlen, rl_size, rl2_pos; in splice_runlists() local
1385 rl_size = (rlen * sizeof(ntfs_runlist) + PAGE_SIZE - 1) & in splice_runlists()
1388 __FUNCTION__, rlen, rl_size); in splice_runlists()
1390 if (rl_size <= ((*r1len * sizeof(ntfs_runlist) + PAGE_SIZE - 1) & in splice_runlists()
1409 rl_size = *r1len - 1; in splice_runlists()
1410 ntfs_debug(DEBUG_OTHER, "%s(): rl_size = %i.\n", __FUNCTION__,rl_size); in splice_runlists()
1413 if (rl[rl_size].lcn + rl[rl_size].len == rl2[rl2_pos].lcn) { in splice_runlists()
1417 __FUNCTION__, rl[rl_size].len); in splice_runlists()
1418 rl[rl_size].len += rl2[rl2_pos].len; in splice_runlists()
1420 __FUNCTION__, rl[rl_size].len); in splice_runlists()
1425 rl_size++; in splice_runlists()
1427 ntfs_memcpy(rl + rl_size, rl2 + rl2_pos, r2len * sizeof(ntfs_runlist)); in splice_runlists()
1529 int rlen, rl_size = 0, r2len, rl2_size, old_data_rlen, err = 0; in ntfs_alloc_mft_record() local
1738 rl_size = (rlen * sizeof(ntfs_runlist) + in ntfs_alloc_mft_record()
1742 rl_size) { in ntfs_alloc_mft_record()
1745 rl_size += PAGE_SIZE; in ntfs_alloc_mft_record()
1746 rlt = ntfs_vmalloc(rl_size); in ntfs_alloc_mft_record()
1751 ntfs_memcpy(rlt, rl, rl_size - in ntfs_alloc_mft_record()
2109 if ((rlen + 1) * sizeof(ntfs_runlist) <= rl_size - PAGE_SIZE) { in ntfs_alloc_mft_record()
2112 rl_size -= PAGE_SIZE; in ntfs_alloc_mft_record()
2113 rlt = ntfs_vmalloc(rl_size); in ntfs_alloc_mft_record()
2115 ntfs_memcpy(rlt, rl, rl_size); in ntfs_alloc_mft_record()