/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_netops.c | 118 dls_dl_handle_t ddh = NULL; in devnet_lookup() local 162 error = devnet_create_rvp(nm, &vattr, &ddh); in devnet_lookup() 168 dls_devnet_close(ddh); in devnet_lookup() 187 dv->sdev_private = ddh; in devnet_lookup() 211 dls_dl_handle_t ddh = NULL; in devnet_filldir_datalink() local 222 if (devnet_create_rvp(link, &vattr, &ddh) != 0) in devnet_filldir_datalink() 225 ASSERT(ddh != NULL); in devnet_filldir_datalink() 226 dls_devnet_close(ddh); in devnet_filldir_datalink() 336 dls_dl_handle_t ddh; in devnet_inactive_callback() local 343 ddh = sdvp->sdev_private; in devnet_inactive_callback() [all …]
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls_mgmt.c | 1281 dls_dev_handle_t ddh; in dls_devnet_hold_by_name() local 1338 if (softmac_hold_device(phy_dev, &ddh) != 0) in dls_devnet_hold_by_name() 1347 softmac_rele_device(ddh); in dls_devnet_hold_by_name() 1351 softmac_rele_device(ddh); in dls_devnet_hold_by_name() 1356 softmac_rele_device(ddh); in dls_devnet_hold_by_name() 1431 dls_dev_handle_t ddh = NULL; in dls_devnet_rename() local 1444 softmac_hold_device(phydev, &ddh) == 0) { in dls_devnet_rename() 1445 softmac_rele_device(ddh); in dls_devnet_rename() 1453 (void) softmac_hold_device(phydev, &ddh); in dls_devnet_rename() 1461 softmac_rele_device(ddh); in dls_devnet_rename() [all …]
|
H A D | dls.c | 41 dls_open(dls_link_t *dlp, dls_dl_handle_t ddh, dld_str_t *dsp) in dls_open() argument 77 dsp->ds_ddh = ddh; in dls_open()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_config.c | 480 ddt_histogram_t *ddh; in spa_config_generate() local 484 ddh = kmem_zalloc(sizeof (ddt_histogram_t), KM_SLEEP); in spa_config_generate() 485 ddt_get_dedup_histogram(spa, ddh); in spa_config_generate() 488 (uint64_t *)ddh, sizeof (*ddh) / sizeof (uint64_t)); in spa_config_generate() 489 kmem_free(ddh, sizeof (ddt_histogram_t)); in spa_config_generate()
|
H A D | ddt.c | 410 ddt_histogram_t *ddh; in ddt_stat_update() local 418 ddh = &ddt->ddt_histogram[dde->dde_type][dde->dde_class]; in ddt_stat_update() 420 ddt_stat_add(&ddh->ddh_stat[bucket], &dds, neg); in ddt_stat_update() 431 ddt_histogram_stat(ddt_stat_t *dds, const ddt_histogram_t *ddh) in ddt_histogram_stat() argument 436 ddt_stat_add(dds, &ddh->ddh_stat[h], 0); in ddt_histogram_stat() 440 ddt_histogram_empty(const ddt_histogram_t *ddh) in ddt_histogram_empty() argument 442 const uint64_t *s = (const uint64_t *)ddh; in ddt_histogram_empty() 443 const uint64_t *s_end = (const uint64_t *)(ddh + 1); in ddt_histogram_empty() 478 ddt_get_dedup_histogram(spa_t *spa, ddt_histogram_t *ddh) in ddt_get_dedup_histogram() argument 485 ddt_histogram_add(ddh, in ddt_get_dedup_histogram()
|
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_pool.c | 71 zpool_dump_ddt(const ddt_stat_t *dds_total, const ddt_histogram_t *ddh) in zpool_dump_ddt() argument 95 dump_ddt_stat(&ddh->ddh_stat[h], h); in zpool_dump_ddt()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | ddt.h | 210 extern void ddt_histogram_stat(ddt_stat_t *dds, const ddt_histogram_t *ddh); 211 extern boolean_t ddt_histogram_empty(const ddt_histogram_t *ddh); 213 extern void ddt_get_dedup_histogram(spa_t *spa, ddt_histogram_t *ddh);
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_provider.c | 1147 ddi_intr_handle_t ddh) in mac_pseudo_ring_intr_retarget() argument 1196 pring->mr_info.mri_intr.mi_ddi_handle = ddh; in mac_pseudo_ring_intr_retarget() 1199 if (ddh != NULL) in mac_pseudo_ring_intr_retarget() 1212 mac_ring_intr_set(mac_ring_handle_t mrh, ddi_intr_handle_t ddh) in mac_ring_intr_set() argument 1219 ring->mr_info.mri_intr.mi_ddi_handle = ddh; in mac_ring_intr_set() 1220 if (ddh == NULL) { in mac_ring_intr_set() 1224 mac_pseudo_ring_intr_retarget(mip, ring, ddh); in mac_ring_intr_set() 1236 mac_pseudo_ring_intr_retarget(mip, ring, ddh); in mac_ring_intr_set()
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_main.c | 1614 softmac_rele_device(dls_dev_handle_t ddh) in softmac_rele_device() argument 1616 if (ddh != NULL) in softmac_rele_device() 1617 softmac_rele((softmac_t *)ddh); in softmac_rele_device()
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_drv.c | 381 dls_dev_handle_t ddh; in drv_ioc_phys_attr() local 401 if ((err = softmac_hold_device(phydev, &ddh)) != 0) in drv_ioc_phys_attr() 422 softmac_rele_device(ddh); in drv_ioc_phys_attr()
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 6992 ddt_histogram_t *ddh; in print_dedup_stats() local 7024 (uint64_t **)&ddh, &c) == 0); in print_dedup_stats() 7025 zpool_dump_ddt(dds, ddh); in print_dedup_stats()
|