Searched refs:crc_offset (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/fs/f2fs/
H A Dcheckpoint.c564 size_t crc_offset; validate_checkpoint() local
572 crc_offset = le32_to_cpu(cp_block->checksum_offset); validate_checkpoint()
573 if (crc_offset >= blk_size) validate_checkpoint()
576 crc = le32_to_cpu(*((__le32 *)((unsigned char *)cp_block + crc_offset))); validate_checkpoint()
577 if (!f2fs_crc_valid(crc, cp_block, crc_offset)) validate_checkpoint()
587 crc_offset = le32_to_cpu(cp_block->checksum_offset); validate_checkpoint()
588 if (crc_offset >= blk_size) validate_checkpoint()
591 crc = le32_to_cpu(*((__le32 *)((unsigned char *)cp_block + crc_offset))); validate_checkpoint()
592 if (!f2fs_crc_valid(crc, cp_block, crc_offset)) validate_checkpoint()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c2489 u16 img_optype, u32 img_offset, u32 crc_offset) be_cmd_get_flash_crc()
2510 req->params.offset = cpu_to_le32(img_offset + crc_offset); be_cmd_get_flash_crc()
2512 req->params.offset = cpu_to_le32(crc_offset); be_cmd_get_flash_crc()
2488 be_cmd_get_flash_crc(struct be_adapter *adapter, u8 *flashed_crc, u16 img_optype, u32 img_offset, u32 crc_offset) be_cmd_get_flash_crc() argument
H A Dbe_main.c4242 u32 crc_offset; be_check_flash_crc() local
4251 crc_offset = hdr_size + img_offset + img_size - 4; be_check_flash_crc()
4254 if (!memcmp(crc, p + crc_offset, 4)) be_check_flash_crc()
H A Dbe_cmds.h2298 u16 img_optype, u32 img_offset, u32 crc_offset);

Completed in 245 milliseconds