Lines Matching defs:offsetof

104 #undef	offsetof
105 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE)0)->MEMBER)
128 DECLARE("MUTEX_PTR", offsetof(lck_mtx_t *, lck_mtx_ptr));
129 DECLARE("MUTEX_STATE", offsetof(lck_mtx_t *, lck_mtx_state));
132 DECLARE("MUTEX_PTR", offsetof(lck_mtx_t *, lck_mtx_ptr));
136 offsetof(lck_grp_t *,
139 offsetof(lck_grp_t *,
142 offsetof(lck_grp_t *,
148 DECLARE("MTX_ACQ_TSC", offsetof(lck_mtx_ext_t *, lck_mtx_stat));
153 DECLARE("MUTEX_GRP", offsetof(lck_mtx_ext_t *, lck_mtx_grp));
158 DECLARE("BOOT_ARGS_VERSION", offsetof(boot_args *, Version));
159 DECLARE("BOOT_ARGS_VIRTBASE", offsetof(boot_args *, virtBase));
160 DECLARE("BOOT_ARGS_PHYSBASE", offsetof(boot_args *, physBase));
161 DECLARE("BOOT_ARGS_MEMSIZE", offsetof(boot_args *, memSize));
162 DECLARE("BOOT_ARGS_TOP_OF_KERNEL", offsetof(boot_args *, topOfKernelData));
163 DECLARE("BOOT_ARGS_DEVICETREEP", offsetof(boot_args *, deviceTreeP));
169 offsetof(lck_grp_t *,
173 offsetof(lck_grp_t *,
181 DECLARE("TH_RECOVER", offsetof(thread_t, recover));
182 DECLARE("TH_CONTINUATION", offsetof(thread_t, continuation));
183 DECLARE("TH_KERNEL_STACK", offsetof(thread_t, kernel_stack));
184 DECLARE("TH_MUTEX_COUNT", offsetof(thread_t, mutex_count));
186 offsetof(thread_t, was_promoted_on_wakeup));
188 DECLARE("TH_SYSCALLS_MACH", offsetof(thread_t, syscalls_mach));
189 DECLARE("TH_SYSCALLS_UNIX", offsetof(thread_t, syscalls_unix));
191 DECLARE("TASK_VTIMERS", offsetof(struct task *, vtimers));
196 DECLARE("MACHINE_THREAD", offsetof(thread_t, machine));
198 offsetof(thread_t, machine.preempt_count));
199 DECLARE("MACHINE_THREAD_CPU_DATA", offsetof(thread_t, machine.cpu_data));
201 offsetof(thread_t, machine.cthread_self));
203 DECLARE("CPU_PENDING_AST", offsetof(cpu_data_t *, cpu_pending_ast));
204 DECLARE("CPU_PREEMPT_COUNT", offsetof(cpu_data_t *, cpu_preemption_level));
206 DECLARE("CPU_FLEH_RESET", offsetof(cpu_data_t *, fleh_reset));
207 DECLARE("CPU_FLEH_UNDEF", offsetof(cpu_data_t *, fleh_undef));
208 DECLARE("CPU_FLEH_SWI", offsetof(cpu_data_t *, fleh_swi));
209 DECLARE("CPU_FLEH_PREFETCH", offsetof(cpu_data_t *, fleh_prefabt));
210 DECLARE("CPU_FLEH_DATAABORT", offsetof(cpu_data_t *, fleh_dataabt));
211 DECLARE("CPU_FLEH_DATAEXC", offsetof(cpu_data_t *, fleh_prefabt));
212 DECLARE("CPU_FLEH_IRQ", offsetof(cpu_data_t *, fleh_irq));
214 DECLARE("CPU_PMAP", offsetof(cpu_data_t *, user_pmap));
216 DECLARE("TH_TASK", offsetof(thread_t, task));
217 DECLARE("TH_AST", offsetof(thread_t, ast));
218 DECLARE("TH_MAP", offsetof(thread_t, map));
219 DECLARE("TH_PCB_ISS", offsetof(thread_t, machine.iss));
220 DECLARE("TH_PCB_USS", offsetof(thread_t, machine.uss));
223 DECLARE("TH_COPYIO_STATE", offsetof(thread_t, machine.copyio_state));
227 DECLARE("MAP_PMAP", offsetof(vm_map_t, pmap));
238 DECLARE("CPU_THIS", offsetof(cpu_data_t *, cpu_this));
239 DECLARE("CPU_ACTIVE_THREAD", offsetof(cpu_data_t *, cpu_active_thread));
240 DECLARE("CPU_ACTIVE_STACK", offsetof(cpu_data_t *, cpu_active_stack));
241 DECLARE("CPU_KERNEL_STACK", offsetof(cpu_data_t *, cpu_kernel_stack));
242 DECLARE("CPU_INT_STACK_TOP", offsetof(cpu_data_t *, cpu_int_stack_top));
246 offsetof(cpu_data_t *, cpu_preemption_level));
248 DECLARE("CPU_PROCESSOR", offsetof(cpu_data_t *, cpu_processor));
249 DECLARE("CPU_ONFAULT", offsetof(cpu_data_t *, cpu_onfault));
252 offsetof(cpu_data_t *, cpu_interrupt_level));
262 DECLARE("TIMER_TSTAMP", offsetof(struct timer *, tstamp));