Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.c354 fmd_modtopo_t *mtp; in fmd_module_unload() local
405 while ((mtp = fmd_list_next(&mp->mod_topolist)) != NULL) { in fmd_module_unload()
406 fmd_list_delete(&mp->mod_topolist, mtp); in fmd_module_unload()
407 fmd_topo_rele(mtp->mt_topo); in fmd_module_unload()
408 fmd_free(mtp, sizeof (fmd_modtopo_t)); in fmd_module_unload()
1384 fmd_modtopo_t *mtp; in fmd_module_topo_hold() local
1388 mtp = fmd_zalloc(sizeof (fmd_modtopo_t), FMD_SLEEP); in fmd_module_topo_hold()
1389 mtp->mt_topo = mp->mod_topo_current; in fmd_module_topo_hold()
1390 fmd_topo_addref(mtp->mt_topo); in fmd_module_topo_hold()
1391 fmd_list_prepend(&mp->mod_topolist, mtp); in fmd_module_topo_hold()
[all …]
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c2028 umem_magtype_t *mtp; in _umem_cache_free() local
2080 mtp = cp->cache_magtype; in _umem_cache_free()
2082 emp = _umem_cache_alloc(mtp->mt_cache, UMEM_DEFAULT); in _umem_cache_free()
2092 if (ccp->cc_magsize != mtp->mt_magsize) { in _umem_cache_free()
2094 _umem_cache_free(mtp->mt_cache, emp); in _umem_cache_free()
2394 umem_magtype_t *mtp = cp->cache_magtype; in umem_cache_magazine_resize() local
2398 if (cp->cache_chunksize < mtp->mt_maxbuf) { in umem_cache_magazine_resize()
2401 cp->cache_magtype = ++mtp; in umem_cache_magazine_resize()
2658 umem_magtype_t *mtp; in umem_cache_create() local
2919 for (mtp = umem_magtype; chunksize <= mtp->mt_minbuf; mtp++) in umem_cache_create()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Dsiena_mcdi.c168 __in const efx_mcdi_transport_t *mtp) in siena_mcdi_init() argument
175 _NOTE(ARGUNUSED(mtp)); in siena_mcdi_init()
H A Dsiena_impl.h93 __in const efx_mcdi_transport_t *mtp);
H A Def10_impl.h283 __in const efx_mcdi_transport_t *mtp);
H A Defx.h215 __in const efx_mcdi_transport_t *mtp);
/illumos-gate/usr/src/cmd/fs.d/
H A Ddf.c724 struct extmnttab *mtp = mtep->mte_mount; in devid_matches() local
727 if (EQ(mtp->mnt_fstype, MNTTYPE_SWAP)) in devid_matches()
738 dev = makedev(mtp->mnt_major, mtp->mnt_minor); in devid_matches()
742 if (stat64(mtp->mnt_mountp, &st) == -1) { in devid_matches()
1776 struct extmnttab *mtp = mount_table[i].mte_mount; in create_request_list() local
1778 if (EQ(mtp->mnt_fstype, MNTTYPE_SWAP)) in create_request_list()
1783 mtp->mnt_mountp)) in create_request_list()
1788 dfrp->dfr_fstype = mtp->mnt_fstype; in create_request_list()
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c2598 kmem_magtype_t *mtp; in kmem_cpucache_magazine_alloc() local
2620 mtp = cp->cache_magtype; in kmem_cpucache_magazine_alloc()
2622 emp = kmem_cache_alloc(mtp->mt_cache, KM_NOSLEEP); in kmem_cpucache_magazine_alloc()
2632 if (ccp->cc_magsize != mtp->mt_magsize) { in kmem_cpucache_magazine_alloc()
2634 kmem_cache_free(mtp->mt_cache, emp); in kmem_cpucache_magazine_alloc()
3305 kmem_magtype_t *mtp = cp->cache_magtype; in kmem_cache_magazine_resize() local
3309 if (cp->cache_chunksize < mtp->mt_maxbuf) { in kmem_cache_magazine_resize()
3312 cp->cache_magtype = ++mtp; in kmem_cache_magazine_resize()
3725 kmem_magtype_t *mtp; in kmem_cache_create() local
3975 for (mtp = kmem_magtype; chunksize <= mtp->mt_minbuf; mtp++) in kmem_cache_create()
[all …]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac.c3248 mactype_t *mtp; in mactype_register() local
3267 mtp = kmem_zalloc(sizeof (*mtp), KM_SLEEP); in mactype_register()
3268 mtp->mt_ident = mtrp->mtr_ident; in mactype_register()
3269 mtp->mt_ops = *ops; in mactype_register()
3270 mtp->mt_type = mtrp->mtr_mactype; in mactype_register()
3271 mtp->mt_nativetype = mtrp->mtr_nativetype; in mactype_register()
3272 mtp->mt_addr_length = mtrp->mtr_addrlen; in mactype_register()
3274 mtp->mt_brdcst_addr = kmem_alloc(mtrp->mtr_addrlen, KM_SLEEP); in mactype_register()
3275 bcopy(mtrp->mtr_brdcst_addr, mtp->mt_brdcst_addr, in mactype_register()
3279 mtp->mt_stats = mtrp->mtr_stats; in mactype_register()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_filter.c1403 match_type_t *mtp = &match_types[index]; in generate_check() local
1408 if (mtp->m_depend != -1) in generate_check()
1409 generate_check(match_types, mtp->m_depend, type); in generate_check()
1411 emitop(mtp->m_optype); in generate_check()
1412 load_value(mtp->m_offset, mtp->m_size); in generate_check()
1413 load_const(mtp->m_value); in generate_check()
1418 if (mtp->m_depend != -1) in generate_check()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_termio.c1787 mdb_tab_cookie_t *mtp; in termio_tab() local
1796 mtp = mdb_tab_init(); in termio_tab()
1797 nres = mdb_tab_command(mtp, buf); in termio_tab()
1802 result = mdb_tab_match(mtp); in termio_tab()
1805 mdb_tab_print(mtp); in termio_tab()
1819 mdb_tab_fini(mtp); in termio_tab()
/illumos-gate/usr/src/data/hwdata/
H A Dusb.ids1512 4128 NOMAD Jukebox Zen Xtra (mtp)
1515 4130 Zen Micro (mtp)
1520 4137 Zen Sleek (mtp)
1524 4151 Zen Vision:M (mtp)
1574 019b 6700 Classic (mtp)
3281 084e GoGear SA60xx (mtp)
5596 4f1f GT-S8000 Jet (mtp)
5621 507d YP-U3 (mtp)
5624 5081 Yepp YP-K3 (mtp)
5626 5083 YP-P2 (mtp)
[all …]