Lines Matching refs:entry_off
2294 int entry_off; in get_nat_entry() local
2303 entry_off = nid % NAT_ENTRY_PER_BLOCK; in get_nat_entry()
2309 memcpy(raw_nat, &nat_block->entries[entry_off], in get_nat_entry()
2371 int entry_off; in update_nat_blkaddr() local
2377 entry_off = nid % NAT_ENTRY_PER_BLOCK; in update_nat_blkaddr()
2384 nat_block->entries[entry_off].ino = cpu_to_le32(ino); in update_nat_blkaddr()
2385 nat_block->entries[entry_off].block_addr = cpu_to_le32(newaddr); in update_nat_blkaddr()
2387 F2FS_FSCK(sbi)->entries[nid] = nat_block->entries[entry_off]; in update_nat_blkaddr()
2658 int entry_off; in flush_nat_journal_entries() local
2674 entry_off = nid % NAT_ENTRY_PER_BLOCK; in flush_nat_journal_entries()
2680 memcpy(&nat_block->entries[entry_off], &nat_in_journal(journal, i), in flush_nat_journal_entries()
3004 int entry_off; in nullify_nat_entry() local
3020 entry_off = nid % NAT_ENTRY_PER_BLOCK; in nullify_nat_entry()
3028 le32_to_cpu(nat_block->entries[entry_off].block_addr)); in nullify_nat_entry()
3029 nat_block->entries[entry_off].block_addr = cpu_to_le32(0x1); in nullify_nat_entry()
3031 memset(&nat_block->entries[entry_off], 0, in nullify_nat_entry()