Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/include/sys/crypto/common.h
Show First 20 Lines • Show All 238 Lines • ▼ Show 20 Lines | typedef struct crypto_data { | ||||
off_t cd_offset; /* Offset from the beginning */ | off_t cd_offset; /* Offset from the beginning */ | ||||
size_t cd_length; /* # of bytes in use */ | size_t cd_length; /* # of bytes in use */ | ||||
caddr_t cd_miscdata; /* ancillary data */ | caddr_t cd_miscdata; /* ancillary data */ | ||||
union { | union { | ||||
/* Raw format */ | /* Raw format */ | ||||
iovec_t cdu_raw; /* Pointer and length */ | iovec_t cdu_raw; /* Pointer and length */ | ||||
/* uio scatter-gather format */ | /* uio scatter-gather format */ | ||||
uio_t *cdu_uio; | zfs_uio_t *cdu_uio; | ||||
} cdu; /* Crypto Data Union */ | } cdu; /* Crypto Data Union */ | ||||
} crypto_data_t; | } crypto_data_t; | ||||
#define cd_raw cdu.cdu_raw | #define cd_raw cdu.cdu_raw | ||||
#define cd_uio cdu.cdu_uio | #define cd_uio cdu.cdu_uio | ||||
#define cd_mp cdu.cdu_mp | #define cd_mp cdu.cdu_mp | ||||
▲ Show 20 Lines • Show All 328 Lines • Show Last 20 Lines |