Lines Matching refs:cnum
214 int ntfs_insert_run(ntfs_attribute *attr, int cnum, ntfs_cluster_t cluster, in ntfs_insert_run() argument
246 if (attr->d.r.len > cnum) in ntfs_insert_run()
247 ntfs_memmove(attr->d.r.runlist + cnum + 1, in ntfs_insert_run()
248 attr->d.r.runlist + cnum, in ntfs_insert_run()
249 (attr->d.r.len - cnum) * sizeof(ntfs_runlist)); in ntfs_insert_run()
250 attr->d.r.runlist[cnum].lcn = cluster; in ntfs_insert_run()
251 attr->d.r.runlist[cnum].len = len; in ntfs_insert_run()
554 int vcn, cnum; in ntfs_process_runs() local
570 for (cnum = 0, vcn = 0; cnum < attr->d.r.len; cnum++) in ntfs_process_runs()
571 vcn += attr->d.r.runlist[cnum].len; in ntfs_process_runs()
576 startvcn, endvcn, vcn, cnum); in ntfs_process_runs()
599 cnum = attr->d.r.len; in ntfs_process_runs()
609 er = ntfs_insert_run(attr, cnum, -1, len); in ntfs_process_runs()
611 er = ntfs_insert_run(attr, cnum, cluster, len); in ntfs_process_runs()
614 cnum++; in ntfs_process_runs()
620 endvcn, cnum); in ntfs_process_runs()