Searched refs:crc_offset (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/fs/f2fs/ |
H A D | checkpoint.c | 564 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 D | be_cmds.c | 2489 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 D | be_main.c | 4242 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 D | be_cmds.h | 2298 u16 img_optype, u32 img_offset, u32 crc_offset);
|
Completed in 245 milliseconds