#ifndef _QLA_DSD_H_ #define _QLA_DSD_H_ #include <asm/unaligned.h> /* 32-bit data segment descriptor (8 bytes) */ struct dsd32 { … }; static inline void append_dsd32(struct dsd32 **dsd, struct scatterlist *sg) { … } /* 64-bit data segment descriptor (12 bytes) */ struct dsd64 { … } __packed; static inline void append_dsd64(struct dsd64 **dsd, struct scatterlist *sg) { … } #endif