• Home
  • Raw
  • Download

Lines Matching refs:lcn

124 	CLST vcn_next, vcn0 = vcn, lcn, clen, dn = 0;  in run_deallocate_ex()  local
130 if (!run_lookup_entry(run, vcn, &lcn, &clen, &idx)) { in run_deallocate_ex()
146 if (lcn != SPARSE_LCN) { in run_deallocate_ex()
147 mark_as_free_ex(sbi, lcn, clen, trim); in run_deallocate_ex()
156 if (!run_get_entry(run, ++idx, &vcn, &lcn, &clen) || in run_deallocate_ex()
174 CLST vcn, CLST lcn, CLST len, CLST *pre_alloc, in attr_allocate_clusters() argument
184 err = ntfs_look_for_free_space(sbi, lcn, len + pre, &lcn, &flen, in attr_allocate_clusters()
198 *new_lcn = lcn; in attr_allocate_clusters()
201 if (!run_add_entry(run, vcn, lcn, flen, opt == ALLOCATE_MFT)) { in attr_allocate_clusters()
204 wnd_set_free(wnd, lcn, flen); in attr_allocate_clusters()
424 CLST alen, vcn, lcn, new_alen, old_alen, svcn, evcn; in attr_set_size() local
516 lcn = 0; in attr_set_size()
534 !run_lookup_entry(run, vcn, &lcn, NULL, NULL)) { in attr_set_size()
535 lcn = SPARSE_LCN; in attr_set_size()
538 if (lcn == SPARSE_LCN) in attr_set_size()
539 lcn = 0; in attr_set_size()
540 else if (lcn) in attr_set_size()
541 lcn += 1; in attr_set_size()
565 sbi, run, vcn, lcn, to_allocate, &pre_alloc, in attr_set_size()
810 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn, in attr_data_get_block() argument
829 ok = run_lookup_entry(run, vcn, lcn, len, NULL); in attr_data_get_block()
832 if (ok && (*lcn != SPARSE_LCN || !new)) { in attr_data_get_block()
857 *lcn = RESIDENT_LCN; in attr_data_get_block()
897 ok = run_lookup_entry(run, vcn, lcn, len, NULL); in attr_data_get_block()
898 if (ok && (*lcn != SPARSE_LCN || !new)) { in attr_data_get_block()
938 lcn); in attr_data_get_block()
1191 CLST lcn, clen; in attr_load_runs_range() local
1195 if (!run_lookup_entry(run, vcn, &lcn, &clen, NULL)) { in attr_load_runs_range()
1363 CLST clen, lcn, vcn, alen, slen, vcn_next; in attr_is_frame_compressed() local
1379 if (!run_lookup_entry(run, vcn, &lcn, &clen, &idx)) { in attr_is_frame_compressed()
1385 if (!run_lookup_entry(run, vcn, &lcn, &clen, &idx)) in attr_is_frame_compressed()
1389 if (lcn == SPARSE_LCN) { in attr_is_frame_compressed()
1414 if (!run_get_entry(run, ++idx, &vcn, &lcn, &clen) || in attr_is_frame_compressed()
1423 if (!run_lookup_entry(run, vcn, &lcn, &clen, &idx)) in attr_is_frame_compressed()
1427 if (lcn == SPARSE_LCN) { in attr_is_frame_compressed()
1471 CLST svcn, evcn1, next_svcn, lcn, len; in attr_allocate_frame() local
1548 &alen, 0, &lcn); in attr_allocate_frame()