Lines Matching defs:offsetof
102 #undef offsetof
103 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE)0)->MEMBER)
129 DECLARE("MUTEX_PTR", offsetof(lck_mtx_t *, lck_mtx_ptr));
130 DECLARE("MUTEX_STATE", offsetof(lck_mtx_t *, lck_mtx_state));
133 DECLARE("MUTEX_PTR", offsetof(lck_mtx_t *, lck_mtx_ptr));
136 DECLARE("GRP_MTX_STAT_UTIL", offsetof(lck_grp_t *, lck_grp_stat.lck_grp_mtx_stat.lck_grp_mtx_util_cnt));
137 DECLARE("GRP_MTX_STAT_MISS", offsetof(lck_grp_t *, lck_grp_stat.lck_grp_mtx_stat.lck_grp_mtx_miss_cnt));
138 DECLARE("GRP_MTX_STAT_WAIT", offsetof(lck_grp_t *, lck_grp_stat.lck_grp_mtx_stat.lck_grp_mtx_wait_cnt));
141 DECLARE("MTX_ACQ_TSC", offsetof(lck_mtx_ext_t *, lck_mtx_stat));
144 DECLARE("MUTEX_GRP", offsetof(lck_mtx_ext_t *, lck_mtx_grp));
147 DECLARE("BOOT_ARGS_VIRTBASE", offsetof(boot_args*, virtBase));
148 DECLARE("BOOT_ARGS_PHYSBASE", offsetof(boot_args*, physBase));
149 DECLARE("BOOT_ARGS_MEMSIZE", offsetof(boot_args*, memSize));
150 DECLARE("BOOT_ARGS_TOP_OF_KERNEL", offsetof(boot_args*, topOfKernelData));
151 DECLARE("BOOT_ARGS_DEVICETREEP", offsetof(boot_args*, deviceTreeP));
156 DECLARE("GRP_MTX_STAT_DIRECT_WAIT", offsetof(lck_grp_t *, lck_grp_stat.lck_grp_mtx_stat.lck_grp_mtx_held_cnt));
158 DECLARE("GRP_MTX_STAT_HELD_MAX", offsetof(lck_grp_t *, lck_grp_stat.lck_grp_mtx_stat.lck_grp_mtx_held_max));
163 DECLARE("TH_RECOVER", offsetof(thread_t, recover));
164 DECLARE("TH_CONTINUATION", offsetof(thread_t, continuation));
165 DECLARE("TH_KERNEL_STACK", offsetof(thread_t, kernel_stack));
166 DECLARE("TH_MUTEX_COUNT", offsetof(thread_t, mutex_count));
167 DECLARE("TH_WAS_PROMOTED_ON_WAKEUP", offsetof(thread_t, was_promoted_on_wakeup));
169 DECLARE("TH_SYSCALLS_MACH", offsetof(thread_t, syscalls_mach));
170 DECLARE("TH_SYSCALLS_UNIX", offsetof(thread_t, syscalls_unix));
172 DECLARE("TASK_VTIMERS", offsetof(struct task *, vtimers));
175 DECLARE("MACHINE_THREAD", offsetof(thread_t, machine));
176 DECLARE("MACHINE_THREAD_PREEMPT_COUNT", offsetof(thread_t, machine.preempt_count));
177 DECLARE("MACHINE_THREAD_CPU_DATA", offsetof(thread_t, machine.cpu_data));
178 DECLARE("MACHINE_THREAD_CTHREAD_SELF", offsetof(thread_t, machine.cthread_self));
180 DECLARE("CPU_PENDING_AST", offsetof(cpu_data_t*, cpu_pending_ast));
181 DECLARE("CPU_PREEMPT_COUNT", offsetof(cpu_data_t*, cpu_preemption_level));
183 DECLARE("CPU_PMAP", offsetof(cpu_data_t*, user_pmap));
185 DECLARE("TH_TASK", offsetof(thread_t, task));
186 DECLARE("TH_AST", offsetof(thread_t, ast));
187 DECLARE("TH_MAP", offsetof(thread_t, map));
188 DECLARE("TH_PCB_ISS", offsetof(thread_t, machine.iss));
189 DECLARE("TH_PCB_USS", offsetof(thread_t, machine.uss));
193 DECLARE("TH_COPYIO_STATE", offsetof(thread_t, machine.copyio_state));
197 DECLARE("MAP_PMAP", offsetof(vm_map_t, pmap));
209 offsetof(cpu_data_t *, cpu_this));
211 offsetof(cpu_data_t *, cpu_active_thread));
213 offsetof(cpu_data_t *, cpu_active_stack));
215 offsetof(cpu_data_t *, cpu_kernel_stack));
217 offsetof(cpu_data_t *, cpu_int_stack_top));
221 offsetof(cpu_data_t *, cpu_preemption_level));
224 offsetof(cpu_data_t *,cpu_processor));
226 offsetof(cpu_data_t *,cpu_onfault));
235 offsetof(struct timer *, tstamp));