| /freebsd-13.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-13.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-13.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)); 122 ASSYM(PCB_R15, offsetof(struct pcb, pcb_r15)); 123 ASSYM(PCB_R14, offsetof(struct pcb, pcb_r14)); 124 ASSYM(PCB_R13, offsetof(struct pcb, pcb_r13)); 125 ASSYM(PCB_R12, offsetof(struct pcb, pcb_r12)); 126 ASSYM(PCB_RBP, offsetof(struct pcb, pcb_rbp)); 127 ASSYM(PCB_RSP, offsetof(struct pcb, pcb_rsp)); 128 ASSYM(PCB_RBX, offsetof(struct pcb, pcb_rbx)); [all …]
|
| /freebsd-13.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)); 73 ASSYM(TD_PROC, offsetof(struct thread, td_proc)); 75 ASSYM(TD_KSTACK, offsetof(struct thread, td_kstack)); 76 ASSYM(TD_FLAGS, offsetof(struct thread, td_flags)); 77 ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); 88 ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb)); 89 ASSYM(PC_SEGBASE, offsetof(struct pcpu, pc_segbase)); 92 ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid)); [all …]
|
| /freebsd-13.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)); 106 ASSYM(PCB_CR0, offsetof(struct pcb, pcb_cr0)); 107 ASSYM(PCB_CR2, offsetof(struct pcb, pcb_cr2)); 108 ASSYM(PCB_CR3, offsetof(struct pcb, pcb_cr3)); 118 ASSYM(PCB_DS, offsetof(struct pcb, pcb_ds)); 119 ASSYM(PCB_ES, offsetof(struct pcb, pcb_es)); 120 ASSYM(PCB_FS, offsetof(struct pcb, pcb_fs)); 121 ASSYM(PCB_GS, offsetof(struct pcb, pcb_gs)); 122 ASSYM(PCB_SS, offsetof(struct pcb, pcb_ss)); [all …]
|
| /freebsd-13.1/sys/powerpc/powerpc/ |
| H A D | genassym.c | 67 ASSYM(PC_FLAGS, offsetof(struct pcpu, pc_flags)); 108 ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock)); 122 ASSYM(PM_SR, offsetof(struct pmap, pm_sr)); 127 ASSYM(PM_ROOT, offsetof(struct pmap, pm_root)); 129 ASSYM(PM_PDIR, offsetof(struct pmap, pm_pdir)); 199 ASSYM(PCB_CR, offsetof(struct pcb, pcb_cr)); 202 ASSYM(PCB_TAR, offsetof(struct pcb, pcb_tar)); 203 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); 204 ASSYM(PCB_TOC, offsetof(struct pcb, pcb_toc)); 205 ASSYM(PCB_LR, offsetof(struct pcb, pcb_lr)); [all …]
|
| /freebsd-13.1/sys/arm/arm/ |
| H A D | genassym.c | 84 ASSYM(M_LEN, offsetof(struct mbuf, m_len)); 85 ASSYM(M_DATA, offsetof(struct mbuf, m_data)); 86 ASSYM(M_NEXT, offsetof(struct mbuf, m_next)); 87 ASSYM(IP_SRC, offsetof(struct ip, ip_src)); 88 ASSYM(IP_DST, offsetof(struct ip, ip_dst)); 90 ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); 93 ASSYM(TD_MD, offsetof(struct thread, td_md)); 97 ASSYM(TF_R0, offsetof(struct trapframe, tf_r0)); 98 ASSYM(TF_R1, offsetof(struct trapframe, tf_r1)); 100 ASSYM(P_PID, offsetof(struct proc, p_pid)); [all …]
|
| /freebsd-13.1/sys/riscv/riscv/ |
| H A D | genassym.c | 70 ASSYM(PCB_RA, offsetof(struct pcb, pcb_ra)); 71 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); 72 ASSYM(PCB_GP, offsetof(struct pcb, pcb_gp)); 73 ASSYM(PCB_TP, offsetof(struct pcb, pcb_tp)); 74 ASSYM(PCB_S, offsetof(struct pcb, pcb_s)); 75 ASSYM(PCB_X, offsetof(struct pcb, pcb_x)); 78 ASSYM(SF_UC, offsetof(struct sigframe, sf_uc)); 87 ASSYM(TD_MD, offsetof(struct thread, td_md)); 95 ASSYM(TF_T, offsetof(struct trapframe, tf_t)); 96 ASSYM(TF_S, offsetof(struct trapframe, tf_s)); [all …]
|
| /freebsd-13.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-13.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)); 67 ASSYM(VMXCTX_HOST_R12, offsetof(struct vmxctx, host_r12)); 68 ASSYM(VMXCTX_HOST_RBP, offsetof(struct vmxctx, host_rbp)); 69 ASSYM(VMXCTX_HOST_RSP, offsetof(struct vmxctx, host_rsp)); 80 ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid)); 82 ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active)); [all …]
|
| /freebsd-13.1/sys/arm64/arm64/ |
| H A D | genassym.c | 57 ASSYM(PC_SSBD, offsetof(struct pcpu, pc_ssbd)); 62 ASSYM(PCB_REGS, offsetof(struct pcb, pcb_x)); 63 ASSYM(PCB_LR, offsetof(struct pcb, pcb_lr)); 64 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); 67 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags)); 69 ASSYM(SF_UC, offsetof(struct sigframe, sf_uc)); 71 ASSYM(TD_PROC, offsetof(struct thread, td_proc)); 72 ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); 75 ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); 79 ASSYM(TF_SP, offsetof(struct trapframe, tf_sp)); [all …]
|
| /freebsd-13.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)); 14 ASSYM(IA32_UC_GS, offsetof(struct ia32_ucontext, uc_mcontext.mc_gs)); 15 ASSYM(IA32_UC_FS, offsetof(struct ia32_ucontext, uc_mcontext.mc_fs)); 16 ASSYM(IA32_UC_ES, offsetof(struct ia32_ucontext, uc_mcontext.mc_es)); 17 ASSYM(IA32_UC_DS, offsetof(struct ia32_ucontext, uc_mcontext.mc_ds)); 18 ASSYM(IA32_UC_EDI, offsetof(struct ia32_ucontext, uc_mcontext.mc_edi)); 19 ASSYM(IA32_UC_ESI, offsetof(struct ia32_ucontext, uc_mcontext.mc_esi)); 26 ASSYM(IA32_UC_CS, offsetof(struct ia32_ucontext, uc_mcontext.mc_cs)); 29 ASSYM(IA32_UC_SS, offsetof(struct ia32_ucontext, uc_mcontext.mc_ss)); [all …]
|
| /freebsd-13.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)
|
| H A D | tst.OffsetofAlias.d | 48 printf("offsetof(record_t, c) = %d\n", offsetof(record_t, c)); 49 printf("offsetof(record_t, x) = %d\n", offsetof(record_t, x)); 50 printf("offsetof(record_t, y) = %d\n", offsetof(record_t, y)); 55 /(8 != offsetof(record_t, y)) || (4 != offsetof(record_t, x)) || 56 (0 != offsetof(record_t, c))/
|
| /freebsd-13.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-13.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-13.1/usr.bin/elfdump/ |
| H A D | elfdump.c | 96 offsetof(Elf32_Dyn, d_tag), offsetof(Elf32_Dyn, d_un.d_ptr), 104 offsetof(Elf32_Ehdr, e_phoff), offsetof(Elf32_Ehdr, e_shoff), 110 offsetof(Elf_Note, n_namesz), offsetof(Elf_Note, n_descsz), 113 offsetof(Elf32_Phdr, p_type), offsetof(Elf32_Phdr, p_offset), 124 offsetof(Elf32_Sym, st_name), offsetof(Elf32_Sym, st_value), 125 offsetof(Elf32_Sym, st_size), offsetof(Elf32_Sym, st_info), 128 offsetof(Elf32_Rel, r_offset), offsetof(Elf32_Rel, r_info), 137 offsetof(Elf64_Dyn, d_tag), offsetof(Elf64_Dyn, d_un.d_ptr), 151 offsetof(Elf_Note, n_namesz), offsetof(Elf_Note, n_descsz), 166 offsetof(Elf64_Sym, st_size), offsetof(Elf64_Sym, st_info), [all …]
|
| /freebsd-13.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 …]
|
| /freebsd-13.1/sys/dev/sym/ |
| H A D | sym_fw2.h | 345 offsetof (struct sym_dsb, smsg), 370 offsetof (struct sym_dsb, cmd), 883 offsetof(struct sym_tcb, head.wval), 885 offsetof(struct sym_tcb, head.sval), 892 offsetof(struct sym_tcb, head.uval), 1251 offsetof (struct sym_hcb, abrt_tbl), 1333 offsetof (struct sym_dsb, smsg_ext), 1554 offsetof (struct sym_dsb, sense), 1853 offsetof(struct sym_hcb, cache), 1858 offsetof(struct sym_hcb, cache), [all …]
|
| /freebsd-13.1/sys/i386/linux/ |
| H A D | linux_genassym.c | 11 ASSYM(LINUX_SIGF_HANDLER, offsetof(struct l_sigframe, sf_handler)); 12 ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc)); 13 ASSYM(LINUX_SC_GS, offsetof(struct l_sigcontext, sc_gs)); 14 ASSYM(LINUX_SC_EFLAGS, offsetof(struct l_sigcontext, sc_eflags)); 15 ASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct l_rt_sigframe, sf_handler)); 16 ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_sc)); 17 ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext)); 18 ASSYM(LINUX_SC_ESP, offsetof(struct l_sigcontext, sc_esp));
|
| /freebsd-13.1/sys/contrib/octeon-sdk/ |
| H A D | octeon-pci-console.c | 155 base_addr = octeon_read_mem64(console_addr + offsetof(octeon_pci_console_t, input_base_addr)); in octeon_pci_console_host_write() 156 rd_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, input_read_index)); in octeon_pci_console_host_write() 157 wr_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, input_write_index)); in octeon_pci_console_host_write() 198 base_addr = octeon_read_mem64(console_addr + offsetof(octeon_pci_console_t, output_base_addr)); in octeon_pci_console_host_read() 199 rd_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, output_read_index)); in octeon_pci_console_host_read() 200 wr_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, output_write_index)); in octeon_pci_console_host_read() 242 base_addr = octeon_read_mem64(console_addr + offsetof(octeon_pci_console_t, input_base_addr)); in octeon_pci_console_host_write_avail() 243 rd_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, input_read_index)); in octeon_pci_console_host_write_avail() 244 wr_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, input_write_index)); in octeon_pci_console_host_write_avail() 273 rd_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, output_read_index)); in octeon_pci_console_host_read_avail() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | AMDHSAKernelDescriptor.h | 22 #ifndef offsetof 23 #define offsetof(TYPE, MEMBER) ((size_t)&((TYPE*)0)->MEMBER) macro 196 static_assert(offsetof(kernel_descriptor_t, group_segment_fixed_size) == 199 static_assert(offsetof(kernel_descriptor_t, private_segment_fixed_size) == 202 static_assert(offsetof(kernel_descriptor_t, kernarg_size) == 205 static_assert(offsetof(kernel_descriptor_t, reserved0) == RESERVED0_OFFSET, 210 static_assert(offsetof(kernel_descriptor_t, reserved1) == RESERVED1_OFFSET, 212 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc3) == 215 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc1) == 218 static_assert(offsetof(kernel_descriptor_t, compute_pgm_rsrc2) == [all …]
|
| /freebsd-13.1/sys/amd64/linux32/ |
| H A D | linux32_genassym.c | 12 ASSYM(LINUX_SIGF_HANDLER, offsetof(struct l_sigframe, sf_handler)); 13 ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc)); 14 ASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct l_rt_sigframe, sf_handler)); 15 ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_sc)); 16 ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext)); 18 ASSYM(LINUX_SC_ESP, offsetof(struct l_sigcontext, sc_esp));
|