Home
last modified time | relevance | path

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

1234

/titanic_50/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_50/usr/src/lib/libpp/common/
H A Dppsearch.c115 register struct ppfile* xp; in search() local
149 !(fp->flags & INC_MEMBER(INC_PREFIX)) && (xp = fp->bound[INC_PREFIX]) ? xp->name : NiL, in search()
150 !(fp->flags & INC_MEMBER(INC_LOCAL)) && (xp = fp->bound[INC_LOCAL]) ? xp->name : NiL, in search()
151 !(fp->flags & INC_MEMBER(INC_VENDOR)) && (xp = fp->bound[INC_VENDOR]) ? xp->name : NiL, in search()
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()
[all …]
H A Dpplex.c55 #define CACHEOUTX() do{tp=op=pp.outp;xp=pp.oute;if(sp)sp=op;}while(0)
69 …f(op>xp){{PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBUFSIZ;}else{…
70xp){if(sp)op=sp;else{PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBU…
71 …f(op>xp){{PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBUFSIZ;}else{…
155 #define xp &pp.token[MAXTOKEN] macro
195 char* xp; in ppcpp() local
613 FGET(c, c, tp, xp); in ppcpp()
1198 GET(c, c, tp, xp); in ppcpp()
1260 GET(c, c, tp, xp); in ppcpp()
1360 if (op + c < xp + PPBUFSIZ) n = c; in ppcpp()
[all …]
H A Dppfsm.h221 #define GET(p,c,tp,xp) \ argument
225 FGET(p, c, tp, xp); \
228 #define FGET(p,c,tp,xp) \ argument
231 if (op > xp + PPTOKSIZ) \
235 op = xp + PPTOKSIZ; \
/titanic_50/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_50/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_50/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_50/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 …]
H A Dfmd_api.c317 fmd_api_transport_impl(fmd_hdl_t *hdl, fmd_xprt_t *xp) in fmd_api_transport_impl() argument
320 fmd_xprt_impl_t *xip = (fmd_xprt_impl_t *)xp; in fmd_api_transport_impl()
324 "xprt %p is invalid or not owned by caller\n", (void *)xp); in fmd_api_transport_impl()
582 fmd_xprt_t *xp; in fmd_module_unregister() local
592 while ((xp = fmd_list_next(&mp->mod_transports)) != NULL) in fmd_module_unregister()
593 fmd_xprt_destroy(xp); in fmd_module_unregister()
2428 fmd_xprt_t *xp; in fmd_xprt_open() local
2448 if ((xp = fmd_xprt_create(mp, flags, auth, data)) == NULL) in fmd_xprt_open()
2452 return (xp); in fmd_xprt_open()
2456 fmd_xprt_close(fmd_hdl_t *hdl, fmd_xprt_t *xp) in fmd_xprt_close() argument
[all …]
/titanic_50/usr/src/cmd/ast/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_50/usr/src/lib/libshell/common/sh/
H A Dnvtree.c476 char **xp=0; in nv_attribute() local
489 if(ap && !array_assoc(ap) && (xp=(char**)(ap+1)) && *xp) in nv_attribute()
490 ip = nv_namptr(*xp,0)->nvname; in nv_attribute()
545 char *fmtq,*ep,*xp; in nv_outnode() local
600 xp = 0; in nv_outnode()
603 xp = ep+nv_size(np); in nv_outnode()
604 while(--xp>ep && *xp==' '); in nv_outnode()
605 if(xp>ep || *xp!=' ') in nv_outnode()
606 xp++; in nv_outnode()
607 if(xp < (ep+nv_size(np))) in nv_outnode()
[all …]
H A Dname.c688 char *cp=(char*)name, *sp, *xp; in nv_create() local
1060 while(xp=cp, c=mbchar(cp), isaname(c)); in nv_create()
1061 cp = xp; in nv_create()
1076 struct Cache_entry *xp; in nv_delete() local
1077 for(c=0,xp=nvcache.entries ; c < NVCACHE; xp= &nvcache.entries[++c]) in nv_delete()
1079 if(xp->np==np) in nv_delete()
1080 xp->root = 0; in nv_delete()
1128 struct Cache_entry *xp; in nv_open() local
1201 for(c=0,xp=nvcache.entries ; c < NVCACHE; xp= &nvcache.entries[++c]) in nv_open()
1203 if(xp->root!=root) in nv_open()
[all …]
/titanic_50/usr/src/lib/libcmd/common/
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_50/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_50/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()
H A Dtparm.c262 char *xp; in tparm() local
447 xp = (onrow ? cursor_down : in tparm()
449 if (onrow && xp && op < lines-1 && in tparm()
452 xp = cursor_up; in tparm()
454 if (xp && instring == in tparm()
456 (void) strcat(added, xp); in tparm()
480 xp = pop_char_p(&stk); in tparm()
481 push(&stk, strlen(xp)); in tparm()
/titanic_50/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_50/usr/src/lib/libast/common/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_50/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;
/titanic_50/usr/src/cmd/audio/utilities/
H A DAudioHdrParse.cc330 char *xp; in EncodingParse() local
361 xp = (xtra[0] == '-') ? &xtra[1] : &xtra[0]; in EncodingParse()
363 if ((strcmp(xp, "bit") != 0) && in EncodingParse()
364 (strcoll(xp, lib_bit) != 0)) { in EncodingParse()
379 xp = (xtra[0] == '-') ? &xtra[1] : &xtra[0]; in EncodingParse()
380 if ((strcmp(xp, "bit") == 0) || in EncodingParse()
381 (strcoll(xp, lib_bit) == 0)) { in EncodingParse()
382 xp = strchr(p, ' '); in EncodingParse()
383 if (xp != NULL) in EncodingParse()
384 p = xp; in EncodingParse()
/titanic_50/usr/src/cmd/sendmail/src/
H A Dmacro.c193 char *xp; local
217 for (xp = xbuf; *s != '\0'; s++)
292 if (skipping || xp >= &xbuf[sizeof(xbuf) - 1])
295 *xp++ = c;
302 xp < &xbuf[sizeof(xbuf) - 1])
307 *xp++ = c;
314 *xp = '\0';
341 i = xp - xbuf;
/titanic_50/usr/src/lib/libshell/common/edit/
H A Dcompletion.c94 register char *cp=outbuff, *bp, *xp; in find_begin() local
101 xp = cp; in find_begin()
108 bp = xp; in find_begin()
127 xp = cp; in find_begin()
143 return(++xp); in find_begin()
149 xp = find_begin(cp,last,')',type); in find_begin()
150 if(*(cp=xp)!=')') in find_begin()
151 bp = xp; in find_begin()
173 return(xp); in find_begin()

1234