• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/

Lines Matching defs:lcn

47  * Locking: - The volume lcn bitmap must be locked for writing on entry and is
62 if (rl->lcn < 0)
64 err = ntfs_bitmap_clear_run(lcnbmp_vi, rl->lcn, rl->length);
77 LCN zone_start, zone_end, bmp_pos, bmp_initial_pos, last_read_pos, lcn;
224 lcn = bmp_pos & 7;
226 ntfs_debug("Before inner while loop: buf_size %i, lcn 0x%llx, "
228 (unsigned long long)lcn,
230 while (lcn < buf_size && lcn + bmp_pos < zone_end) {
231 byte = buf + (lcn >> 3);
233 "lcn 0x%llx, bmp_pos 0x%llx, "
236 (unsigned long long)lcn,
239 (unsigned int)(lcn >> 3),
243 lcn = (lcn + 8) & ~(LCN)7;
247 bit = 1 << (lcn & 7);
251 lcn++;
268 (lcn + bmp_pos));
293 ntfs_debug("Adding run (lcn 0x%llx, len 0x%llx), "
294 "prev_lcn 0x%llx, lcn 0x%llx, "
297 (unsigned long long)(lcn + bmp_pos),
299 (unsigned long long)lcn,
303 if (prev_lcn == lcn + bmp_pos - prev_run_len && rlpos) {
304 ntfs_debug("Coalescing to run (lcn 0x%llx, "
307 rl[rlpos - 1].lcn,
311 ntfs_debug("Run now (lcn 0x%llx, len 0x%llx), "
314 rl[rlpos - 1].lcn,
322 "run lcn 0x%llx, "
325 rl[rlpos - 1].lcn,
335 rl[rlpos].lcn = prev_lcn = lcn + bmp_pos;
347 tc = lcn + bmp_pos + 1;
420 lcn++;
423 ntfs_debug("After inner while loop: buf_size 0x%x, lcn "
425 buf_size, (unsigned long long)lcn,
491 tc = rl[rlpos - 1].lcn +
534 tc = rl[rlpos - 1].lcn +
575 tc = rl[rlpos - 1].lcn +
667 rl[rlpos].lcn = is_extension ? LCN_ENOENT : LCN_RL_NOT_MAPPED;
691 "err -ENOSPC, first free lcn 0x%llx, "
694 (unsigned long long)rl[0].lcn,
709 "lcn = 0x%llx.",
766 * - The volume lcn bitmap must be unlocked on entry and is unlocked
768 * - This function takes the volume lcn bitmap lock for writing and
795 * Lock the lcn bitmap for writing but only if not rolling back. We
815 if (unlikely(rl->lcn < LCN_HOLE)) {
818 "invalid lcn, aborting.");
830 if (likely(rl->lcn >= 0)) {
832 err = ntfs_bitmap_set_bits_in_run(lcnbmp_vi, rl->lcn + delta,
855 if (unlikely(rl->lcn < LCN_HOLE)) {
871 if (unlikely(rl->lcn < LCN_HOLE)) {
874 "has invalid lcn "
877 rl->lcn);
887 if (likely(rl->lcn >= 0)) {
889 err = ntfs_bitmap_set_bits_in_run(lcnbmp_vi, rl->lcn,