Home
last modified time | relevance | path

Searched refs:zc_word (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dsha256.c46 zcp->zc_word[0] = BE_64(tmp.zc_word[0]); in zio_checksum_SHA256()
47 zcp->zc_word[1] = BE_64(tmp.zc_word[1]); in zio_checksum_SHA256()
48 zcp->zc_word[2] = BE_64(tmp.zc_word[2]); in zio_checksum_SHA256()
49 zcp->zc_word[3] = BE_64(tmp.zc_word[3]); in zio_checksum_SHA256()
H A Dzil.c170 zc->zc_word[ZIL_ZC_GUID_0] = spa_get_random(-1ULL); in zil_init_log_chain()
171 zc->zc_word[ZIL_ZC_GUID_1] = spa_get_random(-1ULL); in zil_init_log_chain()
172 zc->zc_word[ZIL_ZC_OBJSET] = dmu_objset_id(zilog->zl_os); in zil_init_log_chain()
173 zc->zc_word[ZIL_ZC_SEQ] = 1ULL; in zil_init_log_chain()
195 SET_BOOKMARK(&zb, bp->blk_cksum.zc_word[ZIL_ZC_OBJSET], in zil_read_log_block()
196 ZB_ZIL_OBJECT, ZB_ZIL_LEVEL, bp->blk_cksum.zc_word[ZIL_ZC_SEQ]); in zil_read_log_block()
212 cksum.zc_word[ZIL_ZC_SEQ]++; in zil_read_log_block()
327 uint64_t blk_seq = blk.blk_cksum.zc_word[ZIL_ZC_SEQ]; in zil_parse()
880 SET_BOOKMARK(&zb, lwb->lwb_blk.blk_cksum.zc_word[ZIL_ZC_OBJSET], in zil_lwb_write_init()
882 lwb->lwb_blk.blk_cksum.zc_word[ZIL_ZC_SEQ]); in zil_lwb_write_init()
[all …]
H A Ddsl_scan.c480 SET_BOOKMARK(&zb, zh->zh_log.blk_cksum.zc_word[ZIL_ZC_OBJSET], in dsl_scan_zil_block()
481 ZB_ZIL_OBJECT, ZB_ZIL_LEVEL, bp->blk_cksum.zc_word[ZIL_ZC_SEQ]); in dsl_scan_zil_block()
512 SET_BOOKMARK(&zb, zh->zh_log.blk_cksum.zc_word[ZIL_ZC_OBJSET], in dsl_scan_zil_record()
H A Ddmu_traverse.c86 bp->blk_cksum.zc_word[ZIL_ZC_SEQ]); in traverse_zil_block()
H A Ddsl_dataset.c1775 (longlong_t)cksum.zc_word[0], in get_receive_resume_stats()
/titanic_41/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c124 saved_cksum.zc_word[0], in read_hdr()
125 saved_cksum.zc_word[1], in read_hdr()
126 saved_cksum.zc_word[2], in read_hdr()
127 saved_cksum.zc_word[3]); in read_hdr()
370 drre->drr_checksum.zc_word[0] = in main()
371 BSWAP_64(drre->drr_checksum.zc_word[0]); in main()
372 drre->drr_checksum.zc_word[1] = in main()
373 BSWAP_64(drre->drr_checksum.zc_word[1]); in main()
374 drre->drr_checksum.zc_word[2] = in main()
375 BSWAP_64(drre->drr_checksum.zc_word[2]); in main()
[all …]
/titanic_41/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h95 uint64_t zc_word[4]; member
258 (0 == (((zc1).zc_word[0] - (zc2).zc_word[0]) | \
259 ((zc1).zc_word[1] - (zc2).zc_word[1]) | \
260 ((zc1).zc_word[2] - (zc2).zc_word[2]) | \
261 ((zc1).zc_word[3] - (zc2).zc_word[3])))
267 (zcp)->zc_word[0] = w0; \
268 (zcp)->zc_word[1] = w1; \
269 (zcp)->zc_word[2] = w2; \
270 (zcp)->zc_word[3] = w3; \
/titanic_41/usr/src/common/zfs/
H A Dzfs_fletcher.c210 a = zcp->zc_word[0]; in fletcher_4_incremental_native()
211 b = zcp->zc_word[1]; in fletcher_4_incremental_native()
212 c = zcp->zc_word[2]; in fletcher_4_incremental_native()
213 d = zcp->zc_word[3]; in fletcher_4_incremental_native()
233 a = zcp->zc_word[0]; in fletcher_4_incremental_byteswap()
234 b = zcp->zc_word[1]; in fletcher_4_incremental_byteswap()
235 c = zcp->zc_word[2]; in fletcher_4_incremental_byteswap()
236 d = zcp->zc_word[3]; in fletcher_4_incremental_byteswap()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h147 uint64_t zc_word[4]; member
442 (0 == (((zc1).zc_word[0] - (zc2).zc_word[0]) | \
443 ((zc1).zc_word[1] - (zc2).zc_word[1]) | \
444 ((zc1).zc_word[2] - (zc2).zc_word[2]) | \
445 ((zc1).zc_word[3] - (zc2).zc_word[3])))
448 (0 == ((zc)->zc_word[0] | (zc)->zc_word[1] | \
449 (zc)->zc_word[2] | (zc)->zc_word[3]))
454 zc->zc_word[0] = BSWAP_64(zc->zc_word[0]); \
455 zc->zc_word[1] = BSWAP_64(zc->zc_word[1]); \
456 zc->zc_word[2] = BSWAP_64(zc->zc_word[2]); \
[all …]
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c189 if ((actual_cksum.zc_word[0] - zc.zc_word[0]) | in zio_checksum_verify()
190 (actual_cksum.zc_word[1] - zc.zc_word[1]) | in zio_checksum_verify()
191 (actual_cksum.zc_word[2] - zc.zc_word[2]) | in zio_checksum_verify()
192 (actual_cksum.zc_word[3] - zc.zc_word[3])) in zio_checksum_verify()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c171 hashcode = BF64_GET(cs->zc_word[0], 0, ddt->numhashbits); in ddt_update()
418 drrw->drr_key.ddk_cksum.zc_word[0] = in cksummer()
419 BE_64(tmpsha256.zc_word[0]); in cksummer()
420 drrw->drr_key.ddk_cksum.zc_word[1] = in cksummer()
421 BE_64(tmpsha256.zc_word[1]); in cksummer()
422 drrw->drr_key.ddk_cksum.zc_word[2] = in cksummer()
423 BE_64(tmpsha256.zc_word[2]); in cksummer()
424 drrw->drr_key.ddk_cksum.zc_word[3] = in cksummer()
425 BE_64(tmpsha256.zc_word[3]); in cksummer()
1472 if (cksum.zc_word[0] != checksum) { in zfs_send_resume_token_to_nvlist()
[all …]
/titanic_41/usr/src/cmd/zdb/
H A Dzdb_il.c333 (u_longlong_t)bp->blk_cksum.zc_word[ZIL_ZC_SEQ], claim, blkbuf); in print_log_block()