Searched refs:offsetof (Results 51 - 75 of 680) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Docteon-pci-console.c140 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 Datmconfig_device.c55 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 Dsym_fw2.h288 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 Di386v-nat.c115 #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 Damd64fbsd-nat.c54 #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 Dnptv6.h39 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 DMakefile16 ${PACKAGE}FILES+= offsetof.0
17 ${PACKAGE}FILES+= offsetof.0.stdout
/freebsd-11-stable/lib/libthr/arch/sparc64/include/
H A Dpthread_md.h40 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
/freebsd-11-stable/lib/libthr/arch/aarch64/include/
H A Dpthread_md.h44 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterInfoPOSIX_arm64.cpp21 (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 Dcl_types.h84 /****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 Dtrgt_powerpc.c158 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 Dtrgt_powerpc64.c155 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 Delfh.c53 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 Dpirtool.c207 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 Dstddef.h73 #define offsetof(type, field) __offsetof(type, field) macro
/freebsd-11-stable/lib/libthr/arch/mips/include/
H A Dpthread_md.h42 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
/freebsd-11-stable/lib/libthr/arch/riscv/include/
H A Dpthread_md.h48 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
/freebsd-11-stable/lib/libthr/arch/arm/include/
H A Dpthread_md.h40 #define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_decls.h38 #ifndef offsetof
39 # define offsetof(type, member) ((size_t)&(((type *)NULL)->member)) macro
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Drcupdate.h75 CTASSERT(offsetof(__typeof(*(ptr)), rcu_head) < \
78 offsetof(__typeof(*(ptr)), rcu_head)); \
/freebsd-11-stable/usr.sbin/uefisign/
H A Dpe.c95 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 Dvmx.h134 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 Drand_egd.c134 # 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 Dlist.h63 #ifndef offsetof
64 #define offsetof(type, member) ((long) &((type *) 0)->member) macro
68 ((type *) ((char *) item - offsetof(type, member)))

Completed in 169 milliseconds

1234567891011>>