Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/i86pc/i86hvm/io/
H A Dxdf_shell.c185 xdfs_tgt_hold(xdfs_state_t *xsp) in xdfs_tgt_hold() argument
187 mutex_enter(&xsp->xdfss_mutex); in xdfs_tgt_hold()
188 ASSERT(xsp->xdfss_tgt_holds >= 0); in xdfs_tgt_hold()
189 if (!xsp->xdfss_tgt_attached) { in xdfs_tgt_hold()
190 mutex_exit(&xsp->xdfss_mutex); in xdfs_tgt_hold()
193 xsp->xdfss_tgt_holds++; in xdfs_tgt_hold()
194 mutex_exit(&xsp->xdfss_mutex); in xdfs_tgt_hold()
199 xdfs_tgt_release(xdfs_state_t *xsp) in xdfs_tgt_release() argument
201 mutex_enter(&xsp->xdfss_mutex); in xdfs_tgt_release()
202 ASSERT(xsp->xdfss_tgt_attached); in xdfs_tgt_release()
[all …]
H A Dpv_cmdk.c119 xdfs_get_modser(xdfs_state_t *xsp, int ioccmd, char *buf, int len) in xdfs_get_modser() argument
132 scsi_device = ddi_get_driver_private(xsp->xdfss_dip); in xdfs_get_modser()
166 xdfs_devid_modser(xdfs_state_t *xsp) in xdfs_devid_modser() argument
177 modlen = xdfs_get_modser(xsp, DIOCTL_GETMODEL, hwid, CMDK_HWIDLEN); in xdfs_devid_modser()
182 serlen = xdfs_get_modser(xsp, DIOCTL_GETSERIAL, in xdfs_devid_modser()
190 rc = ddi_devid_init(xsp->xdfss_dip, DEVID_ATA_SERIAL, modlen + serlen, in xdfs_devid_modser()
191 hwid, (ddi_devid_t *)&xsp->xdfss_tgt_devid); in xdfs_devid_modser()
213 xdfs_devid_read(xdfs_state_t *xsp) in xdfs_devid_read() argument
220 if (cmlb_get_devid_block(xsp->xdfss_cmlbhandle, &blk, 0) != 0) in xdfs_devid_read()
224 if (xdfs_lb_rdwr(xsp->xdfss_dip, in xdfs_devid_read()
[all …]
H A Dpv_sd.c68 xdfs_c_ioctl(xdfs_state_t *xsp, dev_t dev, int part, in xdfs_c_ioctl() argument
71 dev_info_t *dip = xsp->xdfss_dip; in xdfs_c_ioctl()
81 if ((rv = ldi_ioctl(xsp->xdfss_tgt_lh[part], in xdfs_c_ioctl()
121 xdfs_c_devid_setup(xdfs_state_t *xsp) in xdfs_c_devid_setup() argument
145 xdfs_c_bb_check(xdfs_state_t *xsp) in xdfs_c_bb_check() argument
156 xdfs_c_cmlb_node_type(xdfs_state_t *xsp) in xdfs_c_cmlb_node_type() argument
158 return (xsp->xdfss_tgt_is_cd ? DDI_NT_CD_CHAN : DDI_NT_BLOCK_CHAN); in xdfs_c_cmlb_node_type()
163 xdfs_c_cmlb_alter_behavior(xdfs_state_t *xsp) in xdfs_c_cmlb_alter_behavior() argument
169 xdfs_c_attach(xdfs_state_t *xsp) in xdfs_c_attach() argument
171 dev_info_t *dip = xsp->xdfss_dip; in xdfs_c_attach()
[all …]
/titanic_50/usr/src/lib/scsi/libscsi/common/
H A Dscsi_status.c683 struct scsi_extended_sense *xsp; in libscsi_action_parse_sense() local
687 if (libscsi_action_get_sense(ap, (uint8_t **)&xsp, NULL, &len) != 0) in libscsi_action_parse_sense()
690 sdsp = (struct scsi_descr_sense_hdr *)xsp; in libscsi_action_parse_sense()
693 *keyp = (uint64_t)xsp->es_key; in libscsi_action_parse_sense()
695 switch (xsp->es_code) { in libscsi_action_parse_sense()
709 if (xsp->es_valid && blkp != NULL) in libscsi_action_parse_sense()
711 ((xsp->es_info_1 << 24) | (xsp->es_info_2 << 16) | in libscsi_action_parse_sense()
712 (xsp->es_info_3 << 8) | xsp->es_info_4); in libscsi_action_parse_sense()
713 if (xsp->es_add_len >= 6) { in libscsi_action_parse_sense()
715 *ascp = (uint64_t)xsp->es_add_code; in libscsi_action_parse_sense()
[all …]
/titanic_50/usr/src/lib/libc/port/threads/
H A Ddoor_calls.c516 struct door_xsync *xsp = (struct door_xsync *)arg; in door_xcreate_startf() local
517 struct door_xsync_shared *xssp = xsp->sharedp; in door_xcreate_startf()
543 ASSERT(xsp->state == DOOR_XSYNC_CREATEWAIT || in door_xcreate_startf()
544 xsp->state == DOOR_XSYNC_ABORT); in door_xcreate_startf()
546 if (xsp->state == DOOR_XSYNC_ABORT) in door_xcreate_startf()
549 xsp->state = next_state; in door_xcreate_startf()
559 while (xsp->state == DOOR_XSYNC_BOUND) in door_xcreate_startf()
562 next_state = xsp->state; in door_xcreate_startf()
582 struct door_xsync *xsp; in door_xcreate_n() local
614 size_t sz = sizeof (*xssp) + n * sizeof (*xsp) + 32; in door_xcreate_n()
[all …]
/titanic_50/usr/src/uts/common/avs/ns/dsw/
H A Ddsw.c273 struct ii_state *xsp; in iiattach() local
292 xsp = ddi_get_soft_state(ii_statep, instance); in iiattach()
293 if (xsp == NULL) { in iiattach()
389 xsp->dip = dip; in iiattach()
390 xsp->instance = instance; in iiattach()
416 struct ii_state *xsp; in iidetach() local
429 xsp = ddi_get_soft_state(ii_statep, instance); in iidetach()
430 if (xsp == NULL) { in iidetach()
/titanic_50/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_dev.c429 nsc_path_t *xsp, **spp; local
434 for (xsp = _nsc_path_top; xsp; xsp = xsp->sp_next)
435 if (xsp == sp)
438 if (!xsp || sp->sp_pend) {
440 return (xsp ? EALREADY : 0);
/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_misc.c425 struct sdbc_state *xsp; in _sdbc_getinfo() local
443 xsp = ddi_get_soft_state(sdbc_statep, instance); in _sdbc_getinfo()
444 if (xsp == NULL) in _sdbc_getinfo()
446 *result = (void *) xsp->dip; in _sdbc_getinfo()
/titanic_50/usr/src/lib/libsqlite/tool/
H A Dlemon.c1150 struct symbol *sp, *xsp; local
1168 xsp = rp->rhs[i];
1169 if( xsp->type==TERMINAL ){
1170 SetAdd(newcfp->fws,xsp->index);
1173 SetUnion(newcfp->fws,xsp->firstset);
1174 if( xsp->lambda==B_FALSE ) break;