Lines Matching refs:ptr
90 } ptr; \
101 ((handle).ptr.m64) = (addr)
108 sizeof (*(handle).ptr.m32) : \
109 sizeof (*(handle).ptr.m64))
119 (void *)&(handle).ptr.m32->field : \
120 &(handle).ptr.m64->field)
124 (handle).ptr.m32->field : \
125 (handle).ptr.m64->field)
129 (void *)(uintptr_t)(handle).ptr.m32->field : \
130 (handle).ptr.m64->field)
134 ((handle).ptr.m32->field = (val)) : \
135 ((handle).ptr.m64->field = (val)))
139 (void) ((handle).ptr.m32->field = (caddr32_t)(uintptr_t)(val)) : \
140 (void) ((handle).ptr.m64->field = (val)))
142 #define STRUCT_BUF(handle) ((handle).ptr.m64)
158 struct struct_type *ptr; \
169 (handle).ptr = (addr)
174 #define STRUCT_SIZE(handle) (sizeof (*(handle).ptr))
176 #define STRUCT_FADDR(handle, field) (&(handle).ptr->field)
178 #define STRUCT_FGET(handle, field) ((handle).ptr->field)
182 #define STRUCT_FSET(handle, field, val) ((handle).ptr->field = (val))
186 #define STRUCT_BUF(handle) ((handle).ptr)