/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_handle.c | 353 offsetof(dtrace_status_t, dtst_dyndrops), 357 offsetof(dtrace_status_t, dtst_dyndrops_rinsing), 361 offsetof(dtrace_status_t, dtst_dyndrops_dirty), 365 offsetof(dtrace_status_t, dtst_specdrops), 369 offsetof(dtrace_status_t, dtst_specdrops_busy), 373 offsetof(dtrace_status_t, dtst_specdrops_unavail), 377 offsetof(dtrace_status_t, dtst_stkstroverflows), 381 offsetof(dtrace_status_t, dtst_dblerrors),
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | trapstat.h | 186 offsetof(tstat_ndata_t, mem)) 190 offsetof(tstat_tdata_t, mem)) 231 ((uintptr_t)(tcpu)->tcpu_dbase + offsetof(tstat_data_t, mem)) 236 ((uintptr_t)(tcpu)->tcpu_ibase + offsetof(tstat_instr_t, mem))
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | elfh.c | 61 htole32(offsetof(struct elfh, p)), /* e_phoff */ 62 htole32(offsetof(struct elfh, sh)), /* e_shoff */ 102 htole32(offsetof(struct elfh, shstrtab)), /* sh_offset */
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 638 offsetof(ether_fields_buf_t, eth_link), print_default_cb}, 642 offsetof(ether_fields_buf_t, eth_state), 647 offsetof(ether_fields_buf_t, eth_spdx), print_default_cb}, 722 offsetof(link_fields_buf_t, link_mtu), print_default_cb}, 1031 offsetof(secobj_fields_buf_t, ss_val), print_default_cb}, 1060 offsetof(vnic_fields_buf_t, vnic_vid), print_default_cb}, 1079 offsetof(ib_fields_buf_t, ib_link), print_default_cb}, 1081 offsetof(ib_fields_buf_t, ib_hcaguid), print_default_cb}, 1085 offsetof(ib_fields_buf_t, ib_portnum), print_default_cb}, 1087 offsetof(ib_fields_buf_t, ib_state), print_default_cb}, [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/srpt/ |
H A D | srpt.c | 65 list_addr = srpt_global_addr + offsetof(srpt_ctxt_t, sc_ioc_list); in srpt_ioc_walk_init() 151 wsp->walk_addr += offsetof(srpt_target_port_t, tp_ch_list); in srpt_channel_walk_init() 176 wsp->walk_addr += offsetof(srpt_target_port_t, tp_sess_list); in srpt_scsi_session_walk_init() 197 wsp->walk_addr += offsetof(srpt_session_t, ss_task_list); in srpt_task_walk_init()
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | stddef.h | 44 #ifndef offsetof 45 #define offsetof(s, m) (size_t)(&(((s *)0)->m)) macro
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN/common/ |
H A D | sun_enclosure.c | 57 vsp_len < offsetof(sun_feature_block_impl_t, _reserved2)) in enc_parse_feature_block() 78 cid_off += offsetof(ses2_ed_impl_t, st_priv[0]) - in enc_parse_feature_block() 79 offsetof(spc3_inquiry_data_t, id_vs_36[0]); in enc_parse_feature_block()
|
H A D | sun_pages.c | 63 offsetof(sun_fru_descr_impl_t, sfdi_fru_data)); in sun_fruid_index() 73 .spd_gcoff = offsetof(sun_fruid_page_impl_t, sfpi_generation_code)
|
/illumos-gate/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 152 offsetof(history_fields_buf_t, history_flow), print_default_cb}, 154 offsetof(history_fields_buf_t, history_duration), print_default_cb}, 156 offsetof(history_fields_buf_t, history_ipackets), print_default_cb}, 158 offsetof(history_fields_buf_t, history_rbytes), print_default_cb}, 160 offsetof(history_fields_buf_t, history_opackets), print_default_cb}, 162 offsetof(history_fields_buf_t, history_obytes), print_default_cb}, 164 offsetof(history_fields_buf_t, history_bandwidth), print_default_cb}, 180 offsetof(history_l_fields_buf_t, history_l_flow), print_default_cb}, 182 offsetof(history_l_fields_buf_t, history_l_stime), print_default_cb}, 184 offsetof(history_l_fields_buf_t, history_l_etime), print_default_cb}, [all …]
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vnode.c | 238 VOPNAME_OPEN, offsetof(struct vnodeops, vop_open), 244 VOPNAME_READ, offsetof(struct vnodeops, vop_read), 274 VOPNAME_LINK, offsetof(struct vnodeops, vop_link), 301 VOPNAME_FID, offsetof(struct vnodeops, vop_fid), 311 VOPNAME_SEEK, offsetof(struct vnodeops, vop_seek), 314 VOPNAME_CMP, offsetof(struct vnodeops, vop_cmp), 332 VOPNAME_MAP, offsetof(struct vnodeops, vop_map), 343 VOPNAME_POLL, offsetof(struct vnodeops, vop_poll), 346 VOPNAME_DUMP, offsetof(struct vnodeops, vop_dump), 587 offsetof(vsk_anchor_t, vsk_node)); in vopstats_startup() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | containerof.h | 47 (void *)((uintptr_t)__m - (uintptr_t)offsetof(s, name)); \ 51 (void *)((uintptr_t)(m) - (uintptr_t)offsetof(s, name))
|
H A D | extdirent.h | 55 ((offsetof(edirent_t, ed_name[0]) + 1 + (namelen) + 7) & ~ 7) 57 ((reclen) - (offsetof(edirent_t, ed_name[0])))
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt.c | 275 offsetof(smrt_command_t, smcm_link)); in smrt_attach() 277 offsetof(smrt_command_t, smcm_link_finish)); in smrt_attach() 279 offsetof(smrt_command_t, smcm_link_abort)); in smrt_attach() 281 offsetof(smrt_volume_t, smlv_link)); in smrt_attach() 283 offsetof(smrt_physical_t, smpt_link)); in smrt_attach() 285 offsetof(smrt_target_t, smtg_link_ctlr)); in smrt_attach() 287 sizeof (smrt_command_t), offsetof(smrt_command_t, in smrt_attach()
|
/illumos-gate/usr/src/cmd/ptools/psig/ |
H A D | psig.c | 240 offsetof(uberdata32_t, siguaction); in look() 243 uberaddr + offsetof(uberdata32_t, sigacthandler)); in look() 249 offsetof(uberdata_t, siguaction); in look() 252 uberaddr + offsetof(uberdata_t, sigacthandler)); in look() 416 offsetof(siguaction32_t, sig_uaction)); in deinterpose() 427 offsetof(siguaction_t, sig_uaction)); in deinterpose()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_cfgdef.h | 225 NSCD_SIZEOF(g_in_t, gf), offsetof(g_in_t, gf), -1, \ 233 NSCD_SIZEOF(p_in_t, pf), offsetof(p_in_t, pf), -1, \ 234 NSCD_SIZEOF(g_in_t, gf), offsetof(g_in_t, gf), -1, \ 843 db, offsetof(nscd_cfg_nsw_db_data_t, gf), \ 844 offsetof(gt, pf), defaddr, deflen \ 849 db, offsetof(nscd_cfg_nsw_db_data_t, gf), \ 989 NSCD_SIZEOF(g_in_t, gf), offsetof(g_in_t, gf), -1, \ 997 NSCD_SIZEOF(s_in_t, sf), offsetof(s_in_t, sf), -1, \ 998 NSCD_SIZEOF(g_in_t, gf), offsetof(g_in_t, gf), -1, \
|
H A D | nscd_log.c | 291 off = offsetof(nscd_cfg_global_log_t, debug_comp); in _nscd_cfg_log_notify() 297 off = offsetof(nscd_cfg_global_log_t, debug_level); in _nscd_cfg_log_notify() 359 off = offsetof(nscd_cfg_global_log_t, debug_comp); in _nscd_cfg_log_verify() 369 off = offsetof(nscd_cfg_global_log_t, debug_level); in _nscd_cfg_log_verify() 379 off = offsetof(nscd_cfg_global_log_t, logfile); in _nscd_cfg_log_verify()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | acpi.c | 520 offsetof(ACPI_TABLE_FADT, Facs), sizeof(fadt.Facs))); in build_fadt() 522 offsetof(ACPI_TABLE_FADT, Dsdt), sizeof(fadt.Dsdt))); in build_fadt() 524 offsetof(ACPI_TABLE_FADT, XFacs), sizeof(fadt.XFacs))); in build_fadt() 526 offsetof(ACPI_TABLE_FADT, XDsdt), sizeof(fadt.XDsdt))); in build_fadt() 676 offsetof(ACPI_TABLE_RSDP, Checksum), 0, 20)); in build_rsdp() 678 offsetof(ACPI_TABLE_RSDP, RsdtPhysicalAddress), in build_rsdp() 681 offsetof(ACPI_TABLE_RSDP, Length), sizeof(rsdp.Length))); in build_rsdp() 683 offsetof(ACPI_TABLE_RSDP, XsdtPhysicalAddress), in build_rsdp() 686 offsetof(ACPI_TABLE_RSDP, ExtendedChecksum), 0, in build_rsdp()
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_ipc.h | 253 #define DHCP_STATUS_VER1_SIZE (offsetof(dhcp_status_t, if_bad_offers) + \ 296 #define DHCP_IPC_REPLY_SIZE offsetof(dhcp_ipc_reply_t, buffer) 297 #define DHCP_IPC_REQUEST_SIZE offsetof(dhcp_ipc_request_t, buffer)
|
/illumos-gate/usr/src/uts/intel/io/vmm/intel/ |
H A D | vmx.h | 152 CTASSERT((offsetof(struct vmx, vmcs) & PAGE_MASK) == 0); 153 CTASSERT((offsetof(struct vmx, msr_bitmap) & PAGE_MASK) == 0); 154 CTASSERT((offsetof(struct vmx, pir_desc[0]) & 63) == 0);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zio_checksum.c | 365 eck_offset = offsetof(zil_chain_t, zc_eck); in zio_checksum_compute() 382 eck_offset + offsetof(zio_eck_t, zec_magic), in zio_checksum_compute() 385 eck_offset + offsetof(zio_eck_t, zec_cksum), in zio_checksum_compute() 395 eck_offset + offsetof(zio_eck_t, zec_cksum), in zio_checksum_compute() 438 eck_offset = offsetof(zil_chain_t, zc_eck) + in zio_checksum_error_impl() 439 offsetof(zio_eck_t, zec_cksum); in zio_checksum_error_impl() 458 eck_offset += offsetof(zio_eck_t, zec_cksum); in zio_checksum_error_impl()
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfsid_map.h | 83 ((offsetof(mapid_arg_t, str[0]) + 1 + (str_length) + 7) & ~ 7) 144 ((offsetof(mapid_res_t, str[0]) + 1 + (str_length) + 7) & ~ 7)
|
/illumos-gate/usr/src/cmd/zinject/ |
H A D | translate.c | 398 record->zi_start = offsetof(vdev_label_t, vl_uberblock[0]); in translate_device() 402 record->zi_start = offsetof(vdev_label_t, vl_vdev_phys); in translate_device() 406 record->zi_start = offsetof(vdev_label_t, vl_pad1); in translate_device() 410 record->zi_start = offsetof(vdev_label_t, vl_be); in translate_device()
|
/illumos-gate/usr/src/boot/i386/loader/ |
H A D | main.c | 54 CTASSERT(offsetof(struct bootargs, bootinfo) == BA_BOOTINFO); 55 CTASSERT(offsetof(struct bootargs, bootflags) == BA_BOOTFLAGS); 56 CTASSERT(offsetof(struct bootinfo, bi_size) == BI_SIZE); 249 offsetof(struct zfs_boot_args, primary_pool)) { in extract_currdev()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/sd/ |
H A D | sd.c | 227 mem_addr + offsetof(struct __ddi_xbuf_attr, xa_mutex)); in dump_xbuf_attr() 233 mem_addr + offsetof(struct __ddi_xbuf_attr, xa_active_limit)); in dump_xbuf_attr() 239 mem_addr + offsetof(struct __ddi_xbuf_attr, xa_headp)); in dump_xbuf_attr() 246 mem_addr + offsetof(struct __ddi_xbuf_attr, xa_reserve_mutex)); in dump_xbuf_attr() 253 mem_addr + offsetof(struct __ddi_xbuf_attr, xa_timeid)); in dump_xbuf_attr()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | trapstat.c | 702 ASSERT(offsetof(tstat_tlbret_t, ttlbr_ktsb) - in trapstat_hotpatch() 703 offsetof(tstat_tlbret_t, ttlbr_ktlb) == in trapstat_hotpatch() 704 offsetof(tstat_tlbret_t, ttlbr_utsb) - in trapstat_hotpatch() 705 offsetof(tstat_tlbret_t, ttlbr_utlb)); in trapstat_hotpatch() 707 simm13 = offsetof(tstat_tlbret_t, ttlbr_ktsb) - in trapstat_hotpatch() 708 offsetof(tstat_tlbret_t, ttlbr_ktlb); in trapstat_hotpatch() 1167 ASSERT(offsetof(tstat_missdata_t, tmiss_count) <= LO10(-1)); in trapstat_tlbretent() 1169 ASSERT(offsetof(tstat_missdata_t, tmiss_time) <= LO10(-1)); in trapstat_tlbretent() 1394 utpc = tpc + offsetof(tstat_tlbret_t, ttlbr_utlb) - in trapstat_tlbent() 1395 offsetof(tstat_tlbret_t, ttlbr_ktlb); in trapstat_tlbent() [all …]
|