Home
last modified time | relevance | path

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

12

/dragonfly/usr.bin/fetch/
HDfetch.c235 stat_eta(char *str, size_t strsz, const struct xferstat *xs) in stat_eta() argument
240 elapsed = xs->last.tv_sec - xs->start.tv_sec; in stat_eta()
241 received = xs->rcvd - xs->offset; in stat_eta()
242 expected = xs->size - xs->rcvd; in stat_eta()
270 stat_bps(char *str, size_t strsz, struct xferstat *xs) in stat_bps() argument
275 delta = ((double)xs->last.tv_sec + (xs->last.tv_usec / 1.e6)) in stat_bps()
276 - ((double)xs->last2.tv_sec + (xs->last2.tv_usec / 1.e6)); in stat_bps()
281 bps = (xs->rcvd - xs->lastrcvd) / delta; in stat_bps()
291 stat_display(struct xferstat *xs, int force) in stat_display() argument
303 if (!force && now.tv_sec <= xs->last.tv_sec) in stat_display()
[all …]
/dragonfly/sys/dev/disk/isp/
HDisp.c4191 isp_start(XS_T *xs) in isp_start() argument
4201 XS_INITERR(xs); in isp_start()
4202 isp = XS_ISP(xs); in isp_start()
4210 XS_SETERR(xs, HBA_BOTCH); in isp_start()
4221 if (XS_CDBLEN(xs) > (IS_FC(isp)? 16 : 44) || XS_CDBLEN(xs) == 0) { in isp_start()
4222 …isp, ISP_LOGERR, "unsupported cdb length (%d, CDB[0]=0x%x)", XS_CDBLEN(xs), XS_CDBP(xs)[0] & 0xff); in isp_start()
4223 XS_SETERR(xs, HBA_BOTCH); in isp_start()
4231 target = XS_TGT(xs); in isp_start()
4233 fcparam *fcp = FCPARAM(isp, XS_CHANNEL(xs)); in isp_start()
4236 XS_SETERR(xs, HBA_SELTIMEOUT); in isp_start()
[all …]
HDisp_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
HDisp_target.c1371 void *xs; in isp_handle_ctio() local
1376 xs = isp_find_xs_tgt(isp, ct->ct_syshandle); in isp_handle_ctio()
1377 if (xs == NULL) { in isp_handle_ctio()
1381 xs = NULL; in isp_handle_ctio()
1485 if (xs == NULL) { in isp_handle_ctio()
1508 ISP_DMAFREE(isp, xs, ct->ct_syshandle); in isp_handle_ctio()
1521 void *xs; in isp_handle_ctio2() local
1526 xs = isp_find_xs_tgt(isp, ct->ct_syshandle); in isp_handle_ctio2()
1527 if (xs == NULL) { in isp_handle_ctio2()
1531 xs = NULL; in isp_handle_ctio2()
[all …]
HDispvar.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))
HDisp_freebsd.c3878 struct ccb_scsiio *xs = arg; in isp_watchdog() local
3882 isp = XS_ISP(xs); in isp_watchdog()
3885 handle = isp_find_handle(isp, xs); in isp_watchdog()
3887 if (handle != ISP_HANDLE_FREE && !XS_CMD_WPEND_P(xs)) { in isp_watchdog()
3888 …isp_xs_prt(isp, xs, ISP_LOGWARN, "first watchdog (handle 0x%x) timed out- deferring for grace peri… 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()
3906 handle = isp_find_handle(isp, xs); in isp_watchdog()
3917 if (isp_control(isp, ISPCTL_ABORT_CMD, xs) == 0) { in isp_watchdog()
[all …]
HDisp_library.c232 isp_allocate_xs(ispsoftc_t *isp, XS_T *xs, uint32_t *handlep) in isp_allocate_xs() argument
241 hdp->cmd = xs; in isp_allocate_xs()
260 isp_find_handle(ispsoftc_t *isp, XS_T *xs) in isp_find_handle() argument
264 if (xs != NULL) { in isp_find_handle()
266 if (isp->isp_xflist[i].cmd != xs) { 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()
623 ISP_DMAFREE(isp, xs, hdp->handle); in isp_clear_commands()
624 XS_SET_RESID(xs, XS_XFRLEN(xs)); in isp_clear_commands()
[all …]
/dragonfly/sys/vm/
HDvm_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/
HDs_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()
HDs_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/
HDrandom2.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/
HDsearch.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/
HDkrpc_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/
HDx509_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/
HDdpt_scsi.c1774 struct scsi_xfer *xs;
1777 dccb.xs = NULL;
1835 struct scsi_xfer *xs = dccbp->xs;
1838 if (xs != NULL) {
1840 xs->error |= XS_SELTIMEOUT;
1841 xs->flags |= SCSI_ITSDONE;
1842 scsi_done(xs);
1887 ccb->xs = NULL;
2371 ccb->xs = NULL;
2500 struct scsi_xfer *xs;
[all …]
/dragonfly/sys/kern/
HDkern_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/
HDx509_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.27/binutils/
HDnm.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/contrib/binutils-2.34/binutils/
HDnm.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/lib/libsdp/
HDsdp.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/
HDMakefile29 ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw
/dragonfly/gnu/usr.bin/binutils227/block2/ld/
HDMakefile29 ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw
/dragonfly/contrib/binutils-2.27/ld/
HDgenscripts.sh344 ) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xs
/dragonfly/sys/dev/raid/vinum/
HD.gdbinit.kernel9 define xs
210 document xs
/dragonfly/contrib/binutils-2.34/ld/
HDgenscripts.sh423 ) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xs

12