• Home
  • Raw
  • Download

Lines Matching refs:lblk

304 	xfs_dablk_t			lblk,  in xchk_directory_check_free_entry()  argument
322 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_check_free_entry()
329 xfs_dablk_t lblk, in xchk_directory_data_bestfree() argument
348 if (lblk != XFS_B_TO_FSBT(mp, XFS_DIR2_DATA_OFFSET)) in xchk_directory_data_bestfree()
349 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
353 error = xfs_dir3_data_read(sc->tp, sc->ip, lblk, 0, &bp); in xchk_directory_data_bestfree()
355 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, &error)) in xchk_directory_data_bestfree()
372 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
382 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
388 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
411 lblk); in xchk_directory_data_bestfree()
421 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
429 xchk_directory_check_free_entry(sc, lblk, bf, dup); in xchk_directory_data_bestfree()
436 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
446 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
450 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
466 xfs_dablk_t lblk, in xchk_directory_check_freesp() argument
475 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_check_freesp()
478 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_check_freesp()
486 xfs_dablk_t lblk) in xchk_directory_leaf1_bestfree() argument
504 error = xfs_dir3_leaf_read(sc->tp, sc->ip, lblk, &bp); in xchk_directory_leaf1_bestfree()
505 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, &error)) in xchk_directory_leaf1_bestfree()
519 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_leaf1_bestfree()
527 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_leaf1_bestfree()
533 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_leaf1_bestfree()
539 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_leaf1_bestfree()
547 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_leaf1_bestfree()
554 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_leaf1_bestfree()
565 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, in xchk_directory_leaf1_bestfree()
572 lblk); in xchk_directory_leaf1_bestfree()
579 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_leaf1_bestfree()
581 xchk_directory_check_freesp(sc, lblk, dbp, best); in xchk_directory_leaf1_bestfree()
596 xfs_dablk_t lblk) in xchk_directory_free_bestfree() argument
607 error = xfs_dir2_free_read(sc->tp, sc->ip, lblk, &bp); in xchk_directory_free_bestfree()
608 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, &error)) in xchk_directory_free_bestfree()
616 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_free_bestfree()
630 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, in xchk_directory_free_bestfree()
633 xchk_directory_check_freesp(sc, lblk, dbp, best); in xchk_directory_free_bestfree()
638 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_free_bestfree()
655 xfs_fileoff_t lblk; in xchk_directory_blocks() local
667 lblk = XFS_B_TO_FSB(mp, XFS_DIR2_DATA_OFFSET); in xchk_directory_blocks()
676 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, &error)) in xchk_directory_blocks()
680 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
706 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks()
708 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
709 lblk += args.geo->fsbcount) { in xchk_directory_blocks()
710 error = xchk_directory_data_bestfree(sc, lblk, in xchk_directory_blocks()
716 lblk = roundup(dabno, args.geo->fsbcount); in xchk_directory_blocks()
717 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
729 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_blocks()
742 lblk = free_lblk; in xchk_directory_blocks()
743 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
749 lblk = got.br_startoff; in xchk_directory_blocks()
750 if (lblk & ~0xFFFFFFFFULL) { in xchk_directory_blocks()
751 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_blocks()
755 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_blocks()
770 for (lblk = roundup((xfs_dablk_t)got.br_startoff, in xchk_directory_blocks()
772 lblk < got.br_startoff + got.br_blockcount; in xchk_directory_blocks()
773 lblk += args.geo->fsbcount) { in xchk_directory_blocks()
775 lblk); in xchk_directory_blocks()
780 lblk = roundup(dabno, args.geo->fsbcount); in xchk_directory_blocks()
781 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()