• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/

Lines Matching defs:lcn

147  * @start_lcn:	starting lcn at which to allocate the clusters (or -1 if none)
171 * approach and from the fact that we have access to the lcn bitmap via up to
186 LCN last_read_pos, lcn;
205 ntfs_log_perror("%s: vcn: %lld, count: %lld, lcn: %lld",
216 rl[0].lcn = LCN_RL_NOT_MAPPED;
278 lcn = bmp_pos & 7;
282 while (lcn < buf_size) {
283 byte = buf + (lcn >> 3);
284 bit = 1 << (lcn & 7);
291 lcn = max_empty_bit_range(buf, br);
292 if (lcn < 0)
298 /* First free bit is at lcn + bmp_pos. */
326 if (prev_lcn == lcn + bmp_pos - prev_run_len && rlpos) {
328 "%lld lcn: %lld bmp_pos: %lld "
331 (long long)lcn, (long long)bmp_pos,
344 rl[rlpos].lcn = prev_lcn = lcn + bmp_pos;
351 (long long)rl[rlpos - 1].lcn,
357 search_zone, lcn + bmp_pos + 1 +
362 lcn++;
420 LCN tc = tc = rl[rlpos - 1].lcn +
477 rl[rlpos].lcn = LCN_RL_NOT_MAPPED;
503 rl[rlpos].lcn = LCN_RL_NOT_MAPPED;
529 ntfs_log_trace("Dealloc lcn 0x%llx, len 0x%llx.\n",
530 (long long)rl->lcn, (long long)rl->length);
532 if (rl->lcn >= 0) {
533 if (ntfs_bitmap_clear_run(vol->lcnbmp_na, rl->lcn,
537 (long long)rl->lcn,
595 if (rl->lcn < 0 && rl->lcn != LCN_HOLE) {
597 ntfs_log_perror("%s: Unexpected lcn (%lld)", __FUNCTION__,
598 (long long)rl->lcn);
610 if (rl->lcn != LCN_HOLE) {
612 if (ntfs_bitmap_clear_run(vol->lcnbmp_na, rl->lcn + delta,
630 if (rl->lcn < 0 && rl->lcn != LCN_HOLE) {
633 ntfs_log_perror("%s: Invalid lcn (%lli)",
634 __FUNCTION__, (long long)rl->lcn);
643 if (rl->lcn != LCN_HOLE) {
644 if (ntfs_bitmap_clear_run(vol->lcnbmp_na, rl->lcn,