Searched defs:zcp (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dsha256.c45 const void *ctx_template, zio_cksum_t *zcp)
61 zcp->zc_word[0] = BE_64(tmp.zc_word[0]);
62 zcp->zc_word[1] = BE_64(tmp.zc_word[1]);
63 zcp->zc_word[2] = BE_64(tmp.zc_word[2]);
64 zcp->zc_word[3] = BE_64(tmp.zc_word[3]);
70 const void *ctx_template, zio_cksum_t *zcp)
76 SHA2Final(zcp, &ctx);
82 const void *ctx_template, zio_cksum_t *zcp)
87 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]);
88 zcp
44 abd_checksum_SHA256(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
69 abd_checksum_SHA512_native(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
81 abd_checksum_SHA512_byteswap(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
[all...]
H A Dskein_zfs.c46 const void *ctx_template, zio_cksum_t *zcp)
53 (void) Skein_512_Final(&ctx, (uint8_t *)zcp);
64 const void *ctx_template, zio_cksum_t *zcp)
69 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]);
70 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]);
71 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]);
72 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]);
45 abd_checksum_skein_native(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
63 abd_checksum_skein_byteswap(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
H A Dedonr_zfs.c50 const void *ctx_template, zio_cksum_t *zcp)
59 bcopy(digest, zcp->zc_word, sizeof (zcp->zc_word));
67 const void *ctx_template, zio_cksum_t *zcp)
72 zcp->zc_word[0] = BSWAP_64(zcp->zc_word[0]);
73 zcp->zc_word[1] = BSWAP_64(zcp->zc_word[1]);
74 zcp->zc_word[2] = BSWAP_64(zcp
49 abd_checksum_edonr_native(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
66 abd_checksum_edonr_byteswap(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
[all...]
H A Dzio_checksum.c98 const void *ctx_template, zio_cksum_t *zcp)
100 ZIO_SET_CHECKSUM(zcp, 0, 0, 0, 0);
106 const void *ctx_template, zio_cksum_t *zcp)
108 fletcher_init(zcp);
110 fletcher_2_incremental_native, zcp);
116 const void *ctx_template, zio_cksum_t *zcp)
118 fletcher_init(zcp);
120 fletcher_2_incremental_byteswap, zcp);
126 const void *ctx_template, zio_cksum_t *zcp)
128 fletcher_init(zcp);
97 abd_checksum_off(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
105 abd_fletcher_2_native(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
115 abd_fletcher_2_byteswap(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
125 abd_fletcher_4_native(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
135 abd_fletcher_4_byteswap(abd_t *abd, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
245 zio_checksum_gang_verifier(zio_cksum_t *zcp, const blkptr_t *bp) argument
261 zio_checksum_label_verifier(zio_cksum_t *zcp, uint64_t offset) argument
[all...]
H A Dzfs_ctldir.c224 zfsctl_node_t *zcp; local
232 zcp = vp->v_data;
233 zcp->zc_id = ZFSCTL_INO_ROOT;
238 ZFS_TIME_DECODE(&zcp->zc_cmtime, crtime);
352 zfsctl_node_t *zcp = vp->v_data; local
353 uint64_t object = zcp->zc_id;
427 zfsctl_node_t *zcp = vp->v_data; local
432 vap->va_mtime = vap->va_ctime = zcp->zc_cmtime;
1189 zfsctl_node_t *zcp; local
1193 zcp
1265 zfsctl_node_t *zcp; local
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dedonr_zfs.c36 const void *ctx_template, zio_cksum_t *zcp)
45 bcopy(digest, zcp->zc_word, sizeof (zcp->zc_word));
53 const void *ctx_template, zio_cksum_t *zcp)
58 zcp->zc_word[0] = BSWAP_64(zcp->zc_word[0]);
59 zcp->zc_word[1] = BSWAP_64(zcp->zc_word[1]);
60 zcp->zc_word[2] = BSWAP_64(zcp
35 zio_checksum_edonr_native(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
52 zio_checksum_edonr_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
[all...]
H A Dskein_zfs.c34 const void *ctx_template, zio_cksum_t *zcp)
41 (void) Skein_512_Final(&ctx, (uint8_t *)zcp);
52 const void *ctx_template, zio_cksum_t *zcp)
57 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]);
58 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]);
59 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]);
60 zcp->zc_word[3] = BSWAP_64(tmp.zc_word[3]);
33 zio_checksum_skein_native(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
51 zio_checksum_skein_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
H A Dfletcher.c28 const void *ctx_template __unused, zio_cksum_t *zcp)
41 ZIO_SET_CHECKSUM(zcp, a0, a1, b0, b1);
46 const void *ctx_template __unused, zio_cksum_t *zcp)
59 ZIO_SET_CHECKSUM(zcp, a0, a1, b0, b1);
64 const void *ctx_template __unused, zio_cksum_t *zcp)
77 ZIO_SET_CHECKSUM(zcp, a, b, c, d);
82 const void *ctx_template __unused, zio_cksum_t *zcp)
95 ZIO_SET_CHECKSUM(zcp, a, b, c, d);
27 fletcher_2_native(const void *buf, uint64_t size, const void *ctx_template __unused, zio_cksum_t *zcp) argument
45 fletcher_2_byteswap(const void *buf, uint64_t size, const void *ctx_template __unused, zio_cksum_t *zcp) argument
63 fletcher_4_native(const void *buf, uint64_t size, const void *ctx_template __unused, zio_cksum_t *zcp) argument
81 fletcher_4_byteswap(const void *buf, uint64_t size, const void *ctx_template __unused, zio_cksum_t *zcp) argument
H A Dsha256.c198 SHA256(uint32_t *H, const void *buf, uint64_t size, zio_cksum_t *zcp) argument
221 ZIO_SET_CHECKSUM(zcp,
250 * of this function is truncated to the first 256 bits that fit into 'zcp'.
253 SHA512(uint64_t *H, const void *buf, uint64_t size, zio_cksum_t *zcp) argument
284 /* truncate the output to the first 256 bits which fit into 'zcp' */
285 Encode64((uint8_t *)zcp, H, sizeof (uint64_t) * 4);
290 const void *ctx_template __unused, zio_cksum_t *zcp)
297 SHA256(H, buf, size, zcp);
302 const void *ctx_template __unused, zio_cksum_t *zcp)
311 SHA512(H, buf, size, zcp);
289 zio_checksum_SHA256(const void *buf, uint64_t size, const void *ctx_template __unused, zio_cksum_t *zcp) argument
301 zio_checksum_SHA512_native(const void *buf, uint64_t size, const void *ctx_template __unused, zio_cksum_t *zcp) argument
315 zio_checksum_SHA512_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
[all...]
H A Dzfssubr.c65 const void *ctx_template __unused, zio_cksum_t *zcp)
67 ZIO_SET_CHECKSUM(zcp, 0, 0, 0, 0);
74 const void *ctx_template, zio_cksum_t *zcp);
208 zio_checksum_gang_verifier(zio_cksum_t *zcp, const blkptr_t *bp) argument
215 ZIO_SET_CHECKSUM(zcp, DVA_GET_VDEV(dva), DVA_GET_OFFSET(dva), txg, 0);
224 zio_checksum_label_verifier(zio_cksum_t *zcp, uint64_t offset) argument
226 ZIO_SET_CHECKSUM(zcp, offset, 0, 0, 0);
64 zio_checksum_off(const void *buf __unused, uint64_t size __unused, const void *ctx_template __unused, zio_cksum_t *zcp) argument
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dzfs_fletcher.c30 fletcher_2_native(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
43 ZIO_SET_CHECKSUM(zcp, a0, a1, b0, b1);
47 fletcher_2_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
60 ZIO_SET_CHECKSUM(zcp, a0, a1, b0, b1);
64 fletcher_4_native(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
77 ZIO_SET_CHECKSUM(zcp, a, b, c, d);
81 fletcher_4_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
94 ZIO_SET_CHECKSUM(zcp, a, b, c, d);
H A Dzfs_sha256.c197 SHA256(uint32_t *H, const void *buf, uint64_t size, zio_cksum_t *zcp) argument
220 ZIO_SET_CHECKSUM(zcp,
249 * of this function is truncated to the first 256 bits that fit into 'zcp'.
252 SHA512(uint64_t *H, const void *buf, uint64_t size, zio_cksum_t *zcp) argument
283 /* truncate the output to the first 256 bits which fit into 'zcp' */
284 Encode64((uint8_t *)zcp, H, sizeof (uint64_t) * 4);
288 zio_checksum_SHA256(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
295 SHA256(H, buf, size, zcp);
299 zio_checksum_SHA512(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
308 SHA512(H, buf, size, zcp);
[all...]
H A Dfsys_zfs.c132 zio_checksum_off(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
134 ZIO_SET_CHECKSUM(zcp, 0, 0, 0, 0);
/illumos-gate/usr/src/common/zfs/
H A Dzfs_fletcher.c140 fletcher_init(zio_cksum_t *zcp) argument
142 ZIO_SET_CHECKSUM(zcp, 0, 0, 0, 0);
148 zio_cksum_t *zcp = data; local
154 a0 = zcp->zc_word[0];
155 a1 = zcp->zc_word[1];
156 b0 = zcp->zc_word[2];
157 b1 = zcp->zc_word[3];
166 ZIO_SET_CHECKSUM(zcp, a0, a1, b0, b1);
173 const void *ctx_template, zio_cksum_t *zcp)
175 fletcher_init(zcp);
172 fletcher_2_native(const void *buf, size_t size, const void *ctx_template, zio_cksum_t *zcp) argument
182 zio_cksum_t *zcp = data; local
206 fletcher_2_byteswap(const void *buf, size_t size, const void *ctx_template, zio_cksum_t *zcp) argument
216 zio_cksum_t *zcp = data; local
240 fletcher_4_native(const void *buf, size_t size, const void *ctx_template, zio_cksum_t *zcp) argument
250 zio_cksum_t *zcp = data; local
274 fletcher_4_byteswap(const void *buf, size_t size, const void *ctx_template, zio_cksum_t *zcp) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/
H A Dzfs_de.c121 zfs_case_serialize(fmd_hdl_t *hdl, zfs_case_t *zcp) argument
127 zcp->zc_data.zc_version = CASE_DATA_VERSION_SERD;
128 fmd_buf_write(hdl, zcp->zc_case, CASE_DATA, &zcp->zc_data,
129 sizeof (zcp->zc_data));
131 if (zcp->zc_fru != NULL)
132 fmd_buf_write(hdl, zcp->zc_case, CASE_FRU, zcp->zc_fru,
133 strlen(zcp->zc_fru));
142 zfs_case_t *zcp; local
190 zfs_case_t *zcp; local
234 zfs_case_t *zcp; local
328 zfs_case_t *zcp; local
390 zfs_case_solve(fmd_hdl_t *hdl, zfs_case_t *zcp, const char *faultname, boolean_t checkunusable) argument
529 zfs_case_t *zcp, *dcp; local
926 zfs_case_t *zcp = data; local
935 zfs_case_t *zcp = fmd_case_getspecific(hdl, cs); local
1031 zfs_case_t *zcp; local
[all...]
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_hw.h546 uint32_t zcp:1; member in struct:_sys_err_mask_t::__anon8319::__anon8320
556 uint32_t zcp:1;

Completed in 142 milliseconds