Home
last modified time | relevance | path

Searched refs:dva (Results 1 – 4 of 4) sorted by relevance

/u-boot/include/zfs/
A Dspa.h72 typedef struct dva { struct
159 #define DVA_GET_ASIZE(dva) \ argument
160 BF64_GET_SB((dva)->dva_word[0], 0, 24, SPA_MINBLOCKSHIFT, 0)
161 #define DVA_SET_ASIZE(dva, x) \ argument
164 #define DVA_GET_GRID(dva) BF64_GET((dva)->dva_word[0], 24, 8) argument
165 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x) argument
167 #define DVA_GET_VDEV(dva) BF64_GET((dva)->dva_word[0], 32, 32) argument
168 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x) argument
170 #define DVA_GET_GANG(dva) BF64_GET((dva)->dva_word[1], 63, 1) argument
171 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x) argument
[all …]
/u-boot/include/
A Duniverse.h46 unsigned int dva; member
106 unsigned int dva; /* Vme Address */ member
A Dtsi148.h180 unsigned int dva; /* Vme Address */ member
/u-boot/fs/zfs/
A Dzfs.c440 dva_get_offset(dva_t *dva, zfs_endian_t endian) in dva_get_offset() argument
442 return zfs_to_cpu64((dva)->dva_word[1], in dva_get_offset()
452 zio_read_gang(blkptr_t *bp, zfs_endian_t endian, dva_t *dva, void *buf, in zio_read_gang() argument
467 offset = dva_get_offset(dva, endian); in zio_read_gang()
480 ZIO_SET_CHECKSUM(&zc, DVA_GET_VDEV(dva), in zio_read_gang()
481 dva_get_offset(dva, endian), bp->blk_birth, 0); in zio_read_gang()

Completed in 9 milliseconds