Lines Matching refs:dva
30 * DVA-based Adjustable Replacement Cache
78 * ways: 1) via a hash table lookup using the DVA as a key,
178 * the DVA of the arc_buf_hdr_t. Since the b_pdata is a copy of the on-disk
487 * a DVA. These are buffers that hold dirty block copies
490 * that cannot be freed. Generally, they will aquire a DVA
1237 #define BUF_HASH_INDEX(spa, dva, birth) \
1238 (buf_hash(spa, dva, birth) & buf_hash_table.ht_mask)
1422 buf_hash(uint64_t spa, const dva_t *dva, uint64_t birth)
1424 uint8_t *vdva = (uint8_t *)dva;
1442 #define HDR_EQUAL(spa, dva, birth, hdr) \
1443 ((hdr)->b_dva.dva_word[0] == (dva)->dva_word[0]) && \
1444 ((hdr)->b_dva.dva_word[1] == (dva)->dva_word[1]) && \
1458 const dva_t *dva = BP_IDENTITY(bp);
1460 uint64_t idx = BUF_HASH_INDEX(spa, dva, birth);
1467 if (HDR_EQUAL(spa, dva, birth, hdr)) {
4827 * "Read" the block at the specified DVA (in bp) via the
4860 * Embedded BP's have no DVA and require no I/O to "read".
5629 * dva/birth/checksum. The buffer must therefore remain anonymous