Home
last modified time | relevance | path

Searched refs:xs (Results 1 – 25 of 37) sorted by relevance

12

/dragonfly/usr.bin/fetch/
H A Dfetch.c241 received = xs->rcvd - xs->offset; in stat_eta()
242 expected = xs->size - xs->rcvd; in stat_eta()
281 bps = (xs->rcvd - xs->lastrcvd) / delta; in stat_bps()
305 xs->last2 = xs->last; in stat_display()
309 if (xs->rcvd >= xs->size) { in stat_display()
323 xs->lastrcvd = xs->offset; in stat_display()
324 xs->last2 = xs->start; in stat_display()
328 if ((xs->size > 0 && xs->rcvd > 0 && in stat_display()
334 xs->lastrcvd = xs->rcvd; in stat_display()
344 memset(xs, 0, sizeof *xs); in stat_start()
[all …]
/dragonfly/sys/dev/disk/isp/
H A Disp.c4201 XS_INITERR(xs); in isp_start()
4472 XS_T *xs; in isp_control() local
5282 if ((XS_NOERR(xs) || XS_ERR(xs) == HBA_NOERROR) && (*XS_STSP(xs) == SCSI_BUSY)) { in isp_intr()
5329 XS_SET_RESID(xs, XS_XFRLEN(xs)); in isp_intr()
5390 if (xs) { in isp_intr()
5392 isp_done(xs); in isp_intr()
5407 lim = XS_CDBLEN(xs) > 16? 16 : XS_CDBLEN(xs); in isp_prt_endcmd()
5416 …rt(isp, xs, ISP_LOGALL, "FIN dl%d resid %ld CDB=%s STS 0x%x XS_ERR=0x%x", XS_XFRLEN(xs), (long) XS… in isp_prt_endcmd()
5730 XS_T *xs; in isp_parse_async_fc() local
6524 XS_T *xs; in isp_fastpost_complete() local
[all …]
H A Disp_freebsd.h480 #define XS_SAVE_SENSE(xs, sense_ptr, slen) do { \ argument
481 (xs)->ccb_h.status |= CAM_AUTOSNS_VALID; \
482 memset(&(xs)->sense_data, 0, sizeof((xs)->sense_data)); \
483 memcpy(&(xs)->sense_data, sense_ptr, imin(XS_SNSLEN(xs),\
485 if (slen < (xs)->sense_len) \
486 (xs)->sense_resid = (xs)->sense_len - slen; \
489 #define XS_SENSE_VALID(xs) (((xs)->ccb_h.status & CAM_AUTOSNS_VALID) != 0) argument
H A Disp_target.c1371 void *xs; in isp_handle_ctio() local
1377 if (xs == NULL) { in isp_handle_ctio()
1381 xs = NULL; in isp_handle_ctio()
1485 if (xs == NULL) { in isp_handle_ctio()
1521 void *xs; in isp_handle_ctio2() local
1527 if (xs == NULL) { in isp_handle_ctio2()
1531 xs = NULL; in isp_handle_ctio2()
1628 if (xs == NULL) { in isp_handle_ctio2()
1676 void *xs; in isp_handle_ctio7() local
1686 xs = NULL; in isp_handle_ctio7()
[all …]
H A Dispvar.h87 #define ISP_DMASETUP(isp, xs, req) \ argument
88 (*(isp)->isp_mdvec->dv_dmaset)((isp), (xs), (req))
90 #define ISP_DMAFREE(isp, xs, hndl) \ argument
92 (*(isp)->isp_mdvec->dv_dmaclr)((isp), (xs), (hndl))
H A Disp_freebsd.c3878 struct ccb_scsiio *xs = arg; in isp_watchdog() local
3882 isp = XS_ISP(xs); in isp_watchdog()
3889 callout_reset(&PISP_PCMD(xs)->wdog, 2 * hz, isp_watchdog, xs); in isp_watchdog()
3890 XS_CMD_S_WPEND(xs); in isp_watchdog()
3894 XS_C_TACTIVE(xs); in isp_watchdog()
3932 if (xs == NULL) { in isp_watchdog()
3940 if (XS_XFRLEN(xs)) { in isp_watchdog()
3946 isp_prt_endcmd(isp, xs); in isp_watchdog()
3947 isp_done(xs); in isp_watchdog()
4129 struct ccb_scsiio *xs; in isp_ldt_task() local
[all …]
H A Disp_library.c241 hdp->cmd = xs; in isp_allocate_xs()
264 if (xs != NULL) { in isp_find_handle()
615 XS_T *xs; in isp_clear_commands() local
621 xs = hdp->cmd; in isp_clear_commands()
622 if (XS_XFRLEN(xs)) { in isp_clear_commands()
624 XS_SET_RESID(xs, XS_XFRLEN(xs)); in isp_clear_commands()
626 XS_SET_RESID(xs, 0); in isp_clear_commands()
630 XS_SETERR(xs, HBA_BUSRESET); in isp_clear_commands()
631 isp_done(xs); in isp_clear_commands()
2242 hdp->cmd = xs; in isp_allocate_xs_tgt()
[all …]
/dragonfly/sys/vm/
H A Dvm_swap.c609 struct xswdev xs; in sysctl_vm_swap_info() local
618 xs.xsw_size = sizeof(xs); in sysctl_vm_swap_info()
619 xs.xsw_version = XSWDEV_VERSION; in sysctl_vm_swap_info()
620 xs.xsw_blksize = PAGE_SIZE; in sysctl_vm_swap_info()
621 xs.xsw_dev = sp->sw_dev; in sysctl_vm_swap_info()
622 xs.xsw_flags = sp->sw_flags; in sysctl_vm_swap_info()
623 xs.xsw_nblks = sp->sw_nblks; in sysctl_vm_swap_info()
624 xs.xsw_used = sp->sw_nused; in sysctl_vm_swap_info()
626 error = SYSCTL_OUT(req, &xs, sizeof(xs)); in sysctl_vm_swap_info()
/dragonfly/contrib/openbsd_libm/src/
H A Ds_fmal.c50 long double xs, ys, zs; in fmal() local
71 xs = frexpl(x, &ex); in fmal()
149 p = xs * split; in fmal()
150 hx = xs - p; in fmal()
152 tx = xs - hx; in fmal()
H A Ds_fma.c55 double xs, ys, zs; in fma() local
76 xs = frexp(x, &ex); in fma()
154 p = xs * split; in fma()
155 hx = xs - p; in fma()
157 tx = xs - hx; in fma()
/dragonfly/contrib/gmp/mpf/
H A Drandom2.c27 mpf_random2 (mpf_ptr x, mp_size_t xs, mp_exp_t exp) in mpf_random2() argument
33 xn = ABS (xs); in mpf_random2()
55 SIZ(x) = xs < 0 ? -xn : xn; in mpf_random2()
/dragonfly/usr.bin/sdpquery/
H A Dsearch.c566 void *xs; in do_sdp_search() local
596 xs = sdp_open_local(control_socket); in do_sdp_search()
598 xs = sdp_open(laddr, raddr); in do_sdp_search()
600 if (xs == NULL || (errno = sdp_error(xs)) != 0) in do_sdp_search()
604 n = sdp_search(xs, 1, &service, attrs_len, attrs, values_len, values); in do_sdp_search()
608 sdp_close(xs); in do_sdp_search()
/dragonfly/sys/vfs/nfs/
H A Dkrpc_subr.c462 struct xdr_string *xs; in xdr_string_encode() local
473 xs = mtod(m, struct xdr_string *); in xdr_string_encode()
475 xs->len = txdr_unsigned(len); in xdr_string_encode()
476 bcopy(str, xs->data, len); in xdr_string_encode()
/dragonfly/crypto/libressl/include/openssl/
H A Dx509_vfy.h290 STACK_OF(X509_OBJECT) *X509_STORE_get0_objects(X509_STORE *xs);
291 void *X509_STORE_get_ex_data(X509_STORE *xs, int idx);
292 int X509_STORE_set_ex_data(X509_STORE *xs, int idx, void *data);
321 STACK_OF(X509) *X509_STORE_CTX_get0_chain(X509_STORE_CTX *xs);
322 X509_STORE *X509_STORE_CTX_get0_store(X509_STORE_CTX *xs);
/dragonfly/sys/dev/raid/dpt/
H A Ddpt_scsi.c1774 struct scsi_xfer *xs;
1777 dccb.xs = NULL;
1835 struct scsi_xfer *xs = dccbp->xs;
1838 if (xs != NULL) {
1841 xs->flags |= SCSI_ITSDONE;
1842 scsi_done(xs);
1887 ccb->xs = NULL;
2371 ccb->xs = NULL;
2500 struct scsi_xfer *xs;
2503 xs = ccb->xs;
[all …]
/dragonfly/sys/kern/
H A Dkern_exec.c1346 const struct execsw **es, **xs, **newexecsw; in exec_register() local
1353 xs = newexecsw; in exec_register()
1356 *xs++ = *es; in exec_register()
1357 *xs++ = execsw_arg; in exec_register()
1358 *xs = NULL; in exec_register()
1368 const struct execsw **es, **xs, **newexecsw; in exec_unregister() local
1384 xs = newexecsw; in exec_unregister()
1387 *xs++ = *es; in exec_unregister()
1388 *xs = NULL; in exec_unregister()
/dragonfly/crypto/libressl/crypto/x509/
H A Dx509_vfy.c1930 X509 *xs; in x509_vfy_internal_verify() local
1933 xs = xi; in x509_vfy_internal_verify()
1936 xs = xi; in x509_vfy_internal_verify()
1944 xs = sk_X509_value(ctx->chain, n); in x509_vfy_internal_verify()
1962 if (!chain_verified && ( xs != xi || in x509_vfy_internal_verify()
1970 if (!verify_cb_cert(ctx, xs, n, in x509_vfy_internal_verify()
1988 ctx->current_cert = xs; in x509_vfy_internal_verify()
1994 xi = xs; in x509_vfy_internal_verify()
1995 xs = sk_X509_value(ctx->chain, n); in x509_vfy_internal_verify()
2193 return xs->chain; in STACK_OF()
[all …]
H A Dx509_lu.c762 X509_STORE_get0_objects(X509_STORE *xs) in STACK_OF()
764 return xs->objs; in STACK_OF()
768 X509_STORE_get_ex_data(X509_STORE *xs, int idx) in X509_STORE_get_ex_data() argument
770 return CRYPTO_get_ex_data(&xs->ex_data, idx); in X509_STORE_get_ex_data()
774 X509_STORE_set_ex_data(X509_STORE *xs, int idx, void *data) in X509_STORE_set_ex_data() argument
776 return CRYPTO_set_ex_data(&xs->ex_data, idx, data); in X509_STORE_set_ex_data()
/dragonfly/contrib/binutils-2.34/binutils/
H A Dnm.c589 asection *xs, *ys; in numeric_forward() local
596 xs = bfd_asymbol_section (x); in numeric_forward()
599 if (bfd_is_und_section (xs)) in numeric_forward()
639 asection *xs, *ys; in size_forward1() local
649 xs = bfd_asymbol_section (x); in size_forward1()
652 if (bfd_is_und_section (xs)) in size_forward1()
660 if (xs->vma != ys->vma) in size_forward1()
661 return xs->vma < ys->vma ? -1 : 1; in size_forward1()
/dragonfly/contrib/binutils-2.27/binutils/
H A Dnm.c578 asection *xs, *ys; in numeric_forward() local
585 xs = bfd_get_section (x); in numeric_forward()
588 if (bfd_is_und_section (xs)) in numeric_forward()
628 asection *xs, *ys; in size_forward1() local
638 xs = bfd_get_section (x); in size_forward1()
641 if (bfd_is_und_section (xs)) in size_forward1()
649 if (xs->vma != ys->vma) in size_forward1()
650 return xs->vma < ys->vma ? -1 : 1; in size_forward1()
/dragonfly/lib/libsdp/
H A Dsdp.h459 int32_t sdp_close (void *xs);
460 int32_t sdp_error (void *xs);
462 int32_t sdp_search (void *xs,
/dragonfly/gnu/usr.bin/binutils234/block2/ld/
H A DMakefile29 ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw
/dragonfly/gnu/usr.bin/binutils227/block2/ld/
H A DMakefile29 ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw
/dragonfly/contrib/binutils-2.27/ld/
H A Dgenscripts.sh344 ) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xs
/dragonfly/sys/dev/raid/vinum/
H A D.gdbinit.kernel9 define xs
210 document xs

12