Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_sata.c77 __func__, (void *)xp, xp->actv_cnt); in pmcs_sata_special_work()
92 pptr = xp->phy; in pmcs_sata_special_work()
164 xp->pio = 0; in pmcs_sata_special_work()
165 xp->qdepth = 1; in pmcs_sata_special_work()
170 xp->ncq = 1; in pmcs_sata_special_work()
174 __func__, xp->phy->path, xp->qdepth); in pmcs_sata_special_work()
183 xp->pio = 1; in pmcs_sata_special_work()
287 if (xp->ncq && (xp->qdepth > 1)) { in pmcs_sata_special_work()
476 if (xp->ca) { in pmcs_sata_special_work()
480 xp->ca = 0; in pmcs_sata_special_work()
[all …]
H A Dpmcs_scsa.c573 if (xp->draining || xp->resetting || xp->recover_wait) { in pmcs_scsa_start()
1585 if (xp->draining || xp->resetting || xp->special_running || in pmcs_scsa_wq_run_one()
1632 pwrk->xp = xp; in pmcs_scsa_wq_run_one()
1846 pmcs_xscsi_t *xp = pwrk->xp; in pmcs_SAS_run() local
1857 if ((xp->actv_cnt >= xp->qdepth) || xp->recover_wait) { in pmcs_SAS_run()
1925 if (xp->actv_cnt > xp->maxdepth) { in pmcs_SAS_run()
1926 xp->maxdepth = xp->actv_cnt; in pmcs_SAS_run()
2010 pmcs_xscsi_t *xp = pwrk->xp; in pmcs_SAS_done() local
2369 xp = pwrk->xp; in pmcs_SATA_run()
2584 xp->maxdepth = xp->actv_cnt; in pmcs_SATA_run()
[all …]
H A Dpmcs_ds.c51 (void *)xp); in pmcs_get_dev_state()
53 if (xp != NULL) { in pmcs_get_dev_state()
97 if (xp != NULL) { in pmcs_get_dev_state()
105 if (xp != NULL) { in pmcs_get_dev_state()
117 if (xp == NULL) { in pmcs_get_dev_state()
189 if (xp != NULL) { in pmcs_set_dev_state()
196 if (xp != NULL) { in pmcs_set_dev_state()
211 if (xp != NULL) { in pmcs_set_dev_state()
805 tgt = pwrk->xp; in pmcs_tgt_event_recovery()
907 pmcs_prt(xp->pwp, PMCS_PRT_DEBUG_DEV_STATE, phyp, xp, in pmcs_start_dev_state_recovery()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppsearch.c358 mp = xp = 0; in search()
374 if (!xp || !streq(xp->name, pp.path)) in search()
389 mp = xp; in search()
393 else if (!xp) in search()
411 mp = xp; in search()
448 if ((xp || (xp = ppgetfile(pp.path))) && (xp->flags & INC_SELF)) in search()
454 if (!(flags & SEARCH_NEXT) && mp != xp && (mp = xp) && !ppmultiple(xp, INC_TEST)) in search()
493 if (xp) in search()
531 if (xp->guard == INC_CLEAR || xp == mp) in search()
567 if (xp) in search()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dproc_xregs_set.c59 xsu_proc_t xp; in main() local
83 (void) memset(&xp, 0, sizeof (xsu_proc_t)); in main()
84 xp.xp_prog = argv[1]; in main()
85 xp.xp_arg = argv[2]; in main()
86 xp.xp_object = "a.out"; in main()
87 xp.xp_symname = argv[4]; in main()
89 xsu_proc_bkpt(&xp); in main()
91 if (Plwp_setxregs(xp.xp_proc, 1, prx, prx_len) != 0) { in main()
95 xsu_proc_finish(&xp); in main()
97 if (WEXITSTATUS(xp.xp_wait) != EXIT_SUCCESS) { in main()
[all …]
H A Dfpregs.c48 xsu_proc_t xp; in main() local
74 (void) memset(&xp, 0, sizeof (xsu_proc_t)); in main()
75 xp.xp_prog = argv[1]; in main()
76 xp.xp_arg = argv[2]; in main()
77 xp.xp_object = "a.out"; in main()
78 xp.xp_symname = argv[4]; in main()
79 xsu_proc_bkpt(&xp); in main()
84 if (Plwp_setxregs(xp.xp_proc, 1, prx, prx_len) != 0) { in main()
94 if (Plwp_getfpregs(xp.xp_proc, 1, &fpr) != 0) { in main()
109 if (Plwp_setfpregs(xp.xp_proc, 1, &fpr) != 0) { in main()
[all …]
H A Dxsave_util.c507 xsu_proc_bkpt(xsu_proc_t *xp) in xsu_proc_bkpt() argument
511 char *const argv[3] = { xp->xp_prog, xp->xp_arg, NULL }; in xsu_proc_bkpt()
520 xp->xp_proc = P; in xsu_proc_bkpt()
528 if (Pxlookup_by_name(P, LM_ID_BASE, xp->xp_object, xp->xp_symname, &sym, in xsu_proc_bkpt()
531 xp->xp_symname); in xsu_proc_bkpt()
538 xp->xp_addr = sym.st_value; in xsu_proc_bkpt()
558 xsu_proc_finish(xsu_proc_t *xp) in xsu_proc_finish() argument
562 if (Pdelbkpt(xp->xp_proc, xp->xp_addr, xp->xp_instr) != 0) { in xsu_proc_finish()
564 xp->xp_object, xp->xp_symname); in xsu_proc_finish()
580 Pfree(xp->xp_proc); in xsu_proc_finish()
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Doptim.c405 for (xp = &xtrahash[0]; xp < &xtrahash[XHSIZE]; xp++) { in minit()
407 xp->xh_mid = 0; in minit()
408 xp->xh_attnet = 0; in minit()
427 xp = xlocate(name); in mstash()
437 xtab[midfree] = xp; in mstash()
445 xp->xh_attnet |= x; in mstash()
446 return(xp->xh_mid); in mstash()
473 return(xp); in xlocate()
475 return(xp); in xlocate()
480 return(xp); in xlocate()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd_xbuf.c153 ddi_xbuf_t xp; in ddi_xbuf_attr_destroy() local
160 xp = xap->xa_reserve_headp; 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()
294 xap->xa_reserve_headp = xp; in ddi_xbuf_done()
395 ddi_xbuf_t xp; in xbuf_iostart() local
445 xp = xap->xa_reserve_headp; in xbuf_iostart()
460 if (xp == NULL) { in xbuf_iostart()
464 xap->xa_reserve_headp = xp; in xbuf_iostart()
486 if (xp == NULL) { in xbuf_iostart()
[all …]
H A Dsd.c10752 ASSERT(xp != NULL); in sd_xbuf_strategy()
10795 ASSERT(xp != NULL); in sd_xbuf_init()
10800 xp->xb_un = un; in sd_xbuf_init()
10801 xp->xb_pktp = NULL; in sd_xbuf_init()
10882 xp->xb_ena = 0; in sd_xbuf_init()
10884 bp->b_private = xp; in sd_xbuf_init()
11867 xp->xb_blkno = SD_SYS2TGTBLOCK(un, xp->xb_blkno); in sd_mapblockaddr_iostart()
12247 xp->xb_blkno, in sd_mapblocksize_iostart()
14538 xp->xb_pktp, bp, xp);
15807 if (xp != NULL) {
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dnoderef.c17 struct x __A *xp; in h() local
31 r = &xp->a; /* This should NOT complain */ in h()
32 r = &xp->b; in h()
33 r = &(*xp).a; in h()
34 r = &(*xp).b; in h()
/illumos-gate/usr/src/lib/libbsm/
H A Daudit_event.txt609 9110:AUE_MapWindow:XMapWindow(3X11):xp
616 9117:AUE_QueryTree:XQueryTree(3X11):xp
632 9135:AUE_GrabKey:XGrabKey(3X11):xp
633 9136:AUE_UngrabKey:XUngrabKey(3X11):xp
642 9148:AUE_ChangeGC:XChangeGC(3X11):xp
643 9149:AUE_CopyGC:XCopyGC(3X11):xp
644 9150:AUE_SetDashes:XSetDashes(3X11):xp
647 9153:AUE_ClearArea:XClearArea(3X11):xp
651 9157:AUE_PolyLine:XPolyLine(3X11):xp
654 9160:AUE_PolyArc:XPolyArc(3X11):xp
[all …]
/illumos-gate/usr/src/boot/efi/loader/
H A Dbootinfo.c341 struct preloaded_file *xp, *kfp; in bi_load() local
388 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load()
389 if (addr < (xp->f_addr + xp->f_size)) in bi_load()
390 addr = xp->f_addr + xp->f_size; in bi_load()
447 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load()
449 md = file_findmetadata(xp, mdt[i]); in bi_load()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbootinfo64.c142 struct preloaded_file *xp, *kfp; in bi_load64() local
176 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load64()
177 if (addr < (xp->f_addr + xp->f_size)) in bi_load64()
178 addr = xp->f_addr + xp->f_size; in bi_load64()
H A Dbootinfo32.c136 struct preloaded_file *xp, *kfp; in bi_load32() local
195 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load32()
196 if (addr < (xp->f_addr + xp->f_size)) in bi_load32()
197 addr = xp->f_addr + xp->f_size; in bi_load32()
/illumos-gate/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
371 fmd_xprt_t *xp = (fmd_xprt_t *)xip; in fmd_xprt_transition() local
923 fmd_xprt_destroy(fmd_xprt_t *xp) in fmd_xprt_destroy() argument
970 if (cip->ci_xprt == xp) in fmd_xprt_destroy()
1049 fmd_xprt_send(fmd_xprt_t *xp) in fmd_xprt_send() argument
1654 fmd_xprt_list_suspect(xp, nvl); in fmd_xprt_recv()
1919 fmd_xprt_t *xp; in fmd_xprt_subscribe_xid() local
1922 fmd_xprt_subscribe(xp, class); in fmd_xprt_subscribe_xid()
1939 fmd_xprt_t *xp; in fmd_xprt_unsubscribe_xid() local
1960 fmd_xprt_t *xp; in fmd_xprt_suspend_xid() local
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/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()
/illumos-gate/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()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvtree.c647 xp = 0; in nv_outnode()
651 while(--xp>ep && *xp==' '); in nv_outnode()
652 if(xp>ep || *xp!=' ') in nv_outnode()
653 xp++; in nv_outnode()
684 if(xp) in nv_outnode()
736 for(xp=fp->next; xp; xp = xp->next) in outval()
738 if(xp->disc && (xp->disc->getval || xp->disc->getnum)) in outval()
983 char *xpname = xp?stakcopy(nv_name(xp)):0; in walk_tree()
985 if(xp) in walk_tree()
1016 if(xp) in walk_tree()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dgetsyx.c66 _getsyx(int *yp, int *xp) in _getsyx() argument
69 *yp = *xp = -1; in _getsyx()
72 *xp = _virtscr->_curx; in _getsyx()
/illumos-gate/usr/src/uts/common/os/
H A Dddi_nodeid.c153 struct available *xp; in np_coalesce() local
155 xp = np->next; in np_coalesce()
156 if (xp == NULL) in np_coalesce()
159 if ((np->nodeid + np->count) == xp->nodeid) { in np_coalesce()
160 np->count += xp->count; in np_coalesce()
161 np_unlink(xp); in np_coalesce()
162 np_free(xp); in np_coalesce()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c183 ql_xioctl_t *xp; in ql_alloc_xioctl_resource() local
194 if (xp == NULL) { in ql_alloc_xioctl_resource()
198 ha->xioctl = xp; in ql_alloc_xioctl_resource()
231 if (xp == NULL) { in ql_free_xioctl_resource()
1905 i = xp->aen_q_head; in ql_aen_get()
1970 if (xp == NULL) { in ql_enqueue_aen()
1980 xp->aen_q_tail++; in ql_enqueue_aen()
1984 if (xp->aen_q_head == xp->aen_q_tail) { in ql_enqueue_aen()
5186 xp->fdesc.flash_manuf, xp->fdesc.flash_id, in ql_setup_flash()
5190 xp->fdesc.flash_manuf, xp->fdesc.flash_id); in ql_setup_flash()
[all …]
/illumos-gate/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);
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwins_wch.c95 __m_wins_wch(w, y, x, cc, yp, xp) in __m_wins_wch() argument
99 int *yp, *xp;
106 __m_trace("__m_wins_wch(%p, %d, %d, %p, %p, %p)", w, y, x, cc, yp, xp);
157 if (xp != (int *) 0)
158 *xp = x;

1234