Lines Matching refs:rnum
670 int rnum, s_vcn, error, clustersizebits; in ntfs_readwrite_attr() local
745 for (rnum = 0; rnum < attr->d.r.len && in ntfs_readwrite_attr()
746 vcn + attr->d.r.runlist[rnum].len <= s_vcn; rnum++) in ntfs_readwrite_attr()
747 vcn += attr->d.r.runlist[rnum].len; in ntfs_readwrite_attr()
748 if (rnum == attr->d.r.len) { in ntfs_readwrite_attr()
751 "s_vcn = 0x%x.\n", __FUNCTION__, ino->i_number, rnum, in ntfs_readwrite_attr()
760 cluster = attr->d.r.runlist[rnum].lcn; in ntfs_readwrite_attr()
761 len = attr->d.r.runlist[rnum].len; in ntfs_readwrite_attr()
778 rnum++; in ntfs_readwrite_attr()
780 cluster = attr->d.r.runlist[rnum].lcn; in ntfs_readwrite_attr()
781 len = attr->d.r.runlist[rnum].len; in ntfs_readwrite_attr()
821 int rnum; in ntfs_vcn_to_lcn() local
832 for (rnum = 0; rnum < data->d.r.len && in ntfs_vcn_to_lcn()
833 vcn >= data->d.r.runlist[rnum].len; rnum++) in ntfs_vcn_to_lcn()
834 vcn -= data->d.r.runlist[rnum].len; in ntfs_vcn_to_lcn()
835 if (data->d.r.runlist[rnum].lcn >= 0) in ntfs_vcn_to_lcn()
836 return data->d.r.runlist[rnum].lcn + vcn; in ntfs_vcn_to_lcn()
837 return data->d.r.runlist[rnum].lcn + vcn; in ntfs_vcn_to_lcn()