Lines Matching refs:sgd
199 #define GET_COMPACT_SGD_SIZE(sgd) \ argument
200 ((((struct mvumi_compact_sgl *)(sgd))->flags) & 0x3FFFFFL)
202 #define SET_COMPACT_SGD_SIZE(sgd, sz) do { \ argument
203 (((struct mvumi_compact_sgl *)(sgd))->flags) &= ~0x3FFFFFL; \
204 (((struct mvumi_compact_sgl *)(sgd))->flags) |= (sz); \
206 #define sgd_getsz(_mhba, sgd, sz) do { \ argument
208 (sz) = GET_COMPACT_SGD_SIZE(sgd); \
210 (sz) = (sgd)->size; \
213 #define sgd_setsz(_mhba, sgd, sz) do { \ argument
215 SET_COMPACT_SGD_SIZE(sgd, sz); \
217 (sgd)->size = (sz); \
220 #define sgd_inc(_mhba, sgd) do { \ argument
222 sgd = (struct mvumi_sgl *)(((unsigned char *) (sgd)) + 12); \
224 sgd = (struct mvumi_sgl *)(((unsigned char *) (sgd)) + 16); \