Home
last modified time | relevance | path

Searched refs:offsetof (Results 51 – 75 of 789) sorted by relevance

12345678910>>...32

/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_session.c37 #define CRYPTO_OPS_OFFSET(f) offsetof(crypto_ops_t, co_##f)
38 #define CRYPTO_OBJECT_OFFSET(f) offsetof(crypto_object_ops_t, f)
39 #define CRYPTO_SESSION_OFFSET(f) offsetof(crypto_session_ops_t, f)
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_fd.c85 off_t off = offsetof(prfdinfo_t, pr_misc); in proc_fdinfowalk()
166 off = offsetof(prfdinfo_t, pr_misc); in proc_get_fdinfo()
248 size_t sz = offsetof(prfdinfo_t, pr_misc); in proc_fdinfo_dup()
279 len = offsetof(prfdinfo_t, pr_misc) + sizeof (pr_misc_header_t); in proc_fdinfo_from_core()
/illumos-gate/usr/src/cmd/mdb/common/modules/smartpqi/
H A Dsmartpqi.c296 offset + offsetof(list_t, list_head)); in pqi_list_head()
308 pqi_list_head(s_devnodes, addr, offsetof(struct pqi_state, s_devnodes), in pqi_device_list_head()
330 offsetof(struct pqi_device, pd_cmd_list), in pqi_cmd_list_head()
407 offsetof(struct pqi_state, s_devnodes)); in pqi_display_devices()
420 offsetof(struct pqi_device, pd_list)); in pqi_display_devices()
441 offsetof(struct pqi_cmd, pc_list)); in pqi_display_devices()
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dscheme.c106 { "fmd_fmri_init", offsetof(fmd_scheme_ops_t, sop_init) },
107 { "fmd_fmri_fini", offsetof(fmd_scheme_ops_t, sop_fini) },
108 { "fmd_fmri_nvl2str", offsetof(fmd_scheme_ops_t, sop_nvl2str) },
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dscheme.c110 { "fmd_fmri_init", offsetof(fmd_scheme_ops_t, sop_init) },
111 { "fmd_fmri_fini", offsetof(fmd_scheme_ops_t, sop_fini) },
112 { "fmd_fmri_nvl2str", offsetof(fmd_scheme_ops_t, sop_nvl2str) },
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dlibsmp_plugin.h43 (offsetof(smp_request_frame_t, srf_data[0]) + sizeof (smp_crc_t))
47 (offsetof(smp_response_frame_t, srf_data[0]) + sizeof (smp_crc_t))
/illumos-gate/usr/src/lib/libc_db/common/
H A Dthread_db.c164 offsetof(uberdata_t, tdb.tdb_ev_global_mask); in td_read_uberdata()
182 offsetof(uberdata32_t, tdb.tdb_ev_global_mask); in td_read_uberdata()
239 offsetof(ulwp_t, ul_lwpid), in td_read_uberdata()
255 offsetof(ulwp32_t, ul_lwpid), in td_read_uberdata()
618 offsetof(uberdata_t, nthreads); in __td_ta_get_nthreads()
620 offsetof(uberdata_t, nzombies); in __td_ta_get_nthreads()
624 offsetof(uberdata32_t, nthreads); in __td_ta_get_nthreads()
626 offsetof(uberdata32_t, nzombies); in __td_ta_get_nthreads()
1202 offsetof(uberdata_t, tdb.tdb_sync_addr_hash), in __td_ta_sync_iter()
1212 offsetof(uberdata32_t, tdb.tdb_sync_addr_hash), in __td_ta_sync_iter()
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_frag.h52 #define IPFR_CMPSZ (offsetof(ipfr_t, ipfr_tos) - \
53 offsetof(ipfr_t, ipfr_ifp))
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_eth.c897 offset = offsetof(la_els_logi_t, common_service); in fcoei_fill_els_fpkt_resp()
922 offset = offsetof(la_els_logi_t, nport_ww_name); in fcoei_fill_els_fpkt_resp()
924 offset = offsetof(la_els_logi_t, node_ww_name); in fcoei_fill_els_fpkt_resp()
930 offset = offsetof(la_els_logi_t, class_3); in fcoei_fill_els_fpkt_resp()
1016 offset = offsetof(la_els_adisc_t, port_wwn); in fcoei_fill_els_fpkt_resp()
1018 offset = offsetof(la_els_adisc_t, node_wwn); in fcoei_fill_els_fpkt_resp()
1087 offset = offsetof(fcp_rsp_t, fcp_u); in fcoei_fill_fcp_resp()
1102 offset = offsetof(fcp_rsp_t, fcp_resid); in fcoei_fill_fcp_resp()
1104 offset = offsetof(fcp_rsp_t, fcp_sense_len); in fcoei_fill_fcp_resp()
1106 offset = offsetof(fcp_rsp_t, fcp_response_len); in fcoei_fill_fcp_resp()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcryptoadm.c283 offset = offsetof(crypto_get_dev_list_t, dl_devs); in get_dev_list()
414 offset = offsetof(crypto_get_dev_info_t, di_list); in get_dev_info()
482 offset = offsetof(crypto_get_soft_info_t, si_list); in get_soft_info()
543 offset = offsetof(crypto_load_dev_disabled_t, dd_list); in load_dev_disabled()
624 offset = offsetof(crypto_load_soft_disabled_t, sd_list); in load_soft_disabled()
706 offset = offsetof(crypto_load_soft_config_t, sc_list); in load_soft_config()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c183 } while (n < offsetof(struct tftphdr, th_data)); in tftp_sendfile()
194 if (n > offsetof(struct tftphdr, th_data)) in tftp_sendfile()
196 offsetof(struct tftphdr, th_data), in tftp_sendfile()
311 } while (n < offsetof(struct tftphdr, th_data)); in tftp_recvfile()
322 if (n > offsetof(struct tftphdr, th_data)) in tftp_recvfile()
324 offsetof(struct tftphdr, th_data), in tftp_recvfile()
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_subr.c301 offsetof(spc3_inquiry_data_t, id_vs_36[0]))) == NULL) in libscsi_get_inquiry()
307 offsetof(spc3_inquiry_data_t, id_vs_36[0])); in libscsi_get_inquiry()
318 if (len < offsetof(spc3_inquiry_data_t, id_vs_36)) in libscsi_get_inquiry()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_work.c38 { DTRACEOPT_STATUSRATE, offsetof(dtrace_hdl_t, dt_laststatus) },
39 { DTRACEOPT_AGGRATE, offsetof(dtrace_hdl_t, dt_lastagg) },
40 { DTRACEOPT_SWITCHRATE, offsetof(dtrace_hdl_t, dt_lastswitch) },
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib.c172 offsetof(struct rdsv3_ib_ipaddr, list)); in rdsv3_ib_add_one()
174 offsetof(struct rdsv3_ib_connection, ib_node)); in rdsv3_ib_add_one()
435 offsetof(struct rdsv3_ib_device, list)); in rdsv3_ib_init()
437 offsetof(struct rdsv3_ib_connection, ib_node)); in rdsv3_ib_init()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Drefcount.c75 offsetof(reference_t, ref_link.a)); in zfs_refcount_create()
77 offsetof(reference_t, ref_link.l)); in zfs_refcount_create()
249 offsetof(reference_t, ref_link.a)); in zfs_refcount_transfer()
251 offsetof(reference_t, ref_link.l)); in zfs_refcount_transfer()
/illumos-gate/usr/src/lib/libpcidb/common/
H A Dpcidb.c144 offsetof(pcidb_device_t, pd_link)); in parse_vendor()
167 offsetof(pcidb_subvd_t, ps_link)); in parse_device()
216 offsetof(pcidb_subclass_t, psc_link)); in pcidb_parse_class()
239 offsetof(pcidb_progif_t, pp_link)); in pcidb_parse_subclass()
420 offsetof(pcidb_vendor_t, pv_link)); in pcidb_open()
422 offsetof(pcidb_class_t, pc_link)); in pcidb_open()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlstat.c331 #define M_OFF(f) (offsetof(misc_stat_t, f))
368 #define R_OFF(f) (offsetof(ring_stat_t, f))
384 #define F_OFF(f) (offsetof(fanout_stat_t, f))
393 #define T_OFF(f) (offsetof(total_stat_t, f))
415 #define FL_OFF(f) (offsetof(flow_stat_t, f))
555 offsetof(fanout_stat_entry_t, fe_stats),
560 offsetof(ring_stat_entry_t, re_stats),
565 offsetof(ring_stat_entry_t, re_stats),
570 offsetof(ring_stat_entry_t, re_stats),
575 offsetof(ring_stat_entry_t, re_stats),
[all …]
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_enclosure.c156 tp->st_hdr.sehi_ed_len - offsetof(ses2_ed_impl_t, st_priv[0]) + in enc_vs()
157 offsetof(ses2_ed_impl_t, st_hdr.sehi_ed_len) + 1); in enc_vs()
166 (offsetof(ses2_ed_impl_t, member) - sizeof (ses2_ed_hdr_impl_t) + \
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c149 hdr.elf_hdr.e_phoff = offsetof(ksyms_header_t, text_phdr); in ksyms_snapshot()
150 hdr.elf_hdr.e_shoff = offsetof(ksyms_header_t, shdr); in ksyms_snapshot()
186 shp->sh_offset = offsetof(ksyms_header_t, shstrings); in ksyms_snapshot()
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddrctl.c288 size = offsetof(drctl_resp_t, resp_resources) + (count * sizeof (*res)); in drctl_generate_resp()
319 *size = offsetof(drctl_resp_t, resp_err_msg) + strlen(msg) + 1; in drctl_generate_err_resp()
341 size_t rcvd_len = resp_len - (offsetof(drctl_resp_t, resp_resources)); in verify_response()
630 offsetof(drctl_resp_t, resp_resources) + rsrcs_size; in send_message()
656 size_t hdr_size = offsetof(drd_msg_t, data); in pack_message()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_asru.c980 offsetof(fmd_asru_link_t, al_asru_name), in fmd_asru_hash_apply_by_asru()
981 offsetof(fmd_asru_link_t, al_asru_next)); in fmd_asru_hash_apply_by_asru()
990 offsetof(fmd_asru_link_t, al_case_next)); in fmd_asru_hash_apply_by_case()
998 offsetof(fmd_asru_link_t, al_fru_name), in fmd_asru_hash_apply_by_fru()
999 offsetof(fmd_asru_link_t, al_fru_next)); in fmd_asru_hash_apply_by_fru()
1007 offsetof(fmd_asru_link_t, al_rsrc_name), in fmd_asru_hash_apply_by_rsrc()
1008 offsetof(fmd_asru_link_t, al_rsrc_next)); in fmd_asru_hash_apply_by_rsrc()
1016 offsetof(fmd_asru_link_t, al_label), in fmd_asru_hash_apply_by_label()
1017 offsetof(fmd_asru_link_t, al_label_next)); in fmd_asru_hash_apply_by_label()
1160 offsetof(fmd_asru_link_t, al_fru_next), FM_FAULT_FRU); in fmd_asru_hash_delete_case()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dallocate.c112 offset = offsetof(struct allocation_blob, data); in allocate()
115 blob->offset = offset - offsetof(struct allocation_blob, data); in allocate()
/illumos-gate/usr/src/cmd/localedef/
H A Dcollate.c424 offsetof(collsym_t, avl)); in init_collate()
427 offsetof(collundef_t, avl)); in init_collate()
430 offsetof(collelem_t, avl_bysymbol)); in init_collate()
432 offsetof(collelem_t, avl_byexpand)); in init_collate()
435 offsetof(collchar_t, avl)); in init_collate()
439 offsetof(subst_t, avl)); in init_collate()
441 sizeof (subst_t), offsetof(subst_t, avl_ref)); in init_collate()
443 offsetof(weight_t, avl)); in init_collate()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddamap.c212 bs = bitset_get(damaddr + (offsetof(struct dam, dam_active_set))); in damap_get()
217 bs = bitset_get(damaddr + (offsetof(struct dam, dam_stable_set))); in damap_get()
222 bs = bitset_get(damaddr + (offsetof(struct dam, dam_report_set))); in damap_get()
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Damdvi_priv.h251 CTASSERT(offsetof(struct amdvi_ctrl, pad1)== 0x58);
252 CTASSERT(offsetof(struct amdvi_ctrl, pad2)== 0x2028);
253 CTASSERT(offsetof(struct amdvi_ctrl, pad3)== 0x2040);

12345678910>>...32