Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 2 of 2) sorted by relevance

/fs/ocfs2/
Dblockcheck.c392 struct ocfs2_block_check *bc) in ocfs2_block_check_compute() argument
397 memset(bc, 0, sizeof(struct ocfs2_block_check)); in ocfs2_block_check_compute()
408 bc->bc_crc32e = cpu_to_le32(crc); in ocfs2_block_check_compute()
409 bc->bc_ecc = cpu_to_le16((u16)ecc); in ocfs2_block_check_compute()
421 struct ocfs2_block_check *bc, in ocfs2_block_check_validate() argument
430 check.bc_crc32e = le32_to_cpu(bc->bc_crc32e); in ocfs2_block_check_validate()
431 check.bc_ecc = le16_to_cpu(bc->bc_ecc); in ocfs2_block_check_validate()
433 memset(bc, 0, sizeof(struct ocfs2_block_check)); in ocfs2_block_check_validate()
462 bc->bc_crc32e = cpu_to_le32(check.bc_crc32e); in ocfs2_block_check_validate()
463 bc->bc_ecc = cpu_to_le16(check.bc_ecc); in ocfs2_block_check_validate()
[all …]
Dblockcheck.h44 struct ocfs2_block_check *bc);
46 struct ocfs2_block_check *bc);
49 struct ocfs2_block_check *bc);
52 struct ocfs2_block_check *bc);
56 struct ocfs2_block_check *bc);
58 struct ocfs2_block_check *bc,
61 struct ocfs2_block_check *bc);
63 struct ocfs2_block_check *bc,