Lines Matching refs:nat_bits
1623 unsigned char *nat_bits, *full_nat_bits, *empty_nat_bits; in write_nat_bits() local
1629 nat_bits = calloc(F2FS_BLKSIZE, nat_bits_blocks); in write_nat_bits()
1630 ASSERT(nat_bits); in write_nat_bits()
1635 full_nat_bits = nat_bits + 8; in write_nat_bits()
1670 *(__le64 *)nat_bits = get_cp_crc(cp); in write_nat_bits()
1679 if (dev_write_block(nat_bits + i * F2FS_BLKSIZE, blkaddr + i)) in write_nat_bits()
1684 free(nat_bits); in write_nat_bits()
1696 unsigned char *nat_bits, *full_nat_bits, *empty_nat_bits; in check_nat_bits() local
1703 nat_bits = calloc(F2FS_BLKSIZE, nat_bits_blocks); in check_nat_bits()
1704 ASSERT(nat_bits); in check_nat_bits()
1706 full_nat_bits = nat_bits + 8; in check_nat_bits()
1713 if (dev_read_block(nat_bits + i * F2FS_BLKSIZE, blkaddr + i)) in check_nat_bits()
1717 if (*(__le64 *)nat_bits != get_cp_crc(cp) || nats_in_cursum(journal)) { in check_nat_bits()
1756 free(nat_bits); in check_nat_bits()