Lines Matching refs:sgd
183 #define GET_COMPACT_SGD_SIZE(sgd) \ argument
184 ((((struct mvumi_compact_sgl *)(sgd))->flags) & 0x3FFFFFL)
186 #define SET_COMPACT_SGD_SIZE(sgd, sz) do { \ argument
187 (((struct mvumi_compact_sgl *)(sgd))->flags) &= ~0x3FFFFFL; \
188 (((struct mvumi_compact_sgl *)(sgd))->flags) |= (sz); \
190 #define sgd_getsz(_mhba, sgd, sz) do { \ argument
192 (sz) = GET_COMPACT_SGD_SIZE(sgd); \
194 (sz) = (sgd)->size; \
197 #define sgd_setsz(_mhba, sgd, sz) do { \ argument
199 SET_COMPACT_SGD_SIZE(sgd, sz); \
201 (sgd)->size = (sz); \
204 #define sgd_inc(_mhba, sgd) do { \ argument
206 sgd = (struct mvumi_sgl *)(((unsigned char *) (sgd)) + 12); \
208 sgd = (struct mvumi_sgl *)(((unsigned char *) (sgd)) + 16); \