Searched refs:offsetof (Results 251 - 275 of 719) sorted by relevance

<<11121314151617181920>>

/freebsd-12-stable/sys/netinet6/
H A Dfrag6.c428 offsetof(struct ip6_hdr, ip6_plen));
471 offsetof(struct ip6_hdr, ip6_plen));
609 offsetof(struct ip6_frag, ip6f_offlg));
626 offsetof(struct ip6_frag, ip6f_offlg));
669 offsetof(struct ip6_frag, ip6f_offlg));
/freebsd-12-stable/sys/netipsec/
H A Dxform_ah.c807 m_copydata(m, skip + offsetof(struct newah, ah_seq),
1034 offsetof(struct ip, ip_len),
1037 m_copyback(m, offsetof(struct ip, ip_len),
1045 offsetof(struct ip6_hdr, ip6_plen),
1048 m_copyback(m, offsetof(struct ip6_hdr, ip6_plen),
/freebsd-12-stable/sys/dev/bxe/
H A Dbxe_elink.c988 offsetof(struct shmem_lfa, additional_config));
996 offsetof(struct shmem_lfa, additional_config),
1003 offsetof(struct shmem_region,
1032 offsetof(struct shmem_lfa, req_duplex));
1041 offsetof(struct shmem_lfa, req_flow_ctrl));
1050 offsetof(struct shmem_lfa, req_line_speed));
1060 offsetof(struct shmem_lfa,
1073 offsetof(struct shmem_lfa, additional_config)) &
1083 offsetof(struct shmem2_region,
2931 offsetof(struc
[all...]
/freebsd-12-stable/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c1409 if (cmd_sz > offsetof(typeof(*cmd), flags) + sizeof(cmd->flags))
1435 resp.response_length = offsetof(typeof(resp), response_length) +
1510 offsetof(typeof(cmd_ex), comp_channel) +
1554 if (ucore->outlen < (offsetof(typeof(resp), response_length) +
1800 if (cmd_sz >= offsetof(typeof(*cmd), rwq_ind_tbl_handle) +
1813 if ((cmd_sz >= offsetof(typeof(*cmd), reserved1) +
1895 if (cmd_sz >= offsetof(typeof(*cmd), create_flags) +
1967 resp.response_length = offsetof(typeof(resp), response_length) +
2076 offsetof(typeof(cmd_ex), is_srq) +
2105 if (ucore->inlen < (offsetof(typeo
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/
H A DCOFFImportFile.cpp239 {u32(offsetof(coff_import_directory_table_entry, NameRVA)), u32(2),
241 {u32(offsetof(coff_import_directory_table_entry, ImportLookupTableRVA)),
243 {u32(offsetof(coff_import_directory_table_entry, ImportAddressTableRVA)),
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContextDarwin_i386.cpp131 (LLVM_EXTENSION offsetof(RegisterContextDarwin_i386::GPR, reg))
133 (LLVM_EXTENSION offsetof(RegisterContextDarwin_i386::FPU, reg) + \
136 (LLVM_EXTENSION offsetof(RegisterContextDarwin_i386::EXC, reg) + \
/freebsd-12-stable/contrib/bearssl/src/codec/
H A Dpemdec.c72 #define CTX ((br_pem_decoder_context *)(void *)((unsigned char *)t0ctx - offsetof(br_pem_decoder_context, cpu)))
120 T0_INT2(offsetof(br_pem_decoder_context, event)), 0x00, 0x00, 0x01,
121 T0_INT2(offsetof(br_pem_decoder_context, name)), 0x00, 0x00, 0x05,
/freebsd-12-stable/contrib/ipfilter/tools/
H A Dipftest.c684 csump += offsetof(tcphdr_t, th_sum);
688 csump += offsetof(udphdr_t, uh_sum);
692 csump += offsetof(icmphdr_t, icmp_cksum);
/freebsd-12-stable/sys/cam/scsi/
H A Dscsi_targ_bh.c122 /*extra_len*/offsetof(struct scsi_sense_data_fixed, fru)
123 - offsetof(struct scsi_sense_data_fixed, extra_len),
129 static const int request_sense_size = offsetof(struct scsi_sense_data_fixed, fru);
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzil.c147 sizeof (zil_bp_node_t), offsetof(zil_bp_node_t, zn_node));
1710 itx = kmem_alloc(offsetof(itx_t, itx_lr) + lrsize, KM_SLEEP);
1722 kmem_free(itx, offsetof(itx_t, itx_lr) + itx->itx_lr.lrc_reclen);
1807 list_create(&clean_list, sizeof (itx_t), offsetof(itx_t, itx_node));
1887 offsetof(itx_t, itx_node));
1890 offsetof(itx_async_node_t, ia_node));
1905 offsetof(itx_t, itx_node));
2169 offsetof(zil_commit_waiter_t, zcw_node));
2987 offsetof(zil_commit_waiter_t, zcw_node));
2989 sizeof (zil_vdev_node_t), offsetof(zil_vdev_node_
[all...]
H A Ddsl_pool.c299 offsetof(dsl_dataset_t, ds_dirty_link));
301 offsetof(zilog_t, zl_dirty_link));
303 offsetof(dsl_dir_t, dd_dirty_link));
305 offsetof(dsl_sync_task_t, dst_node));
307 offsetof(dsl_sync_task_t, dst_node));
692 offsetof(dsl_dataset_t, ds_synced_link));
H A Dvdev_indirect.c310 offsetof(indirect_split_t, is_child[is->is_children]));
369 offsetof(vdev_indirect_mapping_entry_t, vime_node));
1044 offsetof(remap_segment_t, rs_node));
1195 kmem_zalloc(offsetof(indirect_split_t, is_child[n]), KM_SLEEP);
1203 offsetof(indirect_child_t, ic_node));
1286 sizeof (indirect_split_t), offsetof(indirect_split_t, is_node));
H A Dvdev_label.c604 offsetof(vdev_label_t, vl_vdev_phys),
971 offsetof(vdev_label_t, vl_vdev_phys),
980 offsetof(vdev_label_t, vl_pad2),
984 offsetof(vdev_label_t, vl_uberblock),
1045 offsetof(vdev_label_t, vl_pad2),
1370 offsetof(vdev_label_t, vl_vdev_phys),
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h281 (type *)((uintptr_t)__p - offsetof(type, member)); \
486 (offsetof(t, m) + sizeof((((t *)0)->m)))
558 const size_t __size = offsetof(__typeof(*(ptr)), field); \
/freebsd-12-stable/sys/dev/ksyms/
H A Dksyms.c287 hdr->kh_ehdr.e_phoff = offsetof(struct ksyms_hdr, kh_txtphdr);
288 hdr->kh_ehdr.e_shoff = offsetof(struct ksyms_hdr, kh_shdr);
350 offsetof(struct ksyms_hdr, kh_shstrtab);
/freebsd-12-stable/sys/kern/
H A Dkern_mib.c354 (void *)(offsetof(struct prison, pr_hostname)), MAXHOSTNAMELEN,
358 (void *)(offsetof(struct prison, pr_domainname)), MAXHOSTNAMELEN,
362 (void *)(offsetof(struct prison, pr_hostuuid)), HOSTUUIDLEN,
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp176 [reg] "i"(offsetof(zx_thread_state_general_regs_t, reg) - CFAOffset),
178 [x##num] "i"(offsetof(zx_thread_state_general_regs_t, r[num]) - CFAOffset),
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.cpp326 COMPILER_CHECK(offsetof(__sanitizer_ifaddrs, ifa_dstaddr) ==
327 offsetof(ifaddrs, ifa_ifu)); variable
/freebsd-12-stable/contrib/ntp/sntp/libevent/include/event2/
H A Dutil.h529 /** Replacement for offsetof on platforms that don't define it. */
530 #ifdef offsetof
531 #define evutil_offsetof(type, field) offsetof(type, field)
/freebsd-12-stable/contrib/libevent/include/event2/
H A Dutil.h558 /** Replacement for offsetof on platforms that don't define it. */
559 #ifdef offsetof
560 #define evutil_offsetof(type, field) offsetof(type, field)
/freebsd-12-stable/bin/ps/
H A Dkeyword.c60 #define KOFF(x) offsetof(struct kinfo_proc, x)
61 #define ROFF(x) offsetof(struct rusage, x)
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/
H A Dblake2b-ref.c100 memset(S->t, 0, offsetof(blake2b_state, last_node) + sizeof(S->last_node)
101 - offsetof(blake2b_state, t));
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dsysmacros.h373 #if defined(_KERNEL) && !defined(_KMEMUSER) && !defined(offsetof)
377 #define offsetof(s, m) ((size_t)(&(((s *)0)->m))) macro
/freebsd-12-stable/sys/cddl/dev/dtrace/i386/
H A Ddtrace_isa.c190 offsetof(struct i386_frame, f_retaddr)));
403 offsetof(struct i386_frame, f_retaddr)));
/freebsd-12-stable/sys/dev/hptiop/
H A Dhptiop.h51 #ifndef offsetof
52 #define offsetof(TYPE, MEM) ((size_t)&((TYPE*)0)->MEM) macro

Completed in 490 milliseconds

<<11121314151617181920>>