Home
last modified time | relevance | path

Searched refs:xp (Results 1 – 25 of 96) sorted by relevance

1234

/titanic_53/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_sata.c58 pmcs_sata_special_work(pmcs_hw_t *pwp, pmcs_xscsi_t *xp) in pmcs_sata_special_work() argument
73 if (xp->actv_cnt) { in pmcs_sata_special_work()
74 pmcs_prt(pwp, PMCS_PRT_DEBUG1, NULL, xp, in pmcs_sata_special_work()
76 __func__, (void *)xp, xp->actv_cnt); in pmcs_sata_special_work()
79 if (xp->special_running) { in pmcs_sata_special_work()
80 pmcs_prt(pwp, PMCS_PRT_DEBUG, NULL, xp, in pmcs_sata_special_work()
82 __func__, (void *)xp); in pmcs_sata_special_work()
85 xp->special_needed = 0; in pmcs_sata_special_work()
90 xp->special_running = 1; in pmcs_sata_special_work()
91 pptr = xp->phy; in pmcs_sata_special_work()
[all …]
H A Dpmcs_scsa.c506 pmcs_xscsi_t *xp; in pmcs_scsa_start() local
536 xp = pmcs_addr2xp(ap, NULL, sp); in pmcs_scsa_start()
537 if (xp == NULL) { in pmcs_scsa_start()
542 ASSERT(mutex_owned(&xp->statlock)); in pmcs_scsa_start()
547 if (xp->dev_gone) { in pmcs_scsa_start()
548 xp->actv_pkts++; in pmcs_scsa_start()
549 mutex_exit(&xp->statlock); in pmcs_scsa_start()
550 pmcs_prt(pwp, PMCS_PRT_DEBUG3, NULL, xp, in pmcs_scsa_start()
552 __func__, (void *)xp); in pmcs_scsa_start()
562 xp->actv_pkts++; in pmcs_scsa_start()
[all …]
H A Dpmcs_ds.c43 pmcs_get_dev_state(pmcs_hw_t *pwp, pmcs_phy_t *phyp, pmcs_xscsi_t *xp, in pmcs_get_dev_state() argument
50 pmcs_prt(pwp, PMCS_PRT_DEBUG3, phyp, xp, "%s: tgt(0x%p)", __func__, in pmcs_get_dev_state()
51 (void *)xp); in pmcs_get_dev_state()
53 if (xp != NULL) { in pmcs_get_dev_state()
54 ASSERT(mutex_owned(&xp->statlock)); in pmcs_get_dev_state()
58 pmcs_prt(pwp, PMCS_PRT_DEBUG_DEV_STATE, NULL, xp, in pmcs_get_dev_state()
66 pmcs_prt(pwp, PMCS_PRT_ERR, phyp, xp, pmcs_nowrk, __func__); in pmcs_get_dev_state()
74 pmcs_prt(pwp, PMCS_PRT_DEBUG, phyp, xp, in pmcs_get_dev_state()
90 pmcs_prt(pwp, PMCS_PRT_ERR, phyp, xp, pmcs_nomsg, __func__); in pmcs_get_dev_state()
97 if (xp != NULL) { in pmcs_get_dev_state()
[all …]
/titanic_53/usr/src/contrib/ast/src/lib/libpp/
H A Dppsearch.c115 register struct ppfile* xp; in search() local
152 !(fp->flags & INC_MEMBER(INC_STANDARD)) && (xp = fp->bound[INC_STANDARD]) ? xp->name : NiL, in search()
297 xp = ppsetfile(s); in search()
298 xp->flags |= INC_MEMBER(dp->index); in search()
299 xp->bound[dp->index] = (struct ppfile*)ap; in search()
300 if (pp.test & 0x0020) error(1, "VDB#%d %s %s index=%d data=<%lu,%lu>", __LINE__, dp->name, xp->name… in search()
358 mp = xp = 0; in search()
366 xp = fp->bound[index]; in search()
374 if (!xp || !streq(xp->name, pp.path)) in search()
376 fp->bound[index] = xp = ppsetfile(pp.path); in search()
[all …]
/titanic_53/usr/src/cmd/mailx/
H A Doptim.c404 register struct xtrahash *xp, **tp; in minit() local
408 for (xp = &xtrahash[0]; xp < &xtrahash[XHSIZE]; xp++) { in minit()
409 xp->xh_name = NOSTR; in minit()
410 xp->xh_mid = 0; in minit()
411 xp->xh_attnet = 0; in minit()
427 register struct xtrahash *xp; in mstash() local
430 xp = xlocate(name); in mstash()
431 if (xp == (struct xtrahash *) 0) { in mstash()
435 if (xp->xh_name == NOSTR) { in mstash()
440 xtab[midfree] = xp; in mstash()
[all …]
/titanic_53/usr/src/uts/common/io/scsi/targets/
H A Dsd_xbuf.c108 void (*xa_strategy)(struct buf *bp, ddi_xbuf_t xp, void *attr_arg), in _NOTE()
153 ddi_xbuf_t xp; in ddi_xbuf_attr_destroy() local
160 xp = xap->xa_reserve_headp; in ddi_xbuf_attr_destroy()
161 xap->xa_reserve_headp = *((void **)xp); in ddi_xbuf_attr_destroy()
163 kmem_free(xp, xap->xa_allocsize); in ddi_xbuf_attr_destroy()
270 ddi_xbuf_t xp; in ddi_xbuf_done() local
278 xp = ddi_xbuf_get(bp, xap); in ddi_xbuf_done()
293 *((void **)xp) = xap->xa_reserve_headp; in ddi_xbuf_done()
294 xap->xa_reserve_headp = xp; in ddi_xbuf_done()
302 kmem_free(xp, xap->xa_allocsize); /* return it to the system */ in ddi_xbuf_done()
[all …]
H A Dsd.c1223 struct scsi_pkt *pktp, struct buf *bp, struct sd_xbuf *xp);
1352 static void sd_xbuf_strategy(struct buf *bp, ddi_xbuf_t xp, void *arg);
1369 static void sd_xbuf_init(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
1395 struct sd_xbuf *xp, int code);
1426 static struct buf *sd_mark_rqs_idle(struct sd_lun *un, struct sd_xbuf *xp);
1434 struct sd_xbuf *xp, struct scsi_pkt *pktp);
1440 struct sd_xbuf *xp, struct scsi_pkt *pktp);
1442 struct sd_xbuf *xp, struct scsi_pkt *pktp);
1444 struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp);
1446 struct sd_xbuf *xp, struct scsi_pkt *pktp);
[all …]
/titanic_53/usr/src/boot/sys/boot/uboot/common/
H A Dmetadata.c252 struct preloaded_file *xp; in md_load() local
295 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in md_load()
296 if (addr < (xp->f_addr + xp->f_size)) in md_load()
297 addr = xp->f_addr + xp->f_size; in md_load()
351 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in md_load()
353 md = file_findmetadata(xp, mdt[i]); in md_load()
/titanic_53/usr/src/lib/libbsm/
H A Daudit_event.txt582 9174:AUE_UninstallColormap:XUninstallColormap(3X11):xp
583 9193:AUE_SetScreenSaver:XSetScreenSaver(3X11):xp
585 9195:AUE_SetAccessControl:XSetAccessControl(3X11):xp
588 9202:AUE_XExtensions:X server extensions:xp
590 9104:AUE_ChangeWindowAttributes:XChangeWindowAttributes(3X11):xp
591 9105:AUE_GetWindowAttributes:XGetWindowAttributes(3X11):xp
594 9108:AUE_ChangeSaveSet:XChangeSaveSet(3X11):xp
595 9109:AUE_ReparentWindow:XReparentWindow(3X11):xp
596 9110:AUE_MapWindow:XMapWindow(3X11):xp
597 9111:AUE_MapSubwindows:XMapSubwindows(3X11):xp
[all …]
/titanic_53/usr/src/boot/sys/boot/efi/loader/
H A Dbootinfo.c340 struct preloaded_file *xp, *kfp; in bi_load() local
387 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load()
388 if (addr < (xp->f_addr + xp->f_size)) in bi_load()
389 addr = xp->f_addr + xp->f_size; in bi_load()
446 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load()
448 md = file_findmetadata(xp, mdt[i]); in bi_load()
/titanic_53/usr/src/boot/sys/boot/i386/libi386/
H A Dbootinfo64.c182 struct preloaded_file *xp, *kfp; in bi_load64() local
216 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load64()
217 if (addr < (xp->f_addr + xp->f_size)) in bi_load64()
218 addr = xp->f_addr + xp->f_size; in bi_load64()
H A Dbootinfo32.c137 struct preloaded_file *xp, *kfp; in bi_load32() local
200 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load32()
201 if (addr < (xp->f_addr + xp->f_size)) in bi_load32()
202 addr = xp->f_addr + xp->f_size; in bi_load32()
/titanic_53/usr/src/boot/sys/boot/userboot/userboot/
H A Dbootinfo64.c184 struct preloaded_file *xp, *kfp; in bi_load64() local
218 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load64()
219 if (addr < (xp->f_addr + xp->f_size)) in bi_load64()
220 addr = xp->f_addr + xp->f_size; in bi_load64()
H A Dbootinfo32.c137 struct preloaded_file *xp, *kfp; in bi_load32() local
179 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load32()
180 if (addr < (xp->f_addr + xp->f_size)) in bi_load32()
181 addr = xp->f_addr + xp->f_size; in bi_load32()
/titanic_53/usr/src/cmd/fm/fmd/common/
H A Dfmd_xprt.c333 fmd_xprt_t *xp = (fmd_xprt_t *)xip; in fmd_xprt_subscribe_modhash() local
355 fmd_xprt_subscribe(xp, pap->cpa_argv[j]); in fmd_xprt_subscribe_modhash()
371 fmd_xprt_t *xp = (fmd_xprt_t *)xip; in fmd_xprt_transition() local
400 fmd_xprt_subscribe(xp, FM_LIST_SUSPECT_CLASS); in fmd_xprt_transition()
401 fmd_xprt_subscribe(xp, FM_LIST_ISOLATED_CLASS); in fmd_xprt_transition()
402 fmd_xprt_subscribe(xp, FM_LIST_UPDATED_CLASS); in fmd_xprt_transition()
403 fmd_xprt_subscribe(xp, FM_LIST_RESOLVED_CLASS); in fmd_xprt_transition()
404 fmd_xprt_subscribe(xp, FM_LIST_REPAIRED_CLASS); in fmd_xprt_transition()
923 fmd_xprt_destroy(fmd_xprt_t *xp) in fmd_xprt_destroy() argument
925 fmd_xprt_impl_t *xip = (fmd_xprt_impl_t *)xp; in fmd_xprt_destroy()
[all …]
/titanic_53/usr/src/contrib/ast/src/cmd/msgcc/
H A Dmsggen.c133 translation(Xl_t* xp, register char* s) in translation() argument
155 for (px = xp; px; px = px->next) in translation()
171 px->next = xp; in translation()
172 xp = px; in translation()
176 return xp; in translation()
227 Xl_t* xp = 0; in main() local
366 xp = translation(xp, mc->translation); in main()
409 xp = translation(xp, s); in main()
488 if (xp) in main()
493 for (bp = 0, px = xp; px; px = px->next) in main()
/titanic_53/usr/src/boot/sys/boot/efi/loader/arch/i386/
H A Dbootinfo.c212 struct preloaded_file *xp; in bi_load() local
246 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load()
247 if (addr < (xp->f_addr + xp->f_size)) in bi_load()
248 addr = xp->f_addr + xp->f_size; in bi_load()
/titanic_53/usr/src/contrib/ast/src/lib/libcmd/
H A Drev.c64 register wchar_t *wp, *xp; in rev_char() local
83 xp = wp; in rev_char()
85 *xp++ = mbchar(cp); in rev_char()
87 while (xp > wp) in rev_char()
88 cp += mbconv(cp, *--xp); in rev_char()
/titanic_53/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c177 ql_xioctl_t *xp; in ql_alloc_xioctl_resource() local
187 xp = kmem_zalloc(sizeof (ql_xioctl_t), KM_SLEEP); in ql_alloc_xioctl_resource()
188 if (xp == NULL) { in ql_alloc_xioctl_resource()
192 ha->xioctl = xp; in ql_alloc_xioctl_resource()
195 xp->aen_tracking_queue = kmem_zalloc(EXT_DEF_MAX_AEN_QUEUE * in ql_alloc_xioctl_resource()
197 if (xp->aen_tracking_queue == NULL) { in ql_alloc_xioctl_resource()
221 ql_xioctl_t *xp = ha->xioctl; in ql_free_xioctl_resource() local
225 if (xp == NULL) { in ql_free_xioctl_resource()
230 if (xp->aen_tracking_queue != NULL) { in ql_free_xioctl_resource()
231 kmem_free(xp->aen_tracking_queue, EXT_DEF_MAX_AEN_QUEUE * in ql_free_xioctl_resource()
[all …]
/titanic_53/usr/src/lib/libcurses/screen/
H A Dgetsyx.c68 _getsyx(int *yp, int *xp) in _getsyx() argument
71 *yp = *xp = -1; in _getsyx()
74 *xp = _virtscr->_curx; in _getsyx()
/titanic_53/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvtree.c491 char **xp=0; in nv_attribute() local
509 if(ap && !array_assoc(ap) && (xp=(char**)(ap+1)) && *xp) in nv_attribute()
510 ip = nv_namptr(*xp,0)->nvname; in nv_attribute()
582 char *fmtq,*ep,*xp; in nv_outnode() local
647 xp = 0; in nv_outnode()
650 xp = ep+nv_size(np); in nv_outnode()
651 while(--xp>ep && *xp==' '); in nv_outnode()
652 if(xp>ep || *xp!=' ') in nv_outnode()
653 xp++; in nv_outnode()
654 if(xp < (ep+nv_size(np))) in nv_outnode()
[all …]
/titanic_53/usr/src/boot/sys/boot/sparc64/loader/
H A Dmetadata.c282 struct preloaded_file *xp; in md_load() local
305 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in md_load()
306 if (addr < (xp->f_addr + xp->f_size)) in md_load()
307 addr = xp->f_addr + xp->f_size; in md_load()
/titanic_53/usr/src/uts/common/os/
H A Dddi_nodeid.c155 struct available *xp; in np_coalesce() local
157 xp = np->next; in np_coalesce()
158 if (xp == NULL) in np_coalesce()
161 if ((np->nodeid + np->count) == xp->nodeid) { in np_coalesce()
162 np->count += xp->count; in np_coalesce()
163 np_unlink(xp); in np_coalesce()
164 np_free(xp); in np_coalesce()
/titanic_53/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dexp__E.c118 double z,p,q,xp,xh,w; variable
127 xp= x*p ;
129 w = xh-(q-xp) ;
131 c += x*((xh*w-(q-(p+xp)))/(one-w)+c);
/titanic_53/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwins_wch.c97 __m_wins_wch(w, y, x, cc, yp, xp) in __m_wins_wch() argument
101 int *yp, *xp;
108 __m_trace("__m_wins_wch(%p, %d, %d, %p, %p, %p)", w, y, x, cc, yp, xp);
159 if (xp != (int *) 0)
160 *xp = x;

1234