Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_provider.c90 mac_register_t *mregp; in mac_alloc() local
100 mregp = kmem_zalloc(sizeof (mac_register_t), KM_SLEEP); in mac_alloc()
101 mregp->m_version = mac_version; in mac_alloc()
102 return (mregp); in mac_alloc()
106 mac_free(mac_register_t *mregp) in mac_free() argument
108 kmem_free(mregp, sizeof (mac_register_t)); in mac_free()
121 mac_register(mac_register_t *mregp, mac_handle_t *mhp) in mac_register() argument
134 if (!GLDV3_DRV(ddi_driver_major(mregp->m_dip))) in mac_register()
138 if ((mtype = mactype_getplugin(mregp->m_type_ident)) == NULL) in mac_register()
168 switch (mregp->m_instance) { in mac_register()
[all …]