/freebsd-11-stable/tools/tools/usbtest/ |
H A D | usbtest.h | 35 struct bps { struct 49 extern void do_bps(const char *, struct bps *, uint32_t len);
|
H A D | usb_modem_test.c | 52 struct bps rx_bytes; 53 struct bps tx_bytes; 84 do_bps(const char *desc, struct bps *bps, uint32_t len) argument 86 bps->bytes += len;
|
/freebsd-11-stable/usr.sbin/spray/ |
H A D | spray.c | 199 double bps; /* bytes per second */ local 203 bps = datalen / xfertime; 207 if (bps >= 1024) 208 printf ("%.1fK ", bps / 1024); 210 printf ("%.0f ", bps);
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_bdg.c | 557 struct nm_bdg_polling_state *bps; member in struct:nm_bdg_kthread 584 bna = nbk->bps->bna; 594 nm_bdg_create_kthreads(struct nm_bdg_polling_state *bps) argument 599 bps->kthreads = nm_os_malloc(sizeof(struct nm_bdg_kthread) * bps->ncpus); 600 if (bps->kthreads == NULL) 605 for (i = 0; i < bps->ncpus; i++) { 606 struct nm_bdg_kthread *t = bps->kthreads + i; 607 int all = (bps->ncpus == 1 && 608 bps 639 nm_bdg_polling_start_kthreads(struct nm_bdg_polling_state *bps) argument 669 nm_bdg_polling_stop_delete_kthreads(struct nm_bdg_polling_state *bps) argument 685 get_polling_cfg(struct nmreq_vale_polling *req, struct netmap_adapter *na, struct nm_bdg_polling_state *bps) argument 748 struct nm_bdg_polling_state *bps; local 796 struct nm_bdg_polling_state *bps; local [all...] |
/freebsd-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | vc_vchi_audioserv_defs.h | 79 uint32_t bps; member in struct:__anon7251
|
/freebsd-11-stable/tools/tools/ioat/ |
H A D | ioatcontrol.c | 249 char bps[10], bytesh[10]; local 274 humanize_number(bps, sizeof(bps), 278 (unsigned)t->duration, bps);
|
/freebsd-11-stable/tools/tools/netrate/netreceive/ |
H A D | netreceive.c | 170 uint64_t pps, bps; local 186 bps = ((bc0 - bc1) * 8000000000) / (delta.tv_sec*1000000000 + delta.tv_nsec + 1); 187 fprintf(stderr, " %9ld pps %8.3f Mbps", (long)pps, .000001*bps);
|
/freebsd-11-stable/usr.bin/fetch/ |
H A D | fetch.c | 266 double delta, bps; local 274 bps = (xs->rcvd - xs->lastrcvd) / delta; 275 stat_bytes(bytes, sizeof bytes, (off_t)bps); 286 char bytes[16], bps[16], eta[16]; local 319 stat_bps(bps, sizeof bps, xs); 320 fprintf(stderr, " %s", bps); 369 char bytes[16], bps[16], eta[16]; local 377 stat_bps(bps, sizeof bps, x [all...] |
/freebsd-11-stable/sys/dev/sound/pcm/ |
H A D | buffer.c | 356 b->bps = AFMT_BPS(b->fmt); 359 b->bps = AFMT_CHANNEL(b->fmt); 361 b->bps <<= 1; 363 b->bps *= 3; 365 b->bps <<= 2; 415 return b->bps;
|
H A D | feeder_volume.c | 96 uint32_t bps, channels; member in struct:feed_volume_info 159 info->bps = AFMT_BPS(f->desc->in); 271 align = info->bps * info->channels;
|
H A D | feeder_matrix.c | 69 uint32_t bps; member in struct:feed_matrix_info 258 dst += info->bps; 264 dst += info->bps; 284 dst += info->bps; 347 m_in->offset[i] * info->bps; 385 0xffffffff : info->matrix[i].chn[j] / info->bps); 412 info->bps = AFMT_BPS(info->in);
|
H A D | buffer.h | 51 u_int32_t fmt, spd, bps, align; member in struct:snd_dbuf
|
H A D | feeder_rate.c | 124 int32_t bps; /* bytes-per-sample */ member in struct:z_info 433 (info->z_start * info->channels * info->bps), dst, 434 info->channels * info->bps); 439 cnt = info->channels * info->bps; 1260 info->bps = AFMT_BPS(format); 1261 align = info->channels * info->bps; 1365 fprintf(stderr, "\tchannels=%d, bps=%d, format=0x%08x, quality=%d\n", 1366 info->channels, info->bps, format, info->quality); 1582 align = info->channels * info->bps;
|
H A D | feeder_mixer.c | 93 int bps; member in struct:feed_mixer_info 298 sz = info->bps * FEEDMIXER_CHANNELS(f->data);
|
H A D | channel.c | 1648 chn_calclatency(int dir, int latency, int bps, u_int32_t datarate, argument 1663 bps < 1 || datarate < 1 || 1669 printf("%s(): FAILED dir=%d latency=%d bps=%d " 1671 __func__, dir, latency, bps, datarate, max); 1689 blksz = round_blksz(bufsz >> blkcnt, bps);
|
/freebsd-11-stable/sys/dev/sound/pci/ |
H A D | cmi.c | 105 u_int32_t fmt, spd, phys_buf, bps; member in struct:sc_chinfo 263 s = sz / ch->bps - 1; 266 i = sz / (ch->bps * CMI_INTR_PER_BUFFER) - 1; 354 ch->bps = 1; 385 ch->bps = 2; 388 ch->bps = 1; 393 ch->bps *= 2; 530 bufptr = (physptr - ch->phys_buf + sz - ch->bps) % sz;
|
H A D | cs4281.c | 77 u_int32_t spd, fmt, bps, blksz; member in struct:sc_chinfo 334 ch->bps = 1; 405 ch->bps = cs4281_format_to_bps(format); 502 sndbuf_getsize(ch->buffer) / ch->bps - 1);
|
H A D | als4000.c | 68 u_int32_t format, speed, phys_buf, bps; member in struct:sc_chinfo 222 ch->bps = 1;
|
/freebsd-11-stable/sys/fs/nandfs/ |
H A D | nandfs_subr.c | 903 uint64_t space, bps; local 905 bps = nffsdev->nd_fsdata.f_blocks_per_segment; 906 space = (nffsdev->nd_clean_segs - 1) * bps; 911 if (nffsdev->nd_dirty_bufs + (nffsdev->nd_segs_reserved * bps) >= space) 922 uint64_t ino, bps; local 959 bps = nffsdev->nd_fsdata.f_blocks_per_segment; 961 if (nffsdev->nd_dirty_bufs >= (bps * nandfs_max_dirty_segs)) {
|
H A D | nandfs_sufile.c | 407 uint32_t bps, bsize; local 410 bps = fsdev->nd_fsdata.f_blocks_per_segment; 412 segsize = bsize * bps;
|
/freebsd-11-stable/tools/tools/netmap/ |
H A D | lb.c | 230 uint64_t pps = 0, dps = 0, bps = 0, dbps = 0, usec = 0; local 267 bps = ((x.bytes*1000000 + usec/2) / usec) * 8; 290 (double)bps / 1024 / 1024, 308 bps = ((x.bytes*1000000 + usec/2) / usec) * 8; 333 (double)bps / 1024 / 1024,
|
/freebsd-11-stable/sys/dev/cx/ |
H A D | cxddk.c | 268 void cx_set_baud (cx_chan_t *c, unsigned long bps) argument 272 c->txbaud = c->rxbaud = bps; 276 if (bps) {
|
/freebsd-11-stable/sys/cam/ata/ |
H A D | ata_da.c | 218 TAILQ_HEAD(, bio) bps; 1893 TAILQ_INIT(&req->bps); 1932 TAILQ_INSERT_TAIL(&req->bps, bp, bio_queue); 1998 TAILQ_INIT(&req->bps); 1999 TAILQ_INSERT_TAIL(&req->bps, bp, bio_queue); 2833 TAILQ_CONCAT(&queue, &softc->trim_req.bps, bio_queue);
|
/freebsd-11-stable/sys/cam/nvme/ |
H A D | nvme_da.c | 98 TAILQ_HEAD(, bio) bps; 1008 TAILQ_CONCAT(&queue, &softc->trim_req.bps, bio_queue);
|
/freebsd-11-stable/sbin/pfctl/ |
H A D | parse.y | 1634 double bps; 1639 bps = strtod($1, &cp); 1653 bps *= 1000; 1655 bps *= 1000 * 1000; 1657 bps *= 1000 * 1000 * 1000; 1659 if (bps < 0 || bps > 100) { 1665 $$.bw_percent = bps; 1666 bps = 0; 1674 $$.bw_absolute = (u_int32_t)bps; [all...] |