MCPcopy Create free account
hub / github.com/F-Stack/f-stack / byteswap_uint64_array

Function byteswap_uint64_array

freebsd/contrib/openzfs/module/zfs/dmu.c:2226–2237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2224}
2225
2226void
2227byteswap_uint64_array(void *vbuf, size_t size)
2228{
2229 uint64_t *buf = vbuf;
2230 size_t count = size >> 3;
2231 int i;
2232
2233 ASSERT((size & 7) == 0);
2234
2235 for (i = 0; i < count; i++)
2236 buf[i] = BSWAP_64(buf[i]);
2237}
2238
2239void
2240byteswap_uint32_array(void *vbuf, size_t size)

Callers 15

zio_crypt_bp_auth_initFunction · 0.85
zio_crypt_bp_auth_initFunction · 0.85
zio_checksum_error_implFunction · 0.85
l2arc_dev_hdr_readFunction · 0.85
l2arc_log_blk_readFunction · 0.85
dnode_byteswapFunction · 0.85
uberblock_verifyFunction · 0.85
dmu_objset_byteswapFunction · 0.85
fzap_byteswapFunction · 0.85
ddt_decompressFunction · 0.85
zfs_replay_swap_attrsFunction · 0.85

Calls

no outgoing calls

Tested by 5

ztest_replay_createFunction · 0.68
ztest_replay_removeFunction · 0.68
ztest_replay_writeFunction · 0.68
ztest_replay_truncateFunction · 0.68
ztest_replay_setattrFunction · 0.68