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.c59 pmcs_sata_special_work(pmcs_hw_t *pwp, pmcs_xscsi_t *xp) in pmcs_sata_special_work() argument
74 if (xp->actv_cnt) { in pmcs_sata_special_work()
75 pmcs_prt(pwp, PMCS_PRT_DEBUG1, NULL, xp, in pmcs_sata_special_work()
77 __func__, (void *)xp, xp->actv_cnt); in pmcs_sata_special_work()
80 if (xp->special_running) { in pmcs_sata_special_work()
81 pmcs_prt(pwp, PMCS_PRT_DEBUG, NULL, xp, in pmcs_sata_special_work()
83 __func__, (void *)xp); in pmcs_sata_special_work()
86 xp->special_needed = 0; in pmcs_sata_special_work()
91 xp->special_running = 1; in pmcs_sata_special_work()
92 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 …]
/illumos-gate/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 …]
/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()
514 P = Pcreate(xp->xp_prog, argv, &perr, NULL, 0); in xsu_proc_bkpt()
516 errx(EXIT_FAILURE, "failed to create %s: %s", xp->xp_prog, 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()
530 err(EXIT_FAILURE, "failed to find %s`%s", xp->xp_object, in xsu_proc_bkpt()
531 xp->xp_symname); in xsu_proc_bkpt()
538 xp->xp_addr = sym.st_value; in xsu_proc_bkpt()
539 if (Psetbkpt(P, sym.st_value, &xp->xp_instr) != 0) { in xsu_proc_bkpt()
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Doptim.c401 register struct xtrahash *xp, **tp; in minit() local
405 for (xp = &xtrahash[0]; xp < &xtrahash[XHSIZE]; xp++) { in minit()
406 xp->xh_name = NOSTR; in minit()
407 xp->xh_mid = 0; in minit()
408 xp->xh_attnet = 0; in minit()
424 register struct xtrahash *xp; in mstash() local
427 xp = xlocate(name); in mstash()
428 if (xp == (struct xtrahash *) 0) { in mstash()
432 if (xp->xh_name == NOSTR) { in mstash()
437 xtab[midfree] = xp; in mstash()
[all …]
/illumos-gate/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.c784 struct scsi_pkt *pktp, struct buf *bp, struct sd_xbuf *xp);
902 static void sd_xbuf_strategy(struct buf *bp, ddi_xbuf_t xp, void *arg);
919 static void sd_xbuf_init(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
945 struct sd_xbuf *xp, int code);
975 static struct buf *sd_mark_rqs_idle(struct sd_lun *un, struct sd_xbuf *xp);
983 struct sd_xbuf *xp, struct scsi_pkt *pktp);
989 struct sd_xbuf *xp, struct scsi_pkt *pktp);
991 struct sd_xbuf *xp, struct scsi_pkt *pktp);
993 struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp);
995 struct sd_xbuf *xp, struct scsi_pkt *pktp);
[all …]
/illumos-gate/usr/src/lib/libbsm/
H A Daudit_event.txt595 9174:AUE_UninstallColormap:XUninstallColormap(3X11):xp
596 9193:AUE_SetScreenSaver:XSetScreenSaver(3X11):xp
598 9195:AUE_SetAccessControl:XSetAccessControl(3X11):xp
601 9202:AUE_XExtensions:X server extensions:xp
603 9104:AUE_ChangeWindowAttributes:XChangeWindowAttributes(3X11):xp
604 9105:AUE_GetWindowAttributes:XGetWindowAttributes(3X11):xp
607 9108:AUE_ChangeSaveSet:XChangeSaveSet(3X11):xp
608 9109:AUE_ReparentWindow:XReparentWindow(3X11):xp
609 9110:AUE_MapWindow:XMapWindow(3X11):xp
610 9111:AUE_MapSubwindows:XMapSubwindows(3X11):xp
[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/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
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 …]
/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/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 …]
/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/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/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/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c183 ql_xioctl_t *xp; in ql_alloc_xioctl_resource() local
193 xp = kmem_zalloc(sizeof (ql_xioctl_t), KM_SLEEP); in ql_alloc_xioctl_resource()
194 if (xp == NULL) { in ql_alloc_xioctl_resource()
198 ha->xioctl = xp; in ql_alloc_xioctl_resource()
201 xp->aen_tracking_queue = kmem_zalloc(EXT_DEF_MAX_AEN_QUEUE * in ql_alloc_xioctl_resource()
203 if (xp->aen_tracking_queue == NULL) { in ql_alloc_xioctl_resource()
227 ql_xioctl_t *xp = ha->xioctl; in ql_free_xioctl_resource() local
231 if (xp == NULL) { in ql_free_xioctl_resource()
236 if (xp->aen_tracking_queue != NULL) { in ql_free_xioctl_resource()
237 kmem_free(xp->aen_tracking_queue, EXT_DEF_MAX_AEN_QUEUE * in ql_free_xioctl_resource()
[all …]
/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;
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioHdrParse.cc331 char *xp; in EncodingParse() local
362 xp = (xtra[0] == '-') ? &xtra[1] : &xtra[0]; in EncodingParse()
364 if ((strcmp(xp, "bit") != 0) && in EncodingParse()
365 (strcoll(xp, lib_bit) != 0)) { in EncodingParse()
380 xp = (xtra[0] == '-') ? &xtra[1] : &xtra[0]; in EncodingParse()
381 if ((strcmp(xp, "bit") == 0) || in EncodingParse()
382 (strcoll(xp, lib_bit) == 0)) { in EncodingParse()
383 xp = strchr(p, ' '); in EncodingParse()
384 if (xp != NULL) in EncodingParse()
385 p = xp; in EncodingParse()

1234