Home
last modified time | relevance | path

Searched refs:mi_type (Results 1 – 13 of 13) sorted by relevance

/titanic_44/usr/src/uts/common/io/mac/
H A Dmac_ndd.c107 for (i = 0; i < mip->mi_type->mt_mappingcount; i++) { in mac_ndd_get_names()
108 if ((mip->mi_type->mt_mapping[i].mp_flags & MAC_PROP_MAP_KSTAT) in mac_ndd_get_names()
113 mip->mi_type->mt_mapping[i].mp_name, in mac_ndd_get_names()
114 mip->mi_type->mt_mapping[i].mp_prop_id, in mac_ndd_get_names()
115 mip->mi_type->mt_mapping[i].mp_valsize, &value); in mac_ndd_get_names()
119 mip->mi_type->mt_mapping[i].mp_prop_id, in mac_ndd_get_names()
120 mip->mi_type->mt_mapping[i].mp_name, NULL, 0, in mac_ndd_get_names()
125 if (!mac_add_name(mp, mip->mi_type->mt_mapping[i].mp_name, in mac_ndd_get_names()
238 for (i = 0; i < mip->mi_type->mt_mappingcount; i++) { in mac_ndd_get_ioctl()
239 if (strcmp(name, mip->mi_type->mt_mapping[i].mp_name) != 0) in mac_ndd_get_ioctl()
[all …]
H A Dmac_provider.c210 mip->mi_type = mtype; in mac_register()
224 mip->mi_info.mi_addr_length = mip->mi_type->mt_addr_length; in mac_register()
229 mip->mi_info.mi_brdcst_addr = mip->mi_type->mt_brdcst_addr; in mac_register()
239 if (mip->mi_type->mt_addr_length > 0) { in mac_register()
243 kmem_alloc(mip->mi_type->mt_addr_length, KM_SLEEP); in mac_register()
245 mip->mi_type->mt_addr_length); in mac_register()
253 mip->mi_type->mt_addr_length); in mac_register()
267 mip->mi_type->mt_addr_length); in mac_register()
280 if (mip->mi_type->mt_ops.mtops_ops & MTOPS_PDATA_VERIFY) { in mac_register()
287 if (!mip->mi_type->mt_ops.mtops_pdata_verify(mregp->m_pdata, in mac_register()
[all …]
H A Dmac_bcast.c128 kmem_free(grp->mbg_addr, mip->mi_type->mt_addr_length); in mac_bcast_grp_free()
268 size_t addr_len = mip->mi_type->mt_addr_length; in mac_bcast_add()
507 size_t addr_len = mip->mi_type->mt_addr_length; in mac_bcast_delete()
576 mip->mi_type->mt_addr_length) == 0) in mac_bcast_delete()
590 mip->mi_type->mt_addr_length) == 0) in mac_bcast_delete()
H A Dmac_client.c457 return (((mac_impl_t *)mh)->mi_type->mt_type); in mac_type()
463 return (((mac_impl_t *)mh)->mi_type->mt_nativetype); in mac_nativetype()
806 if ((len != mip->mi_type->mt_addr_length) || in mac_unicst_verify()
807 (mip->mi_type->mt_ops.mtops_unicst_verify(addr, in mac_unicst_verify()
1014 if (!mac_unicst_verify(mh, addr, mip->mi_type->mt_addr_length)) in mac_unicast_primary_set()
1023 if (bcmp(addr, mip->mi_addr, mip->mi_type->mt_addr_length) == 0) { in mac_unicast_primary_set()
1067 bcopy(addr, mip->mi_addr, mip->mi_type->mt_addr_length); in mac_unicast_primary_set()
1086 bcopy(mip->mi_addr, addr, mip->mi_type->mt_addr_length); in mac_unicast_primary_get()
1158 bcopy(mip->mi_dstaddr, addr, mip->mi_type->mt_addr_length); in mac_dst_get()
1263 size_t addr_len = mip->mi_type->mt_addr_length; in mac_addr_random()
[all …]
H A Dmac_stat.c319 msi = mip->mi_type->mt_stats; in i_mac_driver_stat_update()
950 count = MAC_MOD_NKSTAT + MAC_NKSTAT + mip->mi_type->mt_statcount; in mac_driver_stat_create()
966 if (mip->mi_type->mt_statcount > 0) { in mac_driver_stat_create()
968 i_mac_kstat_init(knp, mip->mi_type->mt_stats, in mac_driver_stat_create()
969 mip->mi_type->mt_statcount); in mac_driver_stat_create()
998 ASSERT(stat_index < mip->mi_type->mt_statcount); in mac_driver_stat_default()
999 return (mip->mi_type->mt_stats[stat_index].msi_default); in mac_driver_stat_default()
H A Dmac_flow.c1644 ft->ft_mip->mi_type->mt_addr_length, ft->ft_size)); in flow_l2_hash()
1787 ft->ft_mip->mi_type->mt_addr_length, ft->ft_size)); in flow_l2_hash_fe()
H A Dmac.c1291 mip->mi_type->mt_addr_length); in mac_addr_factory_init()
1420 *addr_len = mip->mi_type->mt_addr_length; in mac_addr_factory_value()
4974 map->ma_len = mip->mi_type->mt_addr_length; in mac_add_macaddr()
5221 map->ma_len = mip->mi_type->mt_addr_length; in mac_init_macaddr()
/titanic_44/usr/src/uts/common/nfs/
H A Dnfs_clnt.h337 enum vtype mi_type; /* file type of the root vnode */ member
H A Dnfs4_clnt.h959 enum vtype mi_type; /* file type of the root vnode */ member
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs_vfsops.c1322 mi->mi_type = rtvp->v_type; in nfsrootvp()
1483 ASSERT(vp->v_type == VNON || vp->v_type == mi->mi_type); in nfs_root()
1485 vp->v_type = mi->mi_type; in nfs_root()
H A Dnfs3_vfsops.c1327 mi->mi_type = rtvp->v_type; in nfs3rootvp()
1488 ASSERT(vp->v_type == VNON || vp->v_type == mi->mi_type); in nfs3_root()
1490 vp->v_type = mi->mi_type; in nfs3_root()
H A Dnfs4_vfsops.c2237 if (vtype != VNON && vtype != mi->mi_type) { in nfs4_remap_root()
2241 "match mount info (%d)", vtype, mi->mi_type); in nfs4_remap_root()
2613 mi->mi_type = rtvp->v_type; in nfs4rootvp()
2831 ASSERT(vp->v_type == VNON || vp->v_type == mi->mi_type); in nfs4_root()
2833 vp->v_type = mi->mi_type; in nfs4_root()
/titanic_44/usr/src/uts/common/sys/
H A Dmac_impl.h415 mactype_t *mi_type; /* WO */ member