Lines Matching refs:nat_bits
507 MSG(0, "%s", " nat_bits");
1623 unsigned char *nat_bits, *full_nat_bits, *empty_nat_bits;
1629 nat_bits = calloc(F2FS_BLKSIZE, nat_bits_blocks);
1630 ASSERT(nat_bits);
1635 full_nat_bits = nat_bits + 8;
1670 *(__le64 *)nat_bits = get_cp_crc(cp);
1679 if (dev_write_block(nat_bits + i * F2FS_BLKSIZE, blkaddr + i))
1682 MSG(0, "Info: Write valid nat_bits in checkpoint\n");
1684 free(nat_bits);
1696 unsigned char *nat_bits, *full_nat_bits, *empty_nat_bits;
1703 nat_bits = calloc(F2FS_BLKSIZE, nat_bits_blocks);
1704 ASSERT(nat_bits);
1706 full_nat_bits = nat_bits + 8;
1713 if (dev_read_block(nat_bits + i * F2FS_BLKSIZE, blkaddr + i))
1717 if (*(__le64 *)nat_bits != get_cp_crc(cp) || nats_in_cursum(journal)) {
1720 * flush them with nat_bits.
1724 /* Otherwise, kernel will disable nat_bits */
1756 free(nat_bits);
1758 MSG(0, "Info: Checked valid nat_bits in checkpoint\n");
1761 MSG(0, "Info: Corrupted valid nat_bits in checkpoint\n");
3794 /* Check nat_bits */