/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | octeon-pci-console.c | 140 uint32_t num_consoles = octeon_read_mem32(console_desc_addr + offsetof(octeon_pci_console_desc_t, num_consoles)); 147 uint64_t console_addr = octeon_read_mem64(console_desc_addr + offsetof(octeon_pci_console_desc_t, console_addr_array) + console_num *8); 150 uint32_t console_buffer_size = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, buf_size)); 155 base_addr = octeon_read_mem64(console_addr + offsetof(octeon_pci_console_t, input_base_addr)); 156 rd_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, input_read_index)); 157 wr_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, input_write_index)); 171 octeon_write_mem32(console_addr + offsetof(octeon_pci_console_t, input_write_index), (wr_idx + bytes_to_write)%console_buffer_size); 183 uint32_t num_consoles = octeon_read_mem32(console_desc_addr + offsetof(octeon_pci_console_desc_t, num_consoles)); 190 uint64_t console_addr = octeon_read_mem64(console_desc_addr + offsetof(octeon_pci_console_desc_t, console_addr_array) + console_num *8); 191 uint32_t console_buffer_size = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_ [all...] |
/freebsd-11-stable/sbin/atm/atmconfig/ |
H A D | atmconfig_device.c | 55 SNMP_SYNTAX_INTEGER, offsetof(struct atmif, index) }, 57 SNMP_SYNTAX_OCTETSTRING, offsetof(struct atmif, ifname) }, 59 SNMP_SYNTAX_GAUGE, offsetof(struct atmif, pcr) }, 61 SNMP_SYNTAX_INTEGER, offsetof(struct atmif, media) }, 63 SNMP_SYNTAX_GAUGE, offsetof(struct atmif, vpi_bits) }, 65 SNMP_SYNTAX_GAUGE, offsetof(struct atmif, vci_bits) }, 67 SNMP_SYNTAX_GAUGE, offsetof(struct atmif, max_vpcs) }, 69 SNMP_SYNTAX_GAUGE, offsetof(struct atmif, max_vccs) }, 71 SNMP_SYNTAX_OCTETSTRING, offsetof(struct atmif, esi) }, 73 SNMP_SYNTAX_INTEGER, offsetof(struc [all...] |
/freebsd-11-stable/sys/dev/sym/ |
H A D | sym_fw2.h | 288 SCR_SEL_TBL_ATN ^ offsetof (struct sym_dsb, select), 317 offsetof (struct sym_ccb, phys.head.savep), 322 offsetof (struct sym_ccb, phys.head.status), 335 offsetof(struct sym_dsb, select.sel_scntl3), 343 offsetof (struct sym_dsb, smsg), 368 offsetof (struct sym_dsb, cmd), 631 offsetof (struct sym_ccb, phys.head.lastp), 656 offsetof (struct sym_ccb, phys.head.status), 666 offsetof (struct sym_ccb, phys.head.status), 742 offsetof (struc [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | i386v-nat.c | 115 #if !defined (offsetof) 116 #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) 189 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_CONTROL]), 191 ptrace (6, pid, offsetof (struct user, u_debugreg[free_debug_register]), 252 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_CONTROL]), 254 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0); 267 status = ptrace (3, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0); 268 ptrace (6, pid, offsetof (struct user, u_debugreg[DR_STATUS]), 0); 114 #define offsetof macro
|
H A D | amd64fbsd-nat.c | 54 #define REG_OFFSET(reg) offsetof (gregset_t, reg) 182 offset = offsetof (struct sigcontext, sc_rip); 187 offsetof (struct sigcontext, sc_rip) yields %d instead of %d.\n\ 195 offset = offsetof (struct sigcontext, sc_rsp); 200 offsetof (struct sigcontext, sc_rsp) yields %d instead of %d.\n\ 208 offset = offsetof (struct sigcontext, sc_rbp); 213 offsetof (struct sigcontext, sc_rbp) yields %d instead of %d.\n\
|
/freebsd-11-stable/sys/netpfil/ipfw/nptv6/ |
H A D | nptv6.h | 39 offsetof(struct ipfw_nptv6_stats, f) / sizeof(uint64_t)], (v)) 43 offsetof(struct ipfw_nptv6_stats, f) / sizeof(uint64_t)])
|
/freebsd-11-stable/usr.bin/indent/tests/ |
H A D | Makefile | 16 ${PACKAGE}FILES+= offsetof.0 17 ${PACKAGE}FILES+= offsetof.0.stdout
|
/freebsd-11-stable/lib/libthr/arch/sparc64/include/ |
H A D | pthread_md.h | 40 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
|
/freebsd-11-stable/lib/libthr/arch/aarch64/include/ |
H A D | pthread_md.h | 44 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterInfoPOSIX_arm64.cpp | 21 (LLVM_EXTENSION offsetof(RegisterInfoPOSIX_arm64::GPR, reg)) 25 (LLVM_EXTENSION offsetof(RegisterInfoPOSIX_arm64::FPU, reg) + \ 29 (LLVM_EXTENSION offsetof(RegisterInfoPOSIX_arm64::EXC, reg) + \ 33 (LLVM_EXTENSION offsetof(RegisterInfoPOSIX_arm64::DBG, reg) + \
|
/freebsd-11-stable/contrib/ofed/opensm/include/complib/ |
H A D | cl_types.h | 84 /****d* Component Library: Pointer Manipulation/offsetof 86 * offsetof 89 * The offsetof macro returns the offset of a member within a structure. 93 * offsetof( 112 #ifndef offsetof 113 #define offsetof(TYPE, MEMBER) ((uintptr_t) &((TYPE *)0)->MEMBER) macro 147 * offsetof 150 ((PARENT_TYPE*)((uint8_t*)(p_member) - offsetof(PARENT_TYPE, MEMBER_NAME)))
|
/freebsd-11-stable/gnu/usr.bin/gdb/kgdb/ |
H A D | trgt_powerpc.c | 158 ofs = offsetof(struct trapframe, 161 ofs = offsetof(struct trapframe, lr); 163 ofs = offsetof(struct trapframe, cr); 165 ofs = offsetof(struct trapframe, xer); 167 ofs = offsetof(struct trapframe, ctr); 169 ofs = offsetof(struct trapframe, srr0);
|
H A D | trgt_powerpc64.c | 155 ofs = offsetof(struct trapframe, 158 ofs = offsetof(struct trapframe, lr); 160 ofs = offsetof(struct trapframe, cr); 162 ofs = offsetof(struct trapframe, xer); 164 ofs = offsetof(struct trapframe, ctr); 166 ofs = offsetof(struct trapframe, srr0);
|
/freebsd-11-stable/usr.sbin/btxld/ |
H A D | elfh.c | 53 htole32(offsetof(struct elfh, p)), /* e_phoff */ 54 htole32(offsetof(struct elfh, sh)), /* e_shoff */ 94 htole32(offsetof(struct elfh, shstrtab)), /* sh_offset */
|
/freebsd-11-stable/tools/tools/pirtool/ |
H A D | pirtool.c | 207 num_slots = (pir->size - offsetof(pir_table_t, entry[0])) / 16; 216 offsetof(pir_table_t, signature), 221 offsetof(pir_table_t, minor), 223 offsetof(pir_table_t, size), 226 offsetof(pir_table_t, bus), 232 offsetof(pir_table_t, excl_irqs)); 239 offsetof(pir_table_t, compatible), 242 offsetof(pir_table_t, miniport_data), 244 offsetof(pir_table_t, checksum),
|
/freebsd-11-stable/include/ |
H A D | stddef.h | 73 #define offsetof(type, field) __offsetof(type, field) macro
|
/freebsd-11-stable/lib/libthr/arch/mips/include/ |
H A D | pthread_md.h | 42 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
|
/freebsd-11-stable/lib/libthr/arch/riscv/include/ |
H A D | pthread_md.h | 48 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
|
/freebsd-11-stable/lib/libthr/arch/arm/include/ |
H A D | pthread_md.h | 40 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
|
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/ |
H A D | jemalloc_internal_decls.h | 38 #ifndef offsetof 39 # define offsetof(type, member) ((size_t)&(((type *)NULL)->member)) macro
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | rcupdate.h | 75 CTASSERT(offsetof(__typeof(*(ptr)), rcu_head) < \ 78 offsetof(__typeof(*(ptr)), rcu_head)); \
|
/freebsd-11-stable/usr.sbin/uefisign/ |
H A D | pe.c | 95 CTASSERT(offsetof(struct pe_optional_header_32, po_size_of_headers) == 60); 96 CTASSERT(offsetof(struct pe_optional_header_32, po_checksum) == 64); 97 CTASSERT(offsetof(struct pe_optional_header_32, po_subsystem) == 68); 98 CTASSERT(offsetof(struct pe_optional_header_32, po_number_of_rva_and_sizes) == 92); 110 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_size_of_headers) == 60); 111 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_checksum) == 64); 112 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_subsystem) == 68); 113 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_number_of_rva_and_sizes) == 108); 129 CTASSERT(offsetof(struct pe_section_header, psh_size_of_raw_data) == 16); 130 CTASSERT(offsetof(struc [all...] |
/freebsd-11-stable/sys/amd64/vmm/intel/ |
H A D | vmx.h | 134 CTASSERT((offsetof(struct vmx, vmcs) & PAGE_MASK) == 0); 135 CTASSERT((offsetof(struct vmx, msr_bitmap) & PAGE_MASK) == 0); 136 CTASSERT((offsetof(struct vmx, pir_desc[0]) & 63) == 0);
|
/freebsd-11-stable/crypto/openssl/crypto/rand/ |
H A D | rand_egd.c | 134 # ifndef offsetof 135 # define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro 152 len = offsetof(struct sockaddr_un, sun_path) + strlen(path);
|
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | list.h | 63 #ifndef offsetof 64 #define offsetof(type, member) ((long) &((type *) 0)->member) macro 68 ((type *) ((char *) item - offsetof(type, member)))
|