| /freebsd-12.1/contrib/ntp/ntpdc/ |
| H A D | layout.std | 2 offsetof(u32) = 0 3 offsetof(data) = 0 7 offsetof(auth_seq) = 1 9 offsetof(request) = 3 12 offsetof(u) = 8 15 offsetof(mac) = 196 19 offsetof(keyid) = 8 20 offsetof(mac) = 12 23 offsetof(data) = 0 24 offsetof(u32) = 0 [all …]
|
| /freebsd-12.1/usr.sbin/ntp/ntpdc/ |
| H A D | nl.c | 5 (int) offsetof(union req_data_u_tag, u32)); 7 (int) offsetof(union req_data_u_tag, data)); 13 (int) offsetof(struct req_pkt, rm_vn_mode)); 15 (int) offsetof(struct req_pkt, auth_seq)); 19 (int) offsetof(struct req_pkt, request)); 25 (int) offsetof(struct req_pkt, u)); 27 (int) offsetof(struct req_pkt, tstamp)); 29 (int) offsetof(struct req_pkt, keyid)); 31 (int) offsetof(struct req_pkt, mac)); 41 (int) offsetof(struct req_pkt_tail, mac)); [all …]
|
| /freebsd-12.1/sys/amd64/amd64/ |
| H A D | genassym.c | 77 ASSYM(P_MD, offsetof(struct proc, p_md)); 78 ASSYM(MD_LDT, offsetof(struct mdproc, md_ldt)); 89 ASSYM(TD_MD, offsetof(struct thread, td_md)); 120 ASSYM(PCB_R15, offsetof(struct pcb, pcb_r15)); 121 ASSYM(PCB_R14, offsetof(struct pcb, pcb_r14)); 122 ASSYM(PCB_R13, offsetof(struct pcb, pcb_r13)); 123 ASSYM(PCB_R12, offsetof(struct pcb, pcb_r12)); 124 ASSYM(PCB_RBP, offsetof(struct pcb, pcb_rbp)); 125 ASSYM(PCB_RSP, offsetof(struct pcb, pcb_rsp)); 126 ASSYM(PCB_RBX, offsetof(struct pcb, pcb_rbx)); [all …]
|
| /freebsd-12.1/sys/sparc64/sparc64/ |
| H A D | genassym.c | 110 ASSYM(TTE_VPN, offsetof(struct tte, tte_vpn)); 142 ASSYM(PC_MID, offsetof(struct pcpu, pc_mid)); 176 ASSYM(P_COMM, offsetof(struct proc, p_comm)); 177 ASSYM(P_MD, offsetof(struct proc, p_md)); 178 ASSYM(P_PID, offsetof(struct proc, p_pid)); 187 ASSYM(TD_MD, offsetof(struct thread, td_md)); 191 ASSYM(PCB_RW, offsetof(struct pcb, pcb_rw)); 192 ASSYM(PCB_KFP, offsetof(struct pcb, pcb_kfp)); 197 ASSYM(PCB_PC, offsetof(struct pcb, pcb_pc)); 198 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); [all …]
|
| /freebsd-12.1/sys/mips/mips/ |
| H A D | genassym.c | 68 #ifndef offsetof 69 #define offsetof(t,m) (int)((&((t *)0L)->m)) macro 72 ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); 74 ASSYM(TD_KSTACK, offsetof(struct thread, td_kstack)); 75 ASSYM(TD_FLAGS, offsetof(struct thread, td_flags)); 76 ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); 86 ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb)); 87 ASSYM(PC_SEGBASE, offsetof(struct pcpu, pc_segbase)); 90 ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid)); 94 ASSYM(SIGF_UC, offsetof(struct sigframe, sf_uc)); [all …]
|
| /freebsd-12.1/sys/i386/i386/ |
| H A D | genassym.c | 92 ASSYM(TD_MD, offsetof(struct thread, td_md)); 96 ASSYM(P_MD, offsetof(struct proc, p_md)); 119 ASSYM(PCB_CR0, offsetof(struct pcb, pcb_cr0)); 120 ASSYM(PCB_CR2, offsetof(struct pcb, pcb_cr2)); 121 ASSYM(PCB_CR3, offsetof(struct pcb, pcb_cr3)); 131 ASSYM(PCB_DS, offsetof(struct pcb, pcb_ds)); 132 ASSYM(PCB_ES, offsetof(struct pcb, pcb_es)); 133 ASSYM(PCB_FS, offsetof(struct pcb, pcb_fs)); 134 ASSYM(PCB_GS, offsetof(struct pcb, pcb_gs)); 135 ASSYM(PCB_SS, offsetof(struct pcb, pcb_ss)); [all …]
|
| /freebsd-12.1/sys/powerpc/powerpc/ |
| H A D | genassym.c | 107 ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock)); 120 ASSYM(PM_SR, offsetof(struct pmap, pm_sr)); 125 ASSYM(PM_PP2D, offsetof(struct pmap, pm_pp2d)); 127 ASSYM(PM_PDIR, offsetof(struct pmap, pm_pdir)); 178 ASSYM(FRAME_LR, offsetof(struct trapframe, lr)); 197 ASSYM(PCB_CR, offsetof(struct pcb, pcb_cr)); 199 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); 200 ASSYM(PCB_TOC, offsetof(struct pcb, pcb_toc)); 201 ASSYM(PCB_LR, offsetof(struct pcb, pcb_lr)); 215 ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); [all …]
|
| /freebsd-12.1/sys/arm/arm/ |
| H A D | genassym.c | 70 ASSYM(PCB_DACR, offsetof(struct pcb, pcb_dacr)); 95 ASSYM(M_LEN, offsetof(struct mbuf, m_len)); 96 ASSYM(M_DATA, offsetof(struct mbuf, m_data)); 97 ASSYM(M_NEXT, offsetof(struct mbuf, m_next)); 98 ASSYM(IP_SRC, offsetof(struct ip, ip_src)); 99 ASSYM(IP_DST, offsetof(struct ip, ip_dst)); 108 ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); 111 ASSYM(TD_MD, offsetof(struct thread, td_md)); 114 ASSYM(MD_TP, offsetof(struct mdthread, md_tp)); 123 ASSYM(P_PID, offsetof(struct proc, p_pid)); [all …]
|
| /freebsd-12.1/sys/contrib/cloudabi/ |
| H A D | cloudabi64_types.h | 40 _Static_assert(offsetof(cloudabi64_auxv_t, a_type) == 0, "Incorrect layout"); 41 _Static_assert(offsetof(cloudabi64_auxv_t, a_val) == 8, "Incorrect layout"); 42 _Static_assert(offsetof(cloudabi64_auxv_t, a_ptr) == 8, "Incorrect layout"); 50 _Static_assert(offsetof(cloudabi64_ciovec_t, buf) == 0, "Incorrect layout"); 51 _Static_assert(offsetof(cloudabi64_ciovec_t, buf_len) == 8, "Incorrect layout"); 59 _Static_assert(offsetof(cloudabi64_iovec_t, buf) == 0, "Incorrect layout"); 60 _Static_assert(offsetof(cloudabi64_iovec_t, buf_len) == 8, "Incorrect layout"); 73 _Static_assert(offsetof(cloudabi64_recv_in_t, ri_data) == 0, "Incorrect layout"); 75 _Static_assert(offsetof(cloudabi64_recv_in_t, ri_fds) == 16, "Incorrect layout"); 101 _Static_assert(offsetof(cloudabi64_send_in_t, si_data) == 0, "Incorrect layout"); [all …]
|
| H A D | cloudabi32_types.h | 40 _Static_assert(offsetof(cloudabi32_auxv_t, a_type) == 0, "Incorrect layout"); 41 _Static_assert(offsetof(cloudabi32_auxv_t, a_val) == 4, "Incorrect layout"); 42 _Static_assert(offsetof(cloudabi32_auxv_t, a_ptr) == 4, "Incorrect layout"); 50 _Static_assert(offsetof(cloudabi32_ciovec_t, buf) == 0, "Incorrect layout"); 51 _Static_assert(offsetof(cloudabi32_ciovec_t, buf_len) == 4, "Incorrect layout"); 59 _Static_assert(offsetof(cloudabi32_iovec_t, buf) == 0, "Incorrect layout"); 60 _Static_assert(offsetof(cloudabi32_iovec_t, buf_len) == 4, "Incorrect layout"); 73 _Static_assert(offsetof(cloudabi32_recv_in_t, ri_data) == 0, "Incorrect layout"); 75 _Static_assert(offsetof(cloudabi32_recv_in_t, ri_fds) == 8, "Incorrect layout"); 103 _Static_assert(offsetof(cloudabi32_send_in_t, si_fds) == 8, "Incorrect layout"); [all …]
|
| H A D | cloudabi_types_common.h | 349 _Static_assert(offsetof(cloudabi_dirent_t, d_next) == 0, "Incorrect layout"); 350 _Static_assert(offsetof(cloudabi_dirent_t, d_ino) == 8, "Incorrect layout"); 352 _Static_assert(offsetof(cloudabi_dirent_t, d_type) == 20, "Incorrect layout"); 373 _Static_assert(offsetof(cloudabi_event_t, userdata) == 0, "Incorrect layout"); 374 _Static_assert(offsetof(cloudabi_event_t, error) == 8, "Incorrect layout"); 375 _Static_assert(offsetof(cloudabi_event_t, type) == 10, "Incorrect layout"); 392 _Static_assert(offsetof(cloudabi_fdstat_t, fs_flags) == 2, "Incorrect layout"); 408 _Static_assert(offsetof(cloudabi_filestat_t, st_dev) == 0, "Incorrect layout"); 409 _Static_assert(offsetof(cloudabi_filestat_t, st_ino) == 8, "Incorrect layout"); 423 _Static_assert(offsetof(cloudabi_lookup_t, fd) == 0, "Incorrect layout"); [all …]
|
| /freebsd-12.1/sys/riscv/riscv/ |
| H A D | genassym.c | 67 ASSYM(PCB_RA, offsetof(struct pcb, pcb_ra)); 68 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); 69 ASSYM(PCB_GP, offsetof(struct pcb, pcb_gp)); 70 ASSYM(PCB_TP, offsetof(struct pcb, pcb_tp)); 71 ASSYM(PCB_T, offsetof(struct pcb, pcb_t)); 72 ASSYM(PCB_S, offsetof(struct pcb, pcb_s)); 73 ASSYM(PCB_A, offsetof(struct pcb, pcb_a)); 74 ASSYM(PCB_X, offsetof(struct pcb, pcb_x)); 86 ASSYM(TD_MD, offsetof(struct thread, td_md)); 94 ASSYM(TF_T, offsetof(struct trapframe, tf_t)); [all …]
|
| /freebsd-12.1/sys/amd64/vmm/intel/ |
| H A D | vmx_genassym.c | 51 ASSYM(VMXCTX_GUEST_R8, offsetof(struct vmxctx, guest_r8)); 52 ASSYM(VMXCTX_GUEST_R9, offsetof(struct vmxctx, guest_r9)); 64 ASSYM(VMXCTX_HOST_R15, offsetof(struct vmxctx, host_r15)); 65 ASSYM(VMXCTX_HOST_R14, offsetof(struct vmxctx, host_r14)); 66 ASSYM(VMXCTX_HOST_R13, offsetof(struct vmxctx, host_r13)); 73 ASSYM(VMXCTX_PMAP, offsetof(struct vmxctx, pmap)); 75 ASSYM(VMX_EPTGEN, offsetof(struct vmx, eptgen)); 76 ASSYM(VMX_EPTP, offsetof(struct vmx, eptp)); 85 ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid)); 87 ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active)); [all …]
|
| /freebsd-12.1/gnu/usr.bin/gdb/kgdb/ |
| H A D | trgt_mips.c | 112 offsetof(struct trapframe, v0), 113 offsetof(struct trapframe, v1), 114 offsetof(struct trapframe, a0), 115 offsetof(struct trapframe, a1), 116 offsetof(struct trapframe, a2), 117 offsetof(struct trapframe, a3), 119 offsetof(struct trapframe, a4), 120 offsetof(struct trapframe, a5), 121 offsetof(struct trapframe, a6), 122 offsetof(struct trapframe, a7), [all …]
|
| H A D | trgt_i386.c | 111 offsetof(struct i386tss, tss_eax), 112 offsetof(struct i386tss, tss_ecx), 113 offsetof(struct i386tss, tss_edx), 114 offsetof(struct i386tss, tss_ebx), 115 offsetof(struct i386tss, tss_esp), 116 offsetof(struct i386tss, tss_ebp), 121 offsetof(struct i386tss, tss_cs), 122 offsetof(struct i386tss, tss_ss), 123 offsetof(struct i386tss, tss_ds), 124 offsetof(struct i386tss, tss_es), [all …]
|
| H A D | trgt_amd64.c | 94 offsetof(struct trapframe, tf_rax), 95 offsetof(struct trapframe, tf_rbx), 96 offsetof(struct trapframe, tf_rcx), 97 offsetof(struct trapframe, tf_rdx), 98 offsetof(struct trapframe, tf_rsi), 99 offsetof(struct trapframe, tf_rdi), 100 offsetof(struct trapframe, tf_rbp), 102 offsetof(struct trapframe, tf_r8), 103 offsetof(struct trapframe, tf_r9), 112 offsetof(struct trapframe, tf_cs), [all …]
|
| /freebsd-12.1/gnu/usr.bin/gdb/gdbserver/ |
| H A D | fbsd-amd64-low.c | 37 offsetof(struct reg, r_rax), 38 offsetof(struct reg, r_rbx), 39 offsetof(struct reg, r_rcx), 45 offsetof(struct reg, r_r8), 46 offsetof(struct reg, r_r9), 55 offsetof(struct reg, r_cs), 56 offsetof(struct reg, r_ss), 57 offsetof(struct reg, r_ds), 58 offsetof(struct reg, r_es), 59 offsetof(struct reg, r_fs), [all …]
|
| /freebsd-12.1/sys/arm64/arm64/ |
| H A D | genassym.c | 46 ASSYM(PC_SSBD, offsetof(struct pcpu, pc_ssbd)); 51 ASSYM(PCB_REGS, offsetof(struct pcb, pcb_x)); 52 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); 55 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags)); 57 ASSYM(P_MD, offsetof(struct proc, p_md)); 60 ASSYM(SF_UC, offsetof(struct sigframe, sf_uc)); 62 ASSYM(TD_PROC, offsetof(struct thread, td_proc)); 63 ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); 66 ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); 69 ASSYM(TF_SP, offsetof(struct trapframe, tf_sp)); [all …]
|
| /freebsd-12.1/usr.bin/elfdump/ |
| H A D | elfdump.c | 95 offsetof(Elf32_Dyn, d_tag), offsetof(Elf32_Dyn, d_un.d_ptr), 103 offsetof(Elf32_Ehdr, e_phoff), offsetof(Elf32_Ehdr, e_shoff), 109 offsetof(Elf_Note, n_namesz), offsetof(Elf_Note, n_descsz), 112 offsetof(Elf32_Phdr, p_type), offsetof(Elf32_Phdr, p_offset), 123 offsetof(Elf32_Sym, st_name), offsetof(Elf32_Sym, st_value), 124 offsetof(Elf32_Sym, st_size), offsetof(Elf32_Sym, st_info), 127 offsetof(Elf32_Rel, r_offset), offsetof(Elf32_Rel, r_info), 136 offsetof(Elf64_Dyn, d_tag), offsetof(Elf64_Dyn, d_un.d_ptr), 150 offsetof(Elf_Note, n_namesz), offsetof(Elf_Note, n_descsz), 165 offsetof(Elf64_Sym, st_size), offsetof(Elf64_Sym, st_info), [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/offsetof/ |
| H A D | tst.OffsetofArith.d | 49 add = offsetof(record_t, c) + offsetof(record_t, x) + 50 offsetof(record_t, y); 51 sub = offsetof(record_t, y) - offsetof(record_t, x); 52 mul = offsetof(record_t, x) * offsetof(record_t, c); 53 div = offsetof(record_t, y) / offsetof(record_t, x); 55 printf("offsetof(record_t, c) = %d\n", offsetof(record_t, c)); 56 printf("offsetof(record_t, x) = %d\n", offsetof(record_t, x)); 57 printf("offsetof(record_t, y) = %d\n", offsetof(record_t, y)); 68 /(8 != offsetof(record_t, y)) || (4 != offsetof(record_t, x)) || 69 (0 != offsetof(record_t, c)) || (12 != add) || (4 != sub) || (0 != mul)
|
| /freebsd-12.1/sys/amd64/vmm/amd/ |
| H A D | svm_genassym.c | 38 ASSYM(SCTX_RBX, offsetof(struct svm_regctx, sctx_rbx)); 39 ASSYM(SCTX_RCX, offsetof(struct svm_regctx, sctx_rcx)); 40 ASSYM(SCTX_RBP, offsetof(struct svm_regctx, sctx_rbp)); 41 ASSYM(SCTX_RDX, offsetof(struct svm_regctx, sctx_rdx)); 42 ASSYM(SCTX_RDI, offsetof(struct svm_regctx, sctx_rdi)); 43 ASSYM(SCTX_RSI, offsetof(struct svm_regctx, sctx_rsi)); 44 ASSYM(SCTX_R8, offsetof(struct svm_regctx, sctx_r8)); 45 ASSYM(SCTX_R9, offsetof(struct svm_regctx, sctx_r9)); 46 ASSYM(SCTX_R10, offsetof(struct svm_regctx, sctx_r10)); 47 ASSYM(SCTX_R11, offsetof(struct svm_regctx, sctx_r11)); [all …]
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | solib-legacy.c | 48 #ifndef offsetof in legacy_svr4_fetch_link_map_offsets() 60 lmo.r_map_offset = offsetof (struct r_debug, r_map); in legacy_svr4_fetch_link_map_offsets() 65 lmo.l_addr_offset = offsetof (struct link_map, l_addr); in legacy_svr4_fetch_link_map_offsets() 68 lmo.l_next_offset = offsetof (struct link_map, l_next); in legacy_svr4_fetch_link_map_offsets() 71 lmo.l_prev_offset = offsetof (struct link_map, l_prev); in legacy_svr4_fetch_link_map_offsets() 74 lmo.l_name_offset = offsetof (struct link_map, l_name); in legacy_svr4_fetch_link_map_offsets() 80 lmo.l_addr_offset = offsetof (struct link_map, lm_addr); in legacy_svr4_fetch_link_map_offsets() 83 lmo.l_next_offset = offsetof (struct link_map, lm_next); in legacy_svr4_fetch_link_map_offsets() 92 lmo.l_addr_offset = offsetof (struct so_map, som_addr); in legacy_svr4_fetch_link_map_offsets() 95 lmo.l_next_offset = offsetof (struct so_map, som_next); in legacy_svr4_fetch_link_map_offsets() [all …]
|
| /freebsd-12.1/lib/libthr/thread/ |
| H A D | thr_symbols.c | 45 int _thread_off_tcb = offsetof(struct pthread, tcb); 46 int _thread_off_tid = offsetof(struct pthread, tid); 47 int _thread_off_next = offsetof(struct pthread, tle.tqe_next); 48 int _thread_off_attr_flags = offsetof(struct pthread, attr.flags); 49 int _thread_off_linkmap = offsetof(Obj_Entry, linkmap); 50 int _thread_off_tlsindex = offsetof(Obj_Entry, tlsindex); 51 int _thread_off_report_events = offsetof(struct pthread, report_events); 52 int _thread_off_event_mask = offsetof(struct pthread, event_mask); 53 int _thread_off_event_buf = offsetof(struct pthread, event_buf); 55 int _thread_off_key_allocated = offsetof(struct pthread_key, allocated); [all …]
|
| /freebsd-12.1/sys/compat/ia32/ |
| H A D | ia32_genassym.c | 12 ASSYM(IA32_SIGF_HANDLER, offsetof(struct ia32_sigframe, sf_ah)); 13 ASSYM(IA32_SIGF_UC, offsetof(struct ia32_sigframe, sf_uc)); 15 ASSYM(IA32_SIGF_SC, offsetof(struct ia32_sigframe3, sf_siginfo.si_sc)); 17 ASSYM(IA32_UC_GS, offsetof(struct ia32_ucontext, uc_mcontext.mc_gs)); 18 ASSYM(IA32_UC_FS, offsetof(struct ia32_ucontext, uc_mcontext.mc_fs)); 19 ASSYM(IA32_UC_ES, offsetof(struct ia32_ucontext, uc_mcontext.mc_es)); 20 ASSYM(IA32_UC_DS, offsetof(struct ia32_ucontext, uc_mcontext.mc_ds)); 22 ASSYM(IA32_SIGF_UC4, offsetof(struct ia32_sigframe4, sf_uc)); 23 ASSYM(IA32_UC4_GS, offsetof(struct ia32_ucontext4, uc_mcontext.mc_gs)); 24 ASSYM(IA32_UC4_FS, offsetof(struct ia32_ucontext4, uc_mcontext.mc_fs)); [all …]
|
| /freebsd-12.1/sys/dev/cfi/ |
| H A D | cfi_reg.h | 77 #define CFI_QRY_IDENT offsetof(struct cfi_qry, ident) 78 #define CFI_QRY_VEND offsetof(struct cfi_qry, pri_vend) 80 #define CFI_QRY_TTO_WRITE offsetof(struct cfi_qry, tto_byte_write) 81 #define CFI_QRY_TTO_BUFWRITE offsetof(struct cfi_qry, tto_buf_write) 82 #define CFI_QRY_TTO_ERASE offsetof(struct cfi_qry, tto_block_erase) 83 #define CFI_QRY_MTO_WRITE offsetof(struct cfi_qry, mto_byte_write) 85 #define CFI_QRY_MTO_ERASE offsetof(struct cfi_qry, mto_block_erase) 87 #define CFI_QRY_SIZE offsetof(struct cfi_qry, size) 88 #define CFI_QRY_IFACE offsetof(struct cfi_qry, iface) 90 #define CFI_QRY_NREGIONS offsetof(struct cfi_qry, nregions) [all …]
|