/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_mod.c | 171 topo_mod_register(topo_mod_t *mod, const topo_modinfo_t *mip, argument 188 mod->tm_info->tmi_desc = topo_mod_strdup(mod, mip->tmi_desc); 192 mod->tm_info->tmi_scheme = topo_mod_strdup(mod, mip->tmi_scheme); 197 mod->tm_info->tmi_version = (topo_version_t)mip->tmi_version; 198 mod->tm_info->tmi_ops->tmo_enum = mip->tmi_ops->tmo_enum; 199 mod->tm_info->tmi_ops->tmo_release = mip->tmi_ops->tmo_release;
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_types.c | 652 ctf_membinfo_t *mip) 677 mip->ctm_type = mp->ctm_type; 678 mip->ctm_offset = mp->ctm_offset; 688 mip->ctm_type = lmp->ctlm_type; 689 mip->ctm_offset = (ulong_t)CTF_LMEM_OFFSET(lmp); 651 ctf_member_info(ctf_file_t *fp, ctf_id_t type, const char *name, ctf_membinfo_t *mip) argument
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_provider.c | 123 mac_impl_t *mip; local 142 mip = kmem_cache_alloc(i_mac_impl_cachep, KM_SLEEP); 147 mip->mi_state_flags |= MIS_DISABLED; 189 mip->mi_minor = (minor_t)(instance + 1); 190 mip->mi_dip = mregp->m_dip; 191 mip->mi_clients_list = NULL; 192 mip->mi_nclients = 0; 195 mip->mi_pvid = 1; 198 mip->mi_llimit = 1000; 199 mip 504 mac_impl_t *mip = (mac_impl_t *)mh; local 635 mac_impl_t *mip = (mac_impl_t *)mh; local 670 mac_impl_t *mip = (mac_impl_t *)mh; local 683 mac_impl_t *mip = (mac_impl_t *)mh; local 794 mac_impl_t *mip = (mac_impl_t *)mh; local 814 mac_impl_t *mip = (mac_impl_t *)mh; local 863 mac_impl_t *mip = (mac_impl_t *)mh; local 890 mac_impl_t *mip = (mac_impl_t *)mh; local 907 mac_impl_t *mip = (mac_impl_t *)mh; local 954 mac_impl_t *mip = (mac_impl_t *)mh; local 974 mac_impl_t *mip = (mac_impl_t *)mh; local 1036 mac_pseudo_ring_intr_retarget(mac_impl_t *mip, mac_ring_t *ring, ddi_intr_handle_t ddh) argument 1106 mac_impl_t *mip = (mac_impl_t *)group->mrg_mh; local 1141 i_mac_log_link_state(mac_impl_t *mip) argument 1186 mac_impl_t *mip = arg; local 1282 i_mac_notify_exit(mac_impl_t *mip) argument 1313 mac_impl_t *mip = (mac_impl_t *)group->mrg_mh; local 1331 mac_impl_t *mip = (mac_impl_t *)group->mrg_mh; local [all...] |
H A D | mac_stat.c | 300 mac_impl_t *mip = ksp->ks_private; local 310 for (i = 0; i < mip->mi_kstat_count; i++, msi_index++) { 319 msi = mip->mi_type->mt_stats; 322 val = mac_stat_get((mac_handle_t)mip, msi[msi_index].msi_stat); 943 mac_driver_stat_create(mac_impl_t *mip) argument 948 major_t major = getmajor(mip->mi_phy_dev); 950 count = MAC_MOD_NKSTAT + MAC_NKSTAT + mip->mi_type->mt_statcount; 952 getminor(mip->mi_phy_dev) - 1, MAC_KSTAT_NAME, 958 ksp->ks_private = mip; 959 mip 977 mac_driver_stat_delete(mac_impl_t *mip) argument 987 mac_driver_stat_default(mac_impl_t *mip, uint_t stat) argument 1005 mac_impl_t *mip = ring->mr_mip; local 1210 mac_pseudo_ring_stat_rename(mac_impl_t *mip) argument [all...] |
H A D | mac_util.c | 884 mac_impl_t *mip = (mac_impl_t *)mh; local 886 return ((void *)mip->mi_dip);
|
H A D | mac_flow.c | 983 mac_impl_t *mip, flow_tab_t **ftp) 1002 ft->ft_mip = mip; 1007 if (mip->mi_info.mi_nativemedia == DL_ETHER) { 1019 mac_flow_l2tab_create(mac_impl_t *mip, flow_tab_t **ftp) argument 1022 1024, mip, ftp); 1190 mac_impl_t *mip = mcip->mci_mip; local 1194 ASSERT(MAC_PERIM_HELD((mac_handle_t)mip)); 1324 mac_impl_t *mip = mcip->mci_mip; local 1328 ASSERT(MAC_PERIM_HELD((mac_handle_t)mip)); 982 mac_flow_tab_create(flow_ops_t *ops, flow_mask_t mask, uint_t size, mac_impl_t *mip, flow_tab_t **ftp) argument
|
H A D | mac_datapath_setup.c | 1638 mac_impl_t *mip = mcip->mci_mip; local 1643 ASSERT(MAC_PERIM_HELD((mac_handle_t)mip)); 1651 if (mip->mi_state_flags & MIS_POLL_DISABLE) 1676 flent->fe_cb_arg1 = (void *)mip; 2400 mac_impl_t *mip = mcip->mci_mip; local 2416 flent->fe_cb_arg1 = (void *)mip; 2641 mac_impl_t *mip = (mac_impl_t *)grp->mrg_mh; local 2670 if (rx_group && mip->mi_nactiveclients != 1) 2858 mac_impl_t *mip = mcip->mci_mip; local 2877 ASSERT(MAC_PERIM_HELD((mac_handle_t)mip)); 3092 mac_impl_t *mip = mcip->mci_mip; local 3824 mac_impl_t *mip = mcip->mci_mip; local 3987 mac_fanout_recompute(mac_impl_t *mip) argument 4026 mac_impl_t *mip = (mac_impl_t *)mh; local [all...] |
H A D | mac_sched.c | 4244 mac_tx_classify(mac_impl_t *mip, mblk_t *mp) argument 4253 err = mac_flow_lookup(mip->mi_flow_tab, mp, FLOW_OUTBOUND, &flent); 4304 mac_impl_t *mip = src_mcip->mci_mip; local 4310 if (mip->mi_nclients > 1) { 4316 ASSERT(mip->mi_nclients == 1); 4324 if (mip->mi_nactiveclients == 1) { 4337 MAC_TX(mip, ring, mp, src_mcip); 4361 src_mcip, int, mip->mi_nclients, mblk_t *, mp_chain); 4380 dst_flow_ent = mac_tx_classify(mip, mp); 4386 if (mip 4603 mac_tx_notify(mac_impl_t *mip) argument [all...] |
H A D | mac_protect.c | 1657 mac_impl_t *mip = mcip->mci_mip; local 1663 err = mac_vlan_header_info((mac_handle_t)mip, mp, &mhi); 2266 mac_impl_t *mip = mcip->mci_mip; local 2276 err = mac_vlan_header_info((mac_handle_t)mip, mp, &mhi); 2288 mip->mi_info.mi_addr_length) != 0) { 2500 mac_impl_t *mip = mcip->mci_mip; local 2501 uint_t media = mip->mi_info.mi_nativemedia; 2504 ASSERT(MAC_PERIM_HELD((mac_handle_t)mip)); 2518 mcip->mci_upper_mip : mip), MAC_NOTE_ALLOWED_IPS); 2614 mac_impl_t *mip local [all...] |
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_prop.c | 1059 mod_ioc_prop_t *mip; local 1065 if ((mip = calloc(1, iocsize)) == NULL) 1068 mip->mpr_version = MOD_PROP_VERSION; 1069 mip->mpr_flags = valtype; 1070 mip->mpr_proto = proto; 1072 (void) strlcpy(mip->mpr_ifname, ifname, 1073 sizeof (mip->mpr_ifname)); 1075 (void) strlcpy(mip->mpr_name, pname, sizeof (mip->mpr_name)); 1076 mip 1302 mod_ioc_prop_t *mip; local [all...] |
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 761 struct mapinfo2uid *mip, 779 mip->mi_uid = (uid_t)-1; 780 mip->mi_isuser = IDM_EVERYONE; 781 mip->mi_status = 0; 788 mip->mi_isuser = req_type; 790 &mip->mi_uid, &mip->mi_status); 794 mip->mi_isuser = req_type; 796 &mip->mi_uid, &mip 759 mkrq_idmap_sid2ux( idmap_get_handle_t *idmap_gh, struct mapinfo2uid *mip, i_ntsid_t *sid, int req_type) argument 820 ntace2zace(ace_t *zacep, i_ntace_t *ntace, struct mapinfo2uid *mip) argument 897 struct mapinfo2uid *mip, *mapinfo = NULL; local 1297 mkrq_idmap_ux2sid( idmap_get_handle_t *idmap_gh, struct mapinfo2sid *mip, uid_t uid, int req_type) argument 1344 zace2ntace(i_ntace_t **ntacep, ace_t *zacep, struct mapinfo2sid *mip) argument 1422 struct mapinfo2sid *mip, *mip_acl, *mapinfo = NULL; local [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | dlfcns.c | 2047 Dl_mapinfo_t *mip = (Dl_mapinfo_t *)p; local 2049 if (mip->dlm_acnt && mip->dlm_maps) { 2052 while ((cnt < mip->dlm_acnt) && (cnt < MMAPCNT(lmp))) { 2053 mip->dlm_maps[cnt] = MMAPS(lmp)[cnt]; 2056 mip->dlm_rcnt = cnt;
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 2072 const mac_info_t *mip = dsp->ds_mip; local 2078 if (!dsp->ds_native && mip->mi_media != mip->mi_nativemedia) 2082 miocack(q, mp, 0, mip->mi_nativemedia);
|
/illumos-gate/usr/src/uts/common/io/ipw/ |
H A D | ipw2100.c | 2929 _info(struct modinfo *mip) argument 2931 return (mod_info(&ipw2100_modlinkage, mip));
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mac/ |
H A D | mac.c | 207 mac_impl_t mip; local 224 bzero(&mip, sizeof (mip)); 227 (void) mdb_vread(&mip, sizeof (mip), (uintptr_t)mcip.mci_mip); 234 mcip.mci_mip, mip.mi_name);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lgrpsys.c | 56 meminfo(int addr_count, struct meminfo *mip) argument 85 if (copyin(mip, &minfo, sizeof (struct meminfo))) 91 if (copyin(mip, &minfo32, sizeof (struct meminfo32)))
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_api.c | 354 fmd_hdl_register(fmd_hdl_t *hdl, int version, const fmd_hdl_info_t *mip) argument 391 if (mip == NULL || mip->fmdi_desc == NULL || 392 mip->fmdi_vers == NULL || mip->fmdi_ops == NULL) 403 bcopy(mip->fmdi_ops, &ops, offsetof(fmd_hdl_ops_t, fmdo_send)); 405 bcopy(mip->fmdi_ops, &ops, 408 bcopy(mip->fmdi_ops, &ops, sizeof (ops)); 431 for (prop = mip->fmdi_props, i = 0; prop != NULL && 445 prop = mip [all...] |
/illumos-gate/usr/src/uts/common/io/wpi/ |
H A D | wpi.c | 359 _info(struct modinfo *mip) argument 361 return (mod_info(&wpi_modlinkage, mip));
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.c | 737 member_iter_t *mip = data; local 740 set_ctf_id(&id, mip->mi_fp, type); 742 return (mip->mi_cb(name, id, off, mip->mi_arg));
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bridge.c | 2779 const mac_info_t *mip; local 2827 mip = mac_info(mh); 2828 if (mip->mi_media != DL_ETHER) {
|
H A D | bscbus.c | 2591 _info(struct modinfo *mip) argument 2593 return (mod_info(&modlinkage, mip));
|
/illumos-gate/usr/src/uts/common/io/iwh/ |
H A D | iwh.c | 462 _info(struct modinfo *mip) argument 464 return (mod_info(&iwh_modlinkage, mip));
|
/illumos-gate/usr/src/uts/common/io/iwp/ |
H A D | iwp.c | 424 _info(struct modinfo *mip) argument 426 return (mod_info(&iwp_modlinkage, mip));
|
/illumos-gate/usr/src/uts/sun4u/lw2plus/io/ |
H A D | lombus.c | 2280 _info(struct modinfo *mip) argument 2282 return (mod_info(&modlinkage, mip));
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modctl.c | 2945 struct mod_modinfo *mip; local 2947 mip = stub->mods_modinfo; 2954 if ((mp = mip->mp) != NULL) { 2971 * else has resolved the stub (set mip->mp). 2979 * that case, mip->mp will be NULL, we'll hit this 2988 mp = mod_hold_by_name(mip->modm_module_name); 2989 mip->mp = mp; 2996 * mip->mp != NULL 3010 mip->modm_module_name); 3027 mip [all...] |