Home
last modified time | relevance | path

Searched refs:dsp (Results 1 – 25 of 62) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls.c73 dsp->ds_dlp = dlp; in dls_open()
77 dsp->ds_ddh = ddh; in dls_open()
118 dls_unbind(dsp); in dls_close()
205 dls_link_add(dsp->ds_dlp, dls_sap, dsp); in dls_bind()
206 if (dsp->ds_nonip && dsp->ds_dlp->dl_nonip_cnt++ == 0) in dls_bind()
217 if (dsp->ds_nonip && --dsp->ds_dlp->dl_nonip_cnt == 0) in dls_unbind()
237 dls_link_remove(dsp->ds_dlp, dsp); in dls_unbind()
238 dsp->ds_sap = 0; in dls_unbind()
296 dls_rx_promisc, dsp, &dsp->ds_mph, mac_flags); in dls_promisc()
328 dls_rx_promisc, dsp, &dsp->ds_mph, mac_flags); in dls_promisc()
[all …]
H A Ddls_link.c284 dld_str_t *dsp; in i_dls_link_rx_func() local
311 for (dsp = dhp->dh_list; dsp != NULL; dsp = dsp->ds_next) { in i_dls_link_rx_func()
347 dld_str_t *dsp; in i_dls_link_rx() local
441 for (dsp = dhp->dh_list; dsp != NULL; dsp = dsp->ds_next) in i_dls_link_rx()
449 if (dsp == NULL) { in i_dls_link_rx()
491 dsp = ndsp; in i_dls_link_rx()
1032 dsp->ds_next = p; in dls_link_add()
1036 dhp->dh_list = dsp; in dls_link_add()
1041 dsp->ds_head = dhp; in dls_link_add()
1066 dhp = dsp->ds_head; in dls_link_remove()
[all …]
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dlibdiskstatus.c69 disk_status_t *dsp; in disk_status_open() local
80 free(dsp); in disk_status_open()
103 if ((dsp->ds_data = t->dt_open(dsp)) == NULL) { in disk_status_open()
121 return (dsp); in disk_status_open()
135 if (dsp->ds_data) in disk_status_close()
136 dsp->ds_transport->dt_close(dsp->ds_data); in disk_status_close()
138 free(dsp->ds_path); in disk_status_close()
139 free(dsp); in disk_status_close()
178 dsp->ds_testfail = dsp->ds_overtemp = dsp->ds_predfail = NULL; in disk_status_get()
179 dsp->ds_faults = 0; in disk_status_get()
[all …]
H A Dds_util.c166 ds_set_errno(disk_status_t *dsp, int error) in ds_set_errno() argument
168 dsp->ds_error = error; in ds_set_errno()
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c275 dld_str_t *dsp; in dld_str_open() local
352 cv_wait(&dsp->ds_dlpi_pending_cv, &dsp->ds_lock); in dld_str_close()
657 return (dsp); in dld_str_create()
677 dsp->ds_rq = dsp->ds_wq = NULL; in dld_str_destroy()
963 max_sdu = dsp->ds_lso ? dsp->ds_lso_max : max_sdu; in str_mdata_raw_put()
1068 dsp->ds_mnh = mac_notify_add(dsp->ds_mh, str_notify, dsp); in dld_str_attach()
2026 dsp->ds_pending_head = dsp->ds_pending_tail = mp; in dld_wput_nondata()
2146 if (dsp->ds_polling || dsp->ds_direct) { in ioc_raw()
2156 dls_rx_set(dsp, dld_str_rx_raw, dsp); in ioc_raw()
2246 if (!dsp->ds_polling && !dsp->ds_direct) in ioc_fast()
[all …]
H A Ddld_proto.c126 proto_req(dsp, mp); in dld_proto()
231 if (dsp->ds_native) in proto_info_req()
388 dld_str_detach(dsp); in proto_detach_req()
444 dls_rx_set(dsp, (dsp->ds_mode == DLD_RAW) ? in proto_bind_req()
451 dsp->ds_nonip = !check_mod_above(dsp->ds_rq, "ip") && in proto_bind_req()
527 cv_wait(&dsp->ds_datathr_cv, &dsp->ds_lock); in proto_unbind_req()
536 dls_unbind(dsp); in proto_unbind_req()
547 dsp->ds_lso_max = 0; in proto_unbind_req()
764 if ((dsp->ds_dmap == NULL) && (err = dls_active_set(dsp)) != 0) { in proto_enabmulti_req()
1379 dls_rx_set(dsp, (dsp->ds_mode == DLD_FASTPATH) ? in dld_capab_direct()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Ddrcompat.c199 dsp = kmem_zalloc(sizeof (*dsp), KM_SLEEP); in dropen()
214 ASSERT(dsp); in drclose()
219 kmem_free(dsp, sizeof (*dsp)); in drclose()
256 dsp = q->q_ptr; in drrput()
267 dip = dsp->dr_dip[dsp->dr_nlast]; in drrput()
268 dsp->dr_dip[dsp->dr_nlast] = NULL; in drrput()
291 dip = dsp->dr_dip[dsp->dr_nlast]; in drrput()
292 dsp->dr_dip[dsp->dr_nlast] = NULL; in drrput()
356 dsp->dr_dip[dsp->dr_nfirst] = dip; in drwput()
362 ASSERT(dsp->dr_nfirst != dsp->dr_nlast); in drwput()
[all …]
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dac_del.c84 dsp = (struct del_status *)kmem_zalloc(sizeof (*dsp), KM_SLEEP); in ac_del_alloc_status()
87 ac_del_list = dsp; in ac_del_alloc_status()
90 return (dsp); in ac_del_alloc_status()
101 if (*dspp == dsp) in ac_del_free_status()
110 kmem_free((void *)dsp, sizeof (*dsp)); in ac_del_free_status()
124 if (adsp == dsp) in del_comp()
145 dsp = arg; in del_to_scan()
173 if (dsp->del_noprogress >= dsp->del_timeout) { in del_to_scan()
182 dsp->to_id = 0; in del_to_scan()
192 dsp->to_id = timeout(del_to_scan, dsp, hz); in del_to_start()
[all …]
/illumos-gate/usr/src/lib/libds/common/
H A Dlibds.c90 dslibentry_t *dsp; in ds_hdl_to_dslibentry() local
92 for (i = 0, dsp = dslibtab; i < ndslib; i++, dsp++) { in ds_hdl_to_dslibentry()
94 return (dsp); in ds_hdl_to_dslibentry()
106 return (dsp); in ds_new_dslibentry()
116 return (dsp); in ds_new_dslibentry()
127 for (i = 0, dsp = dslibtab; i < ndslib; i++, dsp++) { in ds_service_count()
144 for (i = 0, dsp = dslibtab; i < ndslib; i++, dsp++) { in ds_lookup_dslibentry()
148 return (dsp); in ds_lookup_dslibentry()
161 return (dsp); in ds_register_dslibentry()
182 return (dsp); in ds_register_dslibentry()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Ddld_impl.h226 #define DLD_DATATHR_INC(dsp) { \ argument
228 dsp->ds_datathr_cnt++; \
231 #define DLD_DATATHR_DCR(dsp) { \ argument
232 mutex_enter(&(dsp)->ds_lock); \
233 (dsp)->ds_datathr_cnt--; \
236 mutex_exit(&(dsp)->ds_lock); \
309 #define DLD_SETQFULL(dsp) { \ argument
310 queue_t *q = (dsp)->ds_wq; \
316 qenable((dsp)->ds_wq); \
326 #define DLD_CLRQFULL(dsp) { \ argument
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_send.c116 dsp->dsa_err = vn_rdwr(UIO_WRITE, dsp->dsa_vp, in dump_bytes()
121 *dsp->dsa_off += len; in dump_bytes()
124 return (dsp->dsa_err); in dump_bytes()
139 &dsp->dsa_zc); in dump_record()
145 dsp->dsa_drr->drr_u.drr_checksum.drr_checksum = dsp->dsa_zc; in dump_record()
153 if (dump_bytes(dsp, dsp->dsa_drr, sizeof (dmu_replay_record_t)) != 0) in dump_record()
157 &dsp->dsa_zc); in dump_record()
960 dmu_sendarg_t *dsp; in dmu_send_impl() local
1074 dsp->dsa_vp = vp; in dmu_send_impl()
1077 dsp->dsa_os = os; in dmu_send_impl()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_decl.c134 dsp->ds_decl = ddp; in dt_decl_push()
536 if (dsp == NULL) in dt_decl_member()
677 if (ctf_add_member(dsp->ds_ctfp, dsp->ds_type, in dt_decl_member()
746 if (dsp == NULL) in dt_decl_enumerator()
764 dsp->ds_ctfp, dsp->ds_type, dnp->dn_string, &value) != 0) { in dt_decl_enumerator()
784 if (ctf_add_enumerator(dsp->ds_ctfp, dsp->ds_type, in dt_decl_enumerator()
822 dt_node_type_assign(dnp, dsp->ds_ctfp, dsp->ds_type, B_FALSE); in dt_decl_enumerator()
1111 for (; dsp != NULL; dsp = nsp) { in dt_scope_destroy()
1116 free(dsp); in dt_scope_destroy()
1126 if (dsp == NULL) in dt_scope_push()
[all …]
H A Ddt_module.c61 dsp->ds_symid = id; in dt_module_symhash_insert()
199 for (i = 1; i < n; i++, dsp++) { in dt_module_symsort32()
223 for (i = 1; i < n; i++, dsp++) { in dt_module_symsort64()
271 const dt_sym_t *dsp; in dt_module_symname32() local
280 dsp = &dmp->dm_symchains[i]; in dt_module_symname32()
281 sym = symtab + dsp->ds_symid; in dt_module_symname32()
285 *idp = dsp->ds_symid; in dt_module_symname32()
301 const dt_sym_t *dsp; in dt_module_symname64() local
310 dsp = &dmp->dm_symchains[i]; in dt_module_symname64()
311 sym = symtab + dsp->ds_symid; in dt_module_symname64()
[all …]
H A Ddt_parser.c1424 dt_dclass_t class = dsp->ds_class; in dt_node_decl()
1442 if (dsp->ds_ident == NULL) { in dt_node_decl()
1522 dsp->ds_ident) != CTF_ERR) { in dt_node_decl()
1598 dsp->ds_ident, NULL) == 0 || in dt_node_decl()
1600 dsp->ds_ident, NULL) == 0) { in dt_node_decl()
1637 " %s\n", dsp->ds_ident); in dt_node_decl()
1674 dsp->ds_ident, in dt_node_decl()
1727 dsp->ds_ident, id); in dt_node_decl()
1756 free(dsp->ds_ident); in dt_node_decl()
1757 dsp->ds_ident = NULL; in dt_node_decl()
[all …]
/illumos-gate/usr/src/common/devid/
H A Ddevid.c247 dsp = sbuf; in ddi_devid_str_encode()
251 *dsp++ = ','; in ddi_devid_str_encode()
254 *dsp++ = '@'; in ddi_devid_str_encode()
258 *dsp++ = ta; in ddi_devid_str_encode()
262 *dsp++ = '_'; in ddi_devid_str_encode()
276 *dsp++ = '/'; in ddi_devid_str_encode()
279 *dsp++ = 0; in ddi_devid_str_encode()
431 *dp = *dsp; in devid_str_decode_id()
432 dsp++; in devid_str_decode_id()
434 c = *dsp++; in devid_str_decode_id()
[all …]
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dnhm_init.c141 dsp->dimm; in dimm_label()
152 dsp->channel++; in dimm_label()
153 if (dsp->dimm == 2) in dimm_label()
155 dsp->dimm = 0; in dimm_label()
166 dsp->channel++; in dimm_label()
191 dsp->dimm++; in dimm_label()
192 if (dsp->dimm == dsp->max_dimm) { in dimm_label()
193 dsp->dimm = 0; in dimm_label()
194 dsp->channel++; in dimm_label()
196 dsp->channel = 0; in dimm_label()
[all …]
/illumos-gate/usr/src/uts/common/inet/dlpistub/
H A Ddlpistub.c135 dlpistub_t *dsp; in ds_open() local
155 dsp->ds_type = type; in ds_open()
157 dsp->ds_state = DL_UNATTACHED; in ds_open()
159 q->q_ptr = WR(q)->q_ptr = dsp; in ds_open()
169 dlpistub_t *dsp = q->q_ptr; in ds_close() local
199 dlpistub_t *dsp = q->q_ptr; in ds_wput() local
220 dsp->ds_state = DL_UNBOUND; in ds_wput()
231 dsp->ds_state = DL_IDLE; in ds_wput()
261 if (dsp->ds_state != DL_IDLE) in ds_wput()
264 dsp->ds_state = DL_UNBOUND; in ds_wput()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c907 rfs4_deleg_state_t *dsp; member
915 rfs4_deleg_state_t *dsp = arg->dsp; in do_recall() local
994 for (dsp = list_head(&fp->rf_delegstatelist); dsp != NULL; in do_recall_file()
995 dsp = list_next(&fp->rf_delegstatelist, dsp)) { in do_recall_file()
1014 arg->dsp = dsp; in do_recall_file()
1474 if (dsp == NULL) { in rfs4_check_delegated_byfp()
1598 if (dsp == NULL) in rfs4_deleg_state()
1615 return (dsp); in rfs4_deleg_state()
1750 return (dsp); in rfs4_deleg_state()
1877 for (dsp = list_head(&fp->rf_delegstatelist); dsp != NULL; in rfs4_is_deleg()
[all …]
H A Dnfs4_state.c3039 return (ADDRHASH(dsp->rds_client) ^ ADDRHASH(dsp->rds_finfo)); in deleg_hash()
3120 dsp->rds_delegid = get_stateid(rfs4_dbe_getid(dsp->rds_dbe)); in rfs4_deleg_state_create()
3122 dsp->rds_finfo = fp; in rfs4_deleg_state_create()
3123 dsp->rds_client = cp; in rfs4_deleg_state_create()
3144 dsp->rds_finfo = NULL; in rfs4_deleg_state_destroy()
3163 return (dsp); in rfs4_finddeleg()
3176 return (dsp); in rfs4_finddelegstate()
3628 if (dsp == NULL) { in rfs4_get_deleg_state()
3637 *dspp = dsp; in rfs4_get_deleg_state()
3702 *dspp = dsp; in rfs4_get_all_state()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y924 assert(dsp != NULL); in declspec_Construct()
926 dsp->ds_id = NULL; in declspec_Construct()
930 return (dsp); in declspec_Construct()
937 free(dsp->ds_id); in declspec_Destroy()
938 free(dsp); in declspec_Destroy()
964 return (dsp); in declspec_Init()
1034 dsp->ds_stt = s1; in declspec_AddSTT()
1040 dsp->ds_stt |= s2; in declspec_AddSTT()
1042 return (dsp); in declspec_AddSTT()
1054 free(dsp->ds_id); in declspec_AddDS()
[all …]
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dglobals.c134 const conv_ds_t **dsp, Conv_fmt_flags_t fmt_flags, Conv_inv_buf_t *inv_buf, in _conv_map_ds() argument
139 for (ds = *dsp; ds != NULL; ds = *(++dsp)) { in _conv_map_ds()
270 _conv_iter_ds(conv_iter_osabi_t osabi, Half mach, const conv_ds_t **dsp, in _conv_iter_ds() argument
275 for (ds = *dsp; ds != NULL; ds = *(++dsp)) { in _conv_iter_ds()
/illumos-gate/usr/src/uts/intel/audioemu10k/
H A DMakefile40 DSP_SRCDIR = $(UTSBASE)/common/io/audio/drv/audioemu10k/dsp
43 DSP_SNAMES = emu10k.dsp emu10k1.mac emu10k2.mac
93 $(CPP) -D$(MODEL10K) -I$(DSP_SRCDIR) $(DSP_SRCDIR)/emu10k.dsp | \
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c1557 const mdb_gelf_dsym_t *dsp; in mdb_gelf_sym_name() local
1569 if (dsp != NULL) in mdb_gelf_sym_name()
1592 const mdb_gelf_dsym_t *dsp; in mdb_gelf_symtab_lookup_by_addr() member
1625 *idp = u.dsp->ds_id; in mdb_gelf_symtab_lookup_by_addr()
1650 *idp = dsp->ds_id; in mdb_gelf_symtab_lookup_by_name()
1743 mdb_gelf_dsym_t *dsp; in mdb_gelf_symtab_iter() local
1749 symp = s2gelf(dsp, &sym); in mdb_gelf_symtab_iter()
1751 dsp->ds_id) == -1) in mdb_gelf_symtab_iter()
1790 mdb_gelf_dsym_t *dsp; in mdb_gelf_symtab_insert() local
1801 dsp->ds_id = gst->gst_id++; in mdb_gelf_symtab_insert()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd.c381 sbd_dev_stat_t *dsp);
4079 msp = &dsp->d_mem; in sbd_mem_status()
4160 dsp->ds_suspend); in sbd_mem_status()
4167 dsp++; in sbd_mem_status()
4511 switch (dsp->d_cm.ci_type) { in sbd_status()
4526 (int32_t)dsp->d_mem.ms_type; in sbd_status()
4530 (int32_t)dsp->d_mem.ms_cond; in sbd_status()
4554 dsp->d_mem.ms_peer_ap_id); in sbd_status()
4561 (int32_t)dsp->d_io.is_type; in sbd_status()
4570 bcopy(dsp->d_io.is_pathname, in sbd_status()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_acl.c1419 si_t *dsp; in ufs_acl_cp() local
1424 dsp = kmem_zalloc(sizeof (si_t), KM_SLEEP); in ufs_acl_cp()
1425 rw_init(&dsp->s_lock, NULL, RW_DEFAULT, NULL); in ufs_acl_cp()
1427 acl_cpy(sp->aowner, (ufs_ic_acl_t *)&dsp->aowner); in ufs_acl_cp()
1428 acl_cpy(sp->agroup, (ufs_ic_acl_t *)&dsp->agroup); in ufs_acl_cp()
1429 acl_cpy(sp->aother, (ufs_ic_acl_t *)&dsp->aother); in ufs_acl_cp()
1430 acl_cpy(sp->ausers, (ufs_ic_acl_t *)&dsp->ausers); in ufs_acl_cp()
1433 dsp->aclass.acl_ismask = sp->aclass.acl_ismask; in ufs_acl_cp()
1436 acl_cpy(sp->downer, (ufs_ic_acl_t *)&dsp->downer); in ufs_acl_cp()
1442 dsp->dclass.acl_ismask = sp->dclass.acl_ismask; in ufs_acl_cp()
[all …]

123