Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 25 of 791) sorted by relevance

12345678910>>...32

/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.c674 dp->tx_ring = dp->rx_ring + dp->rx_desc_size; in gem_alloc_memory()
675 dp->tx_ring_dma = dp->rx_ring_dma + dp->rx_desc_size; in gem_alloc_memory()
678 dp->io_area = dp->tx_ring + dp->tx_desc_size; in gem_alloc_memory()
679 dp->io_area_dma = dp->tx_ring_dma + dp->tx_desc_size; in gem_alloc_memory()
1362 dp->gc.gc_tx_start(dp, in gem_tx_start_unit()
1955 dp->gc.gc_rx_start(dp, in gem_receive()
2925 dp->name, dp->mii_phy_id, dp->mii_phy_addr); in gem_mii_probe_default()
3748 arg->dp = dp; in gem_nd_load()
4715 dp->mtu = gem_prop_get_int(dp, "mtu", dp->mtu); in gem_read_conf()
5121 for (; dp; dp = dp->next) { in gem_suspend()
[all …]
H A Dsfe.c267 { (void) INL(dp, EROMAR); (void) INL(dp, EROMAR); }
557 OUTL(dp, CR, lp->cr | INL(dp, CR)); in sfe_reset_chip_sis900()
562 dp->name, INL(dp, CFG), CFG_BITS_SIS900)); in sfe_reset_chip_sis900()
613 dp->name, INL(dp, CFG), CFG_BITS_DP83815)); in sfe_reset_chip_dp83815()
637 OUTL(dp, TXDP, dp->tx_ring_dma); in sfe_init_chip()
640 OUTL(dp, RXDP, dp->rx_ring_dma); in sfe_init_chip()
693 dp->name, __func__, dp->mc_count, dp->rxmode, RXMODE_BITS)); in sfe_set_rx_filter_dp83815()
1599 OUTL(dp, RXDP, dp->rx_ring_dma + in sfe_interrupt()
1784 #define MDIO_DELAY(dp) {(void) INL(dp, MEAR); (void) INL(dp, MEAR); } argument
1856 dp->name, dp->mii_phy_addr); in sfe_mii_read_sis900()
[all …]
/illumos-gate/usr/src/uts/common/io/usbgem/
H A Dusbgem.c1242 dp->anadv_100t4, dp->anadv_100fdx, dp->anadv_100hdx, in usbgem_mii_config_default()
1774 dp->name, dp->speed); in usbgem_mii_link_check()
2198 dp->name, dp->mii_phy_id); in usbgem_mii_probe_default()
2201 dp->name, dp->mii_phy_id, dp->mii_phy_addr); in usbgem_mii_probe_default()
2477 dp->name, __func__, dp->rx_busy_cnt, dp->tx_busy_cnt)); in usbgem_mac_stop()
3999 dp->mtu = usbgem_prop_get_int(dp, "mtu", dp->mtu); in usbgem_read_conf()
4000 dp->txthr = usbgem_prop_get_int(dp, "txthr", dp->txthr); in usbgem_read_conf()
4001 dp->rxthr = usbgem_prop_get_int(dp, "rxthr", dp->rxthr); in usbgem_read_conf()
4614 dp->name, (void *)dp); in usbgem_disconnect_cb()
4854 dp->rx_buf_len = MAXPKTBUF(dp) + dp->ugc.usbgc_rx_header_len; in usbgem_do_attach()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd.c511 dp->d_rmod->mod_name = fmd_strdup(dp->d_pname, FMD_SLEEP); in fmd_create()
514 fmd_list_append(&dp->d_mod_list, dp->d_rmod); in fmd_create()
628 ASSERT(fmd_list_prev(&dp->d_mod_list) == dp->d_rmod); in fmd_destroy()
629 ASSERT(fmd_list_next(&dp->d_mod_list) == dp->d_rmod); in fmd_destroy()
679 dp->d_clockops->fto_fini(dp->d_clockptr); in fmd_destroy()
852 *dp->d_rootdir != '\0' ? dp->d_rootdir : NULL; in fmd_run()
858 dp->d_clockptr = dp->d_clockops->fto_init(); in fmd_run()
876 dp->d_rmod->mod_queue = fmd_eventq_create(dp->d_rmod, in fmd_run()
906 dp->d_asrus = fmd_asru_hash_create(dp->d_rootdir, name); in fmd_run()
920 if (dp->d_asrus == NULL || dp->d_errlog == NULL || dp->d_fltlog == NULL) in fmd_run()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_pool.c182 return (dsl_dir_hold_obj(dp, obj, name, dp, ddp)); in dsl_pool_open_special_dir()
262 err = dsl_dir_hold_obj(dp, dp->dp_root_dir_obj, in dsl_pool_open()
263 NULL, dp, &dp->dp_root_dir); in dsl_pool_open()
349 err = dsl_scan_init(dp, dp->dp_tx.tx_open_txg); in dsl_pool_open()
367 dsl_dataset_rele(dp->dp_origin_snap, dp); in dsl_pool_close()
369 dsl_dir_rele(dp->dp_mos_dir, dp); in dsl_pool_close()
371 dsl_dir_rele(dp->dp_free_dir, dp); in dsl_pool_close()
373 dsl_dir_rele(dp->dp_leak_dir, dp); in dsl_pool_close()
375 dsl_dir_rele(dp->dp_root_dir, dp); in dsl_pool_close()
472 NULL, dp, &dp->dp_root_dir)); in dsl_pool_create()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_main.c33 #define VMXNET3_ALLOC_OK(dp) ((dp)->cur_mtu <= PAGESIZE) argument
601 mac_link_update(dp->mac, dp->linkState); in vmxnet3_start()
836 dp->alloc_ok = VMXNET3_ALLOC_OK(dp); in vmxnet3_change_mtu()
1156 mustUpdateTx = vmxnet3_tx_complete(dp, &dp->txQueue); in vmxnet3_intr()
1157 mps = vmxnet3_rx_intr(dp, &dp->rxQueue); in vmxnet3_intr()
1163 mac_link_update(dp->mac, dp->linkState); in vmxnet3_intr()
1211 dp->devKstats->ks_private = dp; in vmxnet3_kstat_init()
1256 ASSERT(dp); in vmxnet3_attach()
1262 dp->alloc_ok = VMXNET3_ALLOC_OK(dp); in vmxnet3_attach()
1416 dp->intrType, dp->intrMaskMode, uret); in vmxnet3_attach()
[all …]
H A Dvmxnet3_rx.c44 if ((err = vmxnet3_alloc_dma_mem_1(dp, &rxBuf->dma, (dp->cur_mtu + 18), in vmxnet3_alloc_rxbuf()
55 rxBuf->dp = dp; in vmxnet3_alloc_rxbuf()
95 mutex_enter(&dp->rxPoolLock); in vmxnet3_put_rxpool_buf()
105 mutex_exit(&dp->rxPoolLock); in vmxnet3_put_rxpool_buf()
115 vmxnet3_softc_t *dp = rxBuf->dp; in vmxnet3_put_rxbuf() local
133 mutex_enter(&dp->rxPoolLock); in vmxnet3_get_rxpool_buf()
141 mutex_exit(&dp->rxPoolLock); in vmxnet3_get_rxpool_buf()
158 while (dp->rxPool.nBufs < dp->rxPool.nBufsLimit) { in vmxnet3_rxpool_init()
194 if (!dp->alloc_ok) { in vmxnet3_rx_populate()
245 dp->rxPool.nBufsLimit = vmxnet3_getprop(dp, "RxBufPoolLimit", 0, in vmxnet3_rxqueue_init()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcdos.c67 if((n=dp->maptop++)>=dp->mapsize)
77 dp->maptable[n].physical = dp->phere;
78 dp->maptable[n].logical = dp->lhere;
79 dp->maptable[dp->maptop].logical=0;
131 dp->plast=dp->phere;
133 dp->llast = dp->lhere;
188 dp->buff = realloc(dp->buff,count);
213 if(dp->lhere>dp->lmax)
215 dp->lmax = dp->lhere;
216 dp->pmax = dp->phere;
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c102 dp->rt_abort(dp->rt_hdl, buf); in rio_assert()
113 dp->rt_debug(dp->rt_hdl, "[INFO]: enclosure_minor: " in enclosure_minor()
133 dp->rt_debug(dp->rt_hdl, "[INFO]: enclosure_select:" in enclosure_select()
155 dp->rt_debug(dp->rt_hdl, "[INFO]: smp_minor: " in smp_minor()
174 dp->rt_debug(dp->rt_hdl, "[INFO]: smp_select:" in smp_select()
233 dp->rt_debug(dp->rt_hdl, "[INFO]: nexus_select: " in nexus_select()
272 dp->rt_debug(dp->rt_hdl, "[INFO]: node_select: " in node_select()
299 dp->rt_debug(dp->rt_hdl, "[INFO]: node_select: " in node_select()
611 dp->rt_debug(dp->rt_hdl, "[ERROR]: walk_node " in rcm_notify()
684 if (dp == NULL || dp->rt_debug == NULL || dp->rt_hdl == NULL) in di_retire_device()
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.dir.c74 dp->di_next = dp->di_prev = &dhead; in dinit()
110 } while ((dp = dp->di_prev) != dcwd); in dodirs()
160 dp->di_prev->di_next = dp; in dochngd()
161 dp->di_next->di_prev = dp; in dochngd()
299 if ((dp[0] == '/' || dp[0] == '.') && chdir_(dp) >= 0) { in dfollow()
407 dp->di_next->di_prev = dp; in dopushd()
435 if ((dp = dp->di_prev) == &dhead) in dfind()
436 dp = dp->di_prev; in dfind()
468 dp->di_prev->di_next = dp->di_next; in dopopd()
469 dp->di_next->di_prev = dp->di_prev; in dopopd()
[all …]
/illumos-gate/usr/src/uts/common/io/upf/
H A Dupf_usbgem.c376 dp->name, __func__, dp->rxmode, RXMODE_BITS)); in upf_set_rx_filter()
386 } else if ((dp->rxmode & RXMODE_ALLMULTI) || dp->mc_count > 0) { in upf_set_rx_filter()
398 OUTS(dp, EID, in upf_set_rx_filter()
459 OUTB(dp, ORFBFC, in upf_set_media()
469 OUTB(dp, ORFBFC, in upf_set_media()
626 dp->stats.runt++; in upf_rx_make_packet()
679 OUTB(dp, PHYA, dp->mii_phy_addr, errp, usberr); in upf_mii_read()
719 OUTB(dp, PHYA, dp->mii_phy_addr, errp, usberr); in upf_mii_write()
788 OUTB(dp, GPIO10, in upf_enable_phy()
924 dp->misc_flag = 0; in upf_attach_chip()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_sugar.c90 dp->dtsp_clause_list = dt_node_link(dp->dtsp_clause_list, clause); in dt_sugar_append_clause()
99 dp->dtsp_clause_list = dt_node_link(clause, dp->dtsp_clause_list); in dt_sugar_prepend_clause()
182 dp->dtsp_num_conditions++; in dt_sugar_new_condition()
183 dt_sugar_append_clause(dp, dt_sugar_new_condition_impl(dp, in dt_sugar_new_condition()
210 dt_sugar_visit_all(dp, arg); in dt_sugar_visit_all()
242 dt_sugar_visit_all(dp, arg); in dt_sugar_visit_all()
286 dp->dtsp_num_ifs++; in dt_sugar_visit_all()
381 dt_sugar_append_clause(dp, in dt_sugar_new_basic_block()
463 dt_sugar_parse_t dp = { 0 }; in dt_compile_sugar() local
466 dp.dtsp_dtp = dtp; in dt_compile_sugar()
[all …]
/illumos-gate/usr/src/uts/common/io/axf/
H A Daxf_usbgem.c83 #define AX88172(dp) \ argument
86 #define AX88772(dp) \ argument
332 if (AX88172(dp)) { in axf_reset_phy()
388 if (AX88172(dp)) { in axf_reset_chip()
432 if (AX88172(dp)) { in axf_init_chip()
447 if (AX88172(dp)) { in axf_init_chip()
534 dp->name, __func__, dp->rxmode)); in axf_set_rx_filter()
550 } else if ((dp->rxmode & RXMODE_ALLMULTI) || dp->mc_count > 32) { in axf_set_rx_filter()
897 IN(dp, VCMD_READ_MII_REG, dp->mii_phy_addr, index, in axf_mii_read()
925 OUT(dp, VCMD_WRITE_MII_REG, dp->mii_phy_addr, index, in axf_mii_write()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_rxdring.c226 &dp->dring_cookie[0], &dp->dring_ncookies)) != 0) { in vsw_create_rx_dring()
233 dp->end_idx = 0; in vsw_create_rx_dring()
236 return (dp); in vsw_create_rx_dring()
283 dp->data_sz = (dp->num_bufs * data_sz); in vsw_setup_rx_dring()
288 dp->data_sz, dp->data_addr); in vsw_setup_rx_dring()
371 dp = lp->dringp; in vsw_destroy_rx_dring()
414 kmem_free(dp->data_addr, dp->data_sz); in vsw_destroy_rx_dring()
458 dp->next_txi = dp->restart_peer_txi = 0; in vsw_map_tx_dring()
491 return (dp); in vsw_map_tx_dring()
497 kmem_free(dp, sizeof (*dp)); in vsw_map_tx_dring()
[all …]
/illumos-gate/usr/src/uts/common/io/udmf/
H A Dudmf_usbgem.c306 dp->name, __func__, dp->rxmode)); in udmf_set_rx_filter()
323 } else if ((dp->rxmode & RXMODE_ALLMULTI) || dp->mc_count > 32) { in udmf_set_rx_filter()
340 OUT(dp, PAR, ETHERADDRL, dp->cur_addr.ether_addr_octet, in udmf_set_rx_filter()
376 if (dp->full_duplex) { in udmf_set_media()
494 dp->stats.runt++; in udmf_rx_make_packet()
510 dp->stats.frame++; in udmf_rx_make_packet()
514 dp->stats.crc++; in udmf_rx_make_packet()
520 dp->stats.errrcv++; in udmf_rx_make_packet()
741 udmf_enable_phy(dp); in udmf_mii_probe()
749 udmf_enable_phy(dp); in udmf_mii_init()
[all …]
/illumos-gate/usr/src/uts/common/io/urf/
H A Durf_usbgem.c318 dp->name, __func__, dp->rxmode)); in urf_set_rx_filter()
338 } else if ((dp->rxmode & RXMODE_ALLMULTI) || dp->mc_count > 64/2) { in urf_set_rx_filter()
357 OUTS(dp, IDR, dp->cur_addr.ether_addr_octet, ETHERADDRL, &err, usberr); in urf_set_rx_filter()
507 dp->stats.runt++; in urf_rx_make_packet()
508 dp->stats.errrcv++; in urf_rx_make_packet()
525 dp->stats.runt++; in urf_rx_make_packet()
528 dp->stats.errrcv++; in urf_rx_make_packet()
536 dp->stats.errrcv++; in urf_rx_make_packet()
539 dp->stats.runt++; in urf_rx_make_packet()
736 INS(dp, IDR, dp->dev_addr.ether_addr_octet, ETHERADDRL, &err, usberr); in urf_attach_chip()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dfulldevnm.c197 char *dp; in getblkcomplete() local
250 char *dp; in getrawcomplete() local
339 char *dp; in getfullblkname() local
387 dp++; in getfullblkname()
391 return (dp); in getfullblkname()
400 (void) strcpy(new_path + (dp - cp), dp + 1); in getfullblkname()
411 return (dp); in getfullblkname()
421 char *dp; in getfullrawname() local
469 dp++; in getfullrawname()
478 (void) strcpy(new_path + (dp - cp) + 1, dp); in getfullrawname()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass1.c134 struct dinode *dp; in verify_inode() local
144 (dp->di_mode != 0) || (dp->di_size != 0)) { in verify_inode()
148 clearinode(dp); in verify_inode()
216 &dp->di_db[j] != &dp->di_ordev) { in verify_inode()
310 dp->di_ib[j] = 0; in verify_inode()
347 inumber, dp->di_nlink, dp->di_mode, islog); in verify_inode()
504 struct dinode *dp; in clear_attr_acl() local
525 dp = ginode(victim); in clear_attr_acl()
532 dp->di_shadow = 0; in clear_attr_acl()
533 dp->di_mode &= IFMT; in clear_attr_acl()
[all …]
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Ddir.c168 if ((dp->pcd_ext[i] == ' ') || !(pc_validchar(dp->pcd_ext[i]))) in appendToPath()
348 extractSize(dp), extractStartCluster(dp)); in storeInfoAboutEntry()
408 *found = dp; in searchChecks()
411 *found = dp; in searchChecks()
528 longdp = dp; in visitNodes()
530 dp++; in visitNodes()
540 dp++; in visitNodes()
556 dp++; in visitNodes()
569 *dirEnd = dp; in visitNodes()
879 getNow(&dp->pcd_crtime, &dp->pcd_crtime_msec); in updateDirEnt_CreatTime()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_disasm.c67 if (ctor(dp) == 0) { in mdb_dis_create()
71 dp->dis_ops->dis_destroy(dp); in mdb_dis_create()
81 mdb.m_disasm = dp; in mdb_dis_create()
84 mdb.m_disasm = dp; in mdb_dis_create()
89 return (dp); in mdb_dis_create()
103 dp->dis_ops->dis_destroy(dp); in mdb_dis_destroy()
114 return (dp->dis_ops->dis_ins2str(dp, t, as, buf, len, addr)); in mdb_dis_ins2str()
121 return (dp->dis_ops->dis_previns(dp, t, as, addr, n)); in mdb_dis_previns()
128 return (dp->dis_ops->dis_nextins(dp, t, as, addr)); in mdb_dis_nextins()
164 mdb_printf("%-24s - %s\n", dp->dis_name, dp->dis_desc); in print_dis()
[all …]
/illumos-gate/usr/src/uts/common/fs/dcfs/
H A Ddc_vnops.c788 dp->dc_lrunext = dp->dc_lruprev = NULL; in dcnode_constructor()
873 kmem_free(dp->dc_hdr, dp->dc_hdrsize); in dcnode_recycle()
875 dp->dc_hdrsize = dp->dc_zmax = 0; in dcnode_recycle()
1050 for (prevdp = dp, dp = dp->dc_hash; dp != NULL; in dcdelete()
1051 prevdp = dp, dp = dp->dc_hash) { in dcdelete()
1070 for (dp = dctable[DCHASH(vp)]; dp != NULL; dp = dp->dc_hash) in dcfind()
1089 for (dp = dclru; dp->dc_lrunext != dclru; dp = dp->dc_lrunext) in dclru_count()
1104 dp->dc_lruprev = dp->dc_lrunext = dp; in dclru_add()
1121 dp->dc_lrunext->dc_lruprev = dp->dc_lruprev; in dclru_sub()
1124 dclru = dp->dc_lrunext == dp ? NULL : dp->dc_lrunext; in dclru_sub()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_dp.c206 fmd_buf_write(hdl, NULL, dp->dp_bufname, &dp->dp_pers, in dp_buf_write()
213 cmd_dp_t *dp; in dp_wrapv0() local
223 return (dp); in dp_wrapv0()
229 cmd_dp_t *dp; in cmd_dp_restore() local
231 for (dp = cmd_list_next(&cmd.cmd_datapaths); dp != NULL; in cmd_dp_restore()
232 dp = cmd_list_next(dp)) { in cmd_dp_restore()
268 dp = dp_wrapv0(hdl, (cmd_dp_pers_t *)dp, dpsz); in cmd_dp_restore()
292 return (dp); in cmd_dp_restore()
307 for (dp = cmd_list_next(&cmd.cmd_datapaths); dp != NULL; in cmd_dp_timeout()
308 dp = cmd_list_next(dp)) { in cmd_dp_timeout()
[all …]
/illumos-gate/usr/src/ucbcmd/whereis/
H A Dwhereis.c223 char *dp; in lookup() local
225 for (dp = cp; *dp; dp++) in lookup()
227 for (; dp > cp; dp--) { in lookup()
229 *dp = 0; in lookup()
233 for (dp = cp; *dp; dp++) in lookup()
234 if (*dp == '/') in lookup()
235 cp = dp + 1; in lookup()
338 if (dp[0] == 's' && dp[1] == '.' && itsit(cp, dp+2)) in itsit()
340 while (*cp && *dp && *cp == *dp) in itsit()
345 dp++; in itsit()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.c472 topo_mod_strfree(dp->dp_mod, dp->dp_devtype); in did_destroy()
474 topo_mod_strfree(dp->dp_mod, dp->dp_physlot_name); in did_destroy()
476 topo_mod_strfree(dp->dp_mod, dp->dp_slot_label); in did_destroy()
478 topo_mod_free(dp->dp_mod, dp, sizeof (did_t)); in did_destroy()
618 did_t *dp; in pci_BDF_get() local
625 did_rele(dp); in pci_BDF_get()
632 did_t *dp; in pci_classcode_get() local
642 did_rele(dp); in pci_classcode_get()
649 did_t *dp; in pci_devtype_get() local
653 did_rele(dp); in pci_devtype_get()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c333 for (dp = data; dp; dp = dp->next) { in report()
338 for (dp = data; dp; dp = dp->next) { in report()
544 dp = data; in fpkg()
546 while (dp) { in fpkg()
549 last = dp; in fpkg()
550 dp = dp->next; in fpkg()
553 if (!dp) { in fpkg()
558 data = dp; in fpkg()
562 return (dp); in fpkg()
731 dp->info++; in pkgusage()
[all …]

12345678910>>...32