Home
last modified time | relevance | path

Searched refs:BF64_SET (Results 1 – 9 of 9) sorted by relevance

/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dmetaslab_impl.h125 #define WEIGHT_SET_ACTIVE(weight, x) BF64_SET((weight), 61, 3, x)
129 #define WEIGHT_SET_SPACEBASED(weight) BF64_SET((weight), 60, 1, 1)
135 #define WEIGHT_SET_INDEX(weight, x) BF64_SET((weight), 54, 6, x)
137 #define WEIGHT_SET_COUNT(weight, x) BF64_SET((weight), 0, 54, x)
H A Dspa.h351 BF64_SET((bp)->blk_prop, 40, 8, t); \
419 BF64_SET((dva)->dva_word[0], 32, SPA_VDEVBITS, x)
451 BF64_SET((bp)->blk_prop, 32, SPA_COMPRESSBITS, x)
461 BF64_SET((bp)->blk_prop, 40, 8, x); \
465 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x)
468 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x)
472 #define BP_SET_CRYPT(bp, x) BF64_SET((bp)->blk_prop, 61, 1, x)
491 #define BP_SET_DEDUP(bp, x) BF64_SET((bp)->blk_prop, 62, 1, x)
497 #define BP_SET_FREE(bp, x) BF64_SET((bp)->blk_fill, 0, 1, x)
517 BF64_SET((bp)->blk_fill, 0, 32, fill); \
[all …]
H A Darc_impl.h345 BF64_SET((field), 32, SPA_COMPRESSBITS, x)
347 #define L2BLK_SET_PREFETCH(field, x) BF64_SET((field), 39, 1, x)
349 #define L2BLK_SET_CHECKSUM(field, x) BF64_SET((field), 40, 8, x)
351 #define L2BLK_SET_TYPE(field, x) BF64_SET((field), 48, 8, x)
353 #define L2BLK_SET_PROTECTED(field, x) BF64_SET((field), 56, 1, x)
355 #define L2BLK_SET_STATE(field, x) BF64_SET((field), 57, 4, x)
H A Dsa_impl.h74 BF64_SET(x, 24, 16, length); \
75 BF64_SET(x, 16, 8, bswap); \
76 BF64_SET(x, 0, 16, attr); \
H A Dbitops.h58 #define BF64_SET(x, low, len, val) do { \ macro
83 BF64_SET(x, low, len, ((val) >> (shift)) - (bias)); \
H A Dddt.h90 #define DDK_SET_COMPRESS(ddk, x) BF64_SET((ddk)->ddk_prop, 32, 7, x)
93 #define DDK_SET_CRYPT(ddk, x) BF64_SET((ddk)->ddk_prop, 39, 1, x)
H A Dzil.h196 #define LR_FOID_SET_SLOTS(oid, x) BF64_SET((oid), 56, 8, (x) - 1)
198 #define LR_FOID_SET_OBJ(oid, x) BF64_SET((oid), 0, DN_MAX_OBJECT_SHIFT, (x))
H A Dzfs_ioctl.h87 #define DMU_SET_STREAM_HDRTYPE(vi, x) BF64_SET((vi), 0, 2, x)
90 #define DMU_SET_FEATUREFLAGS(vi, x) BF64_SET((vi), 2, 30, x)
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dblkptr.c73 BF64_SET(w, (i % sizeof (w)) * NBBY, NBBY, data8[i]); in encode_embedded_bp_compressed()