Home
last modified time | relevance | path

Searched refs:offsetof (Results 1 – 25 of 1165) sorted by relevance

12345678910>>...47

/netbsd-src/external/bsd/ntp/dist/ntpdc/
H A Dlayout.std2 offsetof(u32) = 0
3 offsetof(data) = 0
6 offsetof(rm_vn_mode) = 0
7 offsetof(auth_seq) = 1
8 offsetof(implementation) = 2
9 offsetof(request) = 3
10 offsetof(err_nitems) = 4
11 offsetof(mbz_itemsize) = 6
12 offsetof(u) = 8
13 offsetof(tstamp) = 184
[all …]
/netbsd-src/sys/arch/powerpc/powerpc/
H A Dgenassym.cf73 define FRAME_TF offsetof(struct ktrapframe, ktf_tf)
74 define FRAME_R0 offsetof(struct ktrapframe, ktf_tf.tf_fixreg[0])
75 define FRAME_R1 offsetof(struct ktrapframe, ktf_tf.tf_fixreg[1])
76 define FRAME_R2 offsetof(struct ktrapframe, ktf_tf.tf_fixreg[2])
77 define FRAME_R3 offsetof(struct ktrapframe, ktf_tf.tf_fixreg[3])
78 define FRAME_R4 offsetof(struct ktrapframe, ktf_tf.tf_fixreg[4])
79 define FRAME_R5 offsetof(struct ktrapframe, ktf_tf.tf_fixreg[5])
80 define FRAME_R6 offsetof(struct ktrapframe, ktf_tf.tf_fixreg[6])
81 define FRAME_R7 offsetof(struct ktrapframe, ktf_tf.tf_fixreg[7])
82 define FRAME_R8 offsetof(struct ktrapframe, ktf_tf.tf_fixreg[8])
[all …]
/netbsd-src/sys/arch/amd64/amd64/
H A Dgenassym.cf156 define L_PCB offsetof(struct lwp, l_addr)
157 define L_CPU offsetof(struct lwp, l_cpu)
158 define L_FLAG offsetof(struct lwp, l_flag)
159 define L_PROC offsetof(struct lwp, l_proc)
160 define L_RU offsetof(struct lwp, l_ru)
161 define L_NOPREEMPT offsetof(struct lwp, l_nopreempt)
162 define L_DOPREEMPT offsetof(struct lwp, l_dopreempt)
163 define L_MD_REGS offsetof(struct lwp, l_md.md_regs)
164 define L_MD_FLAGS offsetof(struct lwp, l_md.md_flags)
165 define L_MD_ASTPENDING offsetof(struc
[all...]
/netbsd-src/sys/arch/sparc64/sparc64/
H A Dgenassym.cf115 define L_PCB offsetof(struct lwp, l_addr)
116 define L_PROC offsetof(struct lwp, l_proc)
117 define L_TF offsetof(struct lwp, l_md.md_tf)
118 define L_FPSTATE offsetof(struct lwp, l_md.md_fpstate)
121 define P_MD_SYSCALL offsetof(struct proc, p_md.md_syscall)
122 define P_STAT offsetof(struct proc, p_stat)
123 define P_VMSPACE offsetof(struct proc, p_vmspace)
124 define P_PID offsetof(struct proc, p_pid)
125 define P_RASLIST offsetof(struct proc, p_raslist)
128 define VM_PMAP offsetof(struct vmspace, vm_map.pmap)
[all …]
/netbsd-src/sys/arch/i386/i386/
H A Dgenassym.cf165 define L_PCB offsetof(struct lwp, l_addr)
166 define L_CPU offsetof(struct lwp, l_cpu)
167 define L_FLAG offsetof(struct lwp, l_flag)
168 define L_PROC offsetof(struct lwp, l_proc)
169 define L_RU offsetof(struct lwp, l_ru)
170 define L_NOPREEMPT offsetof(struct lwp, l_nopreempt)
171 define L_DOPREEMPT offsetof(struct lwp, l_dopreempt)
172 define L_MD_REGS offsetof(struct lwp, l_md.md_regs)
173 define L_MD_FLAGS offsetof(struct lwp, l_md.md_flags)
174 define L_MD_ASTPENDING offsetof(struct lwp, l_md.md_astpending)
[all …]
/netbsd-src/sys/arch/powerpc/oea/
H A Dgenassym.cf54 define FRAME_DAR offsetof(struct ktrapframe, ktf_tf.tf_dar)
55 define FRAME_DSISR offsetof(struct ktrapframe, ktf_tf.tf_dsisr)
56 define FRAME_VRSAVE offsetof(struct ktrapframe, ktf_tf.tf_vrsave)
57 define FRAME_MQ offsetof(struct ktrapframe, ktf_tf.tf_mq)
60 define PM_STEG offsetof(struct pmap, pm_steg_table)
64 define PM_SR offsetof(struct pmap, pm_sr[0])
65 define PM_USRSR offsetof(struct pmap, pm_sr[USER_SR])
66 define PM_KERNELSR offsetof(struct pmap, pm_sr[KERNEL_SR])
69 define CI_BATTABLE offsetof(struct cpu_info, ci_battable)
70 define CI_TEMPSAVE offsetof(struct cpu_info, ci_savearea[CI_SAVETEMP])
[all …]
/netbsd-src/sys/arch/aarch64/aarch64/
H A Dgenassym.cf79 #define PV_PA offsetof(pv_addr_t, pv_pa)
150 define L_PCB offsetof(struct lwp, l_addr)
151 define L_CPU offsetof(struct lwp, l_cpu)
152 define L_FLAG offsetof(struct lwp, l_flag)
153 define L_PROC offsetof(struct lwp, l_proc)
154 define L_PRIVATE offsetof(struct lwp, l_private)
155 define L_MD_FLAGS offsetof(struct lwp, l_md.md_flags)
156 define L_MD_UTF offsetof(struct lwp, l_md.md_utf)
157 define L_MD_CPACR offsetof(struct lwp, l_md.md_cpacr)
158 define L_MD_ONFAULT offsetof(struct lwp, l_md.md_onfault)
[all …]
/netbsd-src/sys/arch/sparc/sparc/
H A Dgenassym.cf109 define L_PCB offsetof(struct lwp, l_addr)
110 define L_PROC offsetof(struct lwp, l_proc)
111 define L_CPU offsetof(struct lwp, l_cpu)
112 define L_TF offsetof(struct lwp, l_md.md_tf)
115 define P_VMSPACE offsetof(struct proc, p_vmspace)
116 define P_RASLIST offsetof(struct proc, p_raslist)
117 define P_MD_SYSCALL offsetof(struct proc, p_md.md_syscall)
120 define VM_PMAP offsetof(struct vmspace, vm_map.pmap)
121 define PMAP_CTX offsetof(struct pmap, pm_ctx)
122 define PMAP_CTXNUM offsetof(struct pmap, pm_ctxnum)
[all …]
/netbsd-src/sys/arch/mips/mips/
H A Dgenassym.cf139 define L_CPU offsetof(struct lwp, l_cpu)
140 define L_PCB offsetof(struct lwp, l_addr)
141 define L_PRIVATE offsetof(struct lwp, l_private)
142 define L_PROC offsetof(struct lwp, l_proc)
144 define L_MD_UTF offsetof(struct lwp, l_md.md_utf)
145 define L_MD_UPTE_0 offsetof(struct lwp, l_md.md_upte[0])
146 define L_MD_UPTE_1 offsetof(struct lwp, l_md.md_upte[1])
147 define L_MD_ASTPENDING offsetof(struct lwp, l_md.md_astpending)
150 define P_RASLIST offsetof(struct proc, p_raslist)
151 define P_MD_SYSCALL offsetof(struct proc, p_md.md_syscall)
[all …]
/netbsd-src/sys/arch/riscv/riscv/
H A Dgenassym.cf95 define TF_RA offsetof(struct trapframe, tf_reg[_X_RA])
96 define TF_S0 offsetof(struct trapframe, tf_reg[_X_S0])
97 define TF_S1 offsetof(struct trapframe, tf_reg[_X_S1])
98 define TF_S2 offsetof(struct trapframe, tf_reg[_X_S2])
99 define TF_S3 offsetof(struct trapframe, tf_reg[_X_S3])
100 define TF_S4 offsetof(struct trapframe, tf_reg[_X_S4])
101 define TF_S5 offsetof(struct trapframe, tf_reg[_X_S5])
102 define TF_S6 offsetof(struct trapframe, tf_reg[_X_S6])
103 define TF_S7 offsetof(struct trapframe, tf_reg[_X_S7])
104 define TF_S8 offsetof(struct trapframe, tf_reg[_X_S8])
[all …]
H A Ddb_machdep.c58 { "ra", (void *)offsetof(struct trapframe, tf_ra), db_rw_ddbreg, NULL },
59 { "sp", (void *)offsetof(struct trapframe, tf_sp), db_rw_ddbreg, NULL },
60 { "gp", (void *)offsetof(struct trapframe, tf_gp), db_rw_ddbreg, NULL },
61 { "tp", (void *)offsetof(struct trapframe, tf_tp), db_rw_ddbreg, NULL },
62 { "s0", (void *)offsetof(struct trapframe, tf_s0), db_rw_ddbreg, NULL },
63 { "s1", (void *)offsetof(struct trapframe, tf_s1), db_rw_ddbreg, NULL },
64 { "s2", (void *)offsetof(struct trapframe, tf_s2), db_rw_ddbreg, NULL },
65 { "s3", (void *)offsetof(struct trapframe, tf_s3), db_rw_ddbreg, NULL },
66 { "s4", (void *)offsetof(struct trapframe, tf_s4), db_rw_ddbreg, NULL },
67 { "s5", (void *)offsetof(struc
[all...]
/netbsd-src/sys/arch/sh3/sh3/
H A Dgenassym.cf38 define CI_IDEPTH offsetof(struct cpu_info, ci_idepth)
39 define CI_NINTR offsetof(struct cpu_info, ci_data.cpu_nintr)
42 define TF_EXPEVT offsetof(struct trapframe, tf_expevt)
43 define TF_UBC offsetof(struct trapframe, tf_ubc)
44 define TF_SPC offsetof(struct trapframe, tf_spc)
45 define TF_SSR offsetof(struct trapframe, tf_ssr)
46 define TF_GBR offsetof(struct trapframe, tf_gbr)
47 define TF_MACL offsetof(struct trapframe, tf_macl)
48 define TF_MACH offsetof(struct trapframe, tf_mach)
49 define TF_PR offsetof(struct trapframe, tf_pr)
[all …]
/netbsd-src/sys/arch/arm/arm32/
H A Dgenassym.cf169 define L_PCB offsetof(struct lwp, l_addr)
170 define L_CPU offsetof(struct lwp, l_cpu)
171 define L_PROC offsetof(struct lwp, l_proc)
172 define L_PRIVATE offsetof(struct lwp, l_private)
173 define L_FLAG offsetof(struct lwp, l_flag)
174 define L_MD_ASTPENDING offsetof(struct lwp, l_md.md_astpending)
175 define L_MD_FLAGS offsetof(struct lwp, l_md.md_flags)
176 define L_MD_TF offsetof(struct lwp, l_md.md_tf)
181 define P_RASLIST offsetof(struct proc, p_raslist)
183 define PCB_R8 offsetof(struct pcb, pcb_r8)
[all …]
/netbsd-src/sys/dev/arcbios/
H A Dgenassym.cf35 define SPB_FirmwareVector offsetof(struct arcbios_spb, FirmwareVector)
37 define AFV_Load offsetof(struct arcbios_fv, Load)
38 define AFV_Invoke offsetof(struct arcbios_fv, Invoke)
39 define AFV_Execute offsetof(struct arcbios_fv, Execute)
40 define AFV_Halt offsetof(struct arcbios_fv, Halt)
41 define AFV_PowerDown offsetof(struct arcbios_fv, PowerDown)
42 define AFV_Restart offsetof(struct arcbios_fv, Restart)
43 define AFV_Reboot offsetof(struct arcbios_fv, Reboot)
44 define AFV_EnterInteractiveMode offsetof(struct arcbios_fv, EnterInteractiveMode)
45 define AFV_ReturnFromMain offsetof(struct arcbios_fv, ReturnFromMain)
[all …]
/netbsd-src/lib/libc/arch/hppa/
H A Dgenassym.cf75 define _UC_GREGS offsetof(ucontext_t, uc_mcontext.__gregs[0])
76 define _UC_GREGS_R1 offsetof(ucontext_t, uc_mcontext.__gregs[1])
77 define _UC_GREGS_R2 offsetof(ucontext_t, uc_mcontext.__gregs[2])
78 define _UC_GREGS_R3 offsetof(ucontext_t, uc_mcontext.__gregs[3])
79 define _UC_GREGS_R4 offsetof(ucontext_t, uc_mcontext.__gregs[4])
80 define _UC_GREGS_R5 offsetof(ucontext_t, uc_mcontext.__gregs[5])
81 define _UC_GREGS_R6 offsetof(ucontext_t, uc_mcontext.__gregs[6])
82 define _UC_GREGS_R7 offsetof(ucontext_t, uc_mcontext.__gregs[7])
83 define _UC_GREGS_R8 offsetof(ucontext_t, uc_mcontext.__gregs[8])
84 define _UC_GREGS_R9 offsetof(ucontext_t, uc_mcontext.__gregs[9])
[all …]
/netbsd-src/lib/libc/arch/mips/
H A Dgenassym.cf39 define _UC_GREGS_V0 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_V0])
40 define _UC_GREGS_GP offsetof(ucontext_t, uc_mcontext.__gregs[_REG_GP])
41 define _UC_GREGS_SP offsetof(ucontext_t, uc_mcontext.__gregs[_REG_SP])
42 define _UC_GREGS_EPC offsetof(ucontext_t, uc_mcontext.__gregs[_REG_EPC])
43 define _UC_GREGS offsetof(ucontext_t, uc_mcontext.__gregs[0])
44 define _UC_LINK offsetof(ucontext_t, uc_link)
83 define _SC_REGS offsetof(struct sigcontext, sc_regs[0])
84 define _SC_REGS_V0 offsetof(struct sigcontext, sc_regs[_R_V0])
85 define _SC_REGS_S0 offsetof(struct sigcontext, sc_regs[_R_S0])
86 define _SC_REGS_S1 offsetof(struct sigcontext, sc_regs[_R_S1])
[all …]
/netbsd-src/sys/arch/vax/vax/
H A Dgenassym.cf49 define L_PCB offsetof(struct lwp, l_addr)
50 define L_CPU offsetof(struct lwp, l_cpu)
51 define L_PROC offsetof(struct lwp, l_proc)
52 define L_PRIVATE offsetof(struct lwp, l_private)
54 define P_VMSPACE offsetof(struct proc, p_vmspace)
55 define P_MD_SYSCALL offsetof(struct proc, p_md.md_syscall)
57 define P0BR offsetof(struct pcb, P0BR)
58 define P0LR offsetof(struct pcb, P0LR)
59 define P1BR offsetof(struct pcb, P1BR)
60 define P1LR offsetof(struct pcb, P1LR)
[all …]
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dschema_prep.c338 0, 0, offsetof(struct slap_internal_schema, si_oc_top) },
344 offsetof(struct slap_internal_schema, si_oc_extensibleObject) },
350 offsetof(struct slap_internal_schema, si_oc_alias) },
355 offsetof(struct slap_internal_schema, si_oc_referral) },
361 offsetof(struct slap_internal_schema, si_oc_rootdse) },
367 offsetof(struct slap_internal_schema, si_oc_subentry) },
375 offsetof(struct slap_internal_schema, si_oc_subschema) },
383 offsetof( struct slap_internal_schema,
392 offsetof(struct slap_internal_schema, si_oc_dynamicObject) },
399 offsetof(struct slap_internal_schema, si_oc_glue) },
[all …]
/netbsd-src/lib/libc/arch/riscv/
H A Dgenassym.cf40 define UC_GREGS_RA offsetof(ucontext_t, uc_mcontext.__gregs[_REG_RA])
41 define UC_GREGS_SP offsetof(ucontext_t, uc_mcontext.__gregs[_REG_SP])
42 define UC_GREGS_GP offsetof(ucontext_t, uc_mcontext.__gregs[_REG_GP])
43 define UC_GREGS_TP offsetof(ucontext_t, uc_mcontext.__gregs[_REG_TP])
44 define UC_GREGS_T0 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_T0])
45 define UC_GREGS_T1 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_T1])
46 define UC_GREGS_T2 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_T2])
47 define UC_GREGS_S0 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_S0])
48 define UC_GREGS_S1 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_S1])
49 define UC_GREGS_A0 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_A0])
[all …]
/netbsd-src/sys/arch/i386/include/
H A Dreg.h54 #define tES (offsetof(struct trapframe, tf_es) / sizeof (int))
55 #define tDS (offsetof(struct trapframe, tf_ds) / sizeof (int))
56 #define tEDI (offsetof(struct trapframe, tf_edi) / sizeof (int))
57 #define tESI (offsetof(struct trapframe, tf_esi) / sizeof (int))
58 #define tEBP (offsetof(struct trapframe, tf_ebp) / sizeof (int))
59 #define tEBX (offsetof(struct trapframe, tf_ebx) / sizeof (int))
60 #define tEDX (offsetof(struct trapframe, tf_edx) / sizeof (int))
61 #define tECX (offsetof(struct trapframe, tf_ecx) / sizeof (int))
62 #define tEAX (offsetof(struct trapframe, tf_eax) / sizeof (int))
64 #define tEIP (offsetof(struct trapframe, tf_eip) / sizeof (int))
[all …]
/netbsd-src/lib/libc/arch/vax/
H A Dgenassym.cf37 define UC_FLAGS offsetof(ucontext_t, uc_flags)
38 define UC_LINK offsetof(ucontext_t, uc_link)
39 define UC_STACK offsetof(ucontext_t, uc_stack)
40 define UC_SIGMASK offsetof(ucontext_t, uc_sigmask)
41 define UC_GREGS offsetof(ucontext_t, uc_mcontext.__gregs)
66 define SS_SP offsetof(stack_t, ss_sp)
67 define SS_SIZE offsetof(stack_t, ss_size)
68 define SS_FLAGS offsetof(stack_t, ss_flags)
72 define SC13_ONSTACK offsetof(struct sigcontext13, sc_onstack)
73 define SC13_MASK offsetof(struct sigcontext13, sc_mask)
[all …]
/netbsd-src/lib/libc/arch/x86_64/
H A Dgenassym.cf30 define UC_GREGS_RAX offsetof(ucontext_t, uc_mcontext.__gregs[_REG_RAX])
31 define UC_GREGS_RDX offsetof(ucontext_t, uc_mcontext.__gregs[_REG_RDX])
32 define UC_GREGS_RCX offsetof(ucontext_t, uc_mcontext.__gregs[_REG_RCX])
33 define UC_GREGS_RBX offsetof(ucontext_t, uc_mcontext.__gregs[_REG_RBX])
34 define UC_GREGS_RSI offsetof(ucontext_t, uc_mcontext.__gregs[_REG_RSI])
35 define UC_GREGS_RDI offsetof(ucontext_t, uc_mcontext.__gregs[_REG_RDI])
36 define UC_GREGS_RBP offsetof(ucontext_t, uc_mcontext.__gregs[_REG_RBP])
37 define UC_GREGS_RSP offsetof(ucontext_t, uc_mcontext.__gregs[_REG_RSP])
38 define UC_GREGS_R8 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_R8])
39 define UC_GREGS_R9 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_R9])
[all …]
/netbsd-src/sys/arch/amiga/amiga/
H A Dgenassym.cf97 define L_PCB offsetof(struct lwp, l_addr)
98 define L_PROC offsetof(struct lwp, l_proc)
99 define L_MD_REGS offsetof(struct lwp, l_md.md_regs)
100 define L_MD_FLAGS offsetof(struct lwp, l_md.md_flags)
101 define P_FLAG offsetof(struct proc, p_flag)
102 define P_RASLIST offsetof(struct proc, p_raslist)
103 define P_VMSPACE offsetof(struct proc, p_vmspace)
106 define CI_NINTR offsetof(struct cpu_info, ci_data.cpu_nintr)
153 define PCB_FLAGS offsetof(struct pcb, pcb_flags)
154 define PCB_PS offsetof(struct pcb, pcb_ps)
[all …]
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dsimple-object-mach-o.c314 filetype = (*fetch_32) (b + offsetof (struct mach_o_header_32, filetype)); in simple_object_mach_o_match()
326 omr->cputype = (*fetch_32) (b + offsetof (struct mach_o_header_32, cputype)); in simple_object_mach_o_match()
328 + offsetof (struct mach_o_header_32, in simple_object_mach_o_match()
330 omr->ncmds = (*fetch_32) (b + offsetof (struct mach_o_header_32, ncmds)); in simple_object_mach_o_match()
331 omr->flags = (*fetch_32) (b + offsetof (struct mach_o_header_32, flags)); in simple_object_mach_o_match()
336 + offsetof (struct mach_o_header_64, in simple_object_mach_o_match()
366 + offsetof (struct mach_o_section_32, offset)); in simple_object_mach_o_section_info()
368 + offsetof (struct mach_o_section_32, size)); in simple_object_mach_o_section_info()
373 + offsetof (struct mach_o_section_64, offset)); in simple_object_mach_o_section_info()
375 + offsetof (struct mach_o_section_64, size)); in simple_object_mach_o_section_info()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dsimple-object-mach-o.c314 filetype = (*fetch_32) (b + offsetof (struct mach_o_header_32, filetype)); in simple_object_mach_o_match()
326 omr->cputype = (*fetch_32) (b + offsetof (struct mach_o_header_32, cputype)); in simple_object_mach_o_match()
328 + offsetof (struct mach_o_header_32, in simple_object_mach_o_match()
330 omr->ncmds = (*fetch_32) (b + offsetof (struct mach_o_header_32, ncmds)); in simple_object_mach_o_match()
331 omr->flags = (*fetch_32) (b + offsetof (struct mach_o_header_32, flags)); in simple_object_mach_o_match()
336 + offsetof (struct mach_o_header_64, in simple_object_mach_o_match()
366 + offsetof (struct mach_o_section_32, offset)); in simple_object_mach_o_section_info()
368 + offsetof (struct mach_o_section_32, size)); in simple_object_mach_o_section_info()
373 + offsetof (struct mach_o_section_64, offset)); in simple_object_mach_o_section_info()
375 + offsetof (struct mach_o_section_64, size)); in simple_object_mach_o_section_info()
[all …]

12345678910>>...47