Lines Matching refs:lcn
344 LCN lcn; in ntfs_attr_vcn_to_lcn_nolock() local
364 lcn = ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn); in ntfs_attr_vcn_to_lcn_nolock()
365 if (likely(lcn >= LCN_HOLE)) { in ntfs_attr_vcn_to_lcn_nolock()
366 ntfs_debug("Done, lcn 0x%llx.", (long long)lcn); in ntfs_attr_vcn_to_lcn_nolock()
367 return lcn; in ntfs_attr_vcn_to_lcn_nolock()
369 if (lcn != LCN_RL_NOT_MAPPED) { in ntfs_attr_vcn_to_lcn_nolock()
370 if (lcn != LCN_ENOENT) in ntfs_attr_vcn_to_lcn_nolock()
371 lcn = LCN_EIO; in ntfs_attr_vcn_to_lcn_nolock()
395 lcn = LCN_ENOENT; in ntfs_attr_vcn_to_lcn_nolock()
397 lcn = LCN_ENOMEM; in ntfs_attr_vcn_to_lcn_nolock()
399 lcn = LCN_EIO; in ntfs_attr_vcn_to_lcn_nolock()
401 if (lcn != LCN_ENOENT) in ntfs_attr_vcn_to_lcn_nolock()
403 (long long)lcn); in ntfs_attr_vcn_to_lcn_nolock()
404 return lcn; in ntfs_attr_vcn_to_lcn_nolock()
490 if (likely(rl->lcn >= LCN_HOLE)) { in ntfs_attr_find_vcn_nolock()
498 if (likely(rl->lcn != LCN_RL_NOT_MAPPED)) { in ntfs_attr_find_vcn_nolock()
499 if (likely(rl->lcn == LCN_ENOENT)) in ntfs_attr_find_vcn_nolock()
737 LCN lcn; in load_attribute_list() local
768 lcn = ntfs_rl_vcn_to_lcn(rl, rl->vcn); in load_attribute_list()
771 (unsigned long long)lcn); in load_attribute_list()
773 if (lcn < 0) { in load_attribute_list()
778 block = lcn << vol->cluster_size_bits >> block_size_bits; in load_attribute_list()
2203 if (unlikely(!rl || rl->lcn == LCN_RL_NOT_MAPPED || in ntfs_attr_extend_allocation()
2204 (rl->lcn == LCN_ENOENT && rl > ni->runlist.rl && in ntfs_attr_extend_allocation()
2205 (rl-1)->lcn == LCN_RL_NOT_MAPPED))) { in ntfs_attr_extend_allocation()
2237 while (rl->lcn < 0 && rl > ni->runlist.rl) in ntfs_attr_extend_allocation()
2245 vol->cluster_size_bits, (rl && (rl->lcn >= 0)) ? in ntfs_attr_extend_allocation()
2246 rl->lcn + rl->length : -1, DATA_ZONE, true); in ntfs_attr_extend_allocation()
2288 BUG_ON(rl2->lcn < LCN_HOLE); in ntfs_attr_extend_allocation()