/freebsd-12-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-12-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-12-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-12-stable/sys/arm/broadcom/bcm2835/ |
H A D | vc_vchi_audioserv_defs.h | 79 uint32_t bps; member in struct:__anon9434
|
/freebsd-12-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-12-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-12-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-12-stable/sys/dev/sound/pcm/ |
H A D | buffer.c | 358 b->bps = AFMT_BPS(b->fmt); 361 b->bps = AFMT_CHANNEL(b->fmt); 363 b->bps <<= 1; 365 b->bps *= 3; 367 b->bps <<= 2; 417 return b->bps;
|
H A D | feeder_volume.c | 98 uint32_t bps, channels; member in struct:feed_volume_info 161 info->bps = AFMT_BPS(f->desc->in); 273 align = info->bps * info->channels;
|
H A D | feeder_matrix.c | 71 uint32_t bps; member in struct:feed_matrix_info 260 dst += info->bps; 266 dst += info->bps; 286 dst += info->bps; 349 m_in->offset[i] * info->bps; 387 0xffffffff : info->matrix[i].chn[j] / info->bps); 414 info->bps = AFMT_BPS(info->in);
|
H A D | buffer.h | 53 u_int32_t fmt, spd, bps, align; member in struct:snd_dbuf
|
H A D | feeder_mixer.c | 95 int bps; member in struct:feed_mixer_info 300 sz = info->bps * FEEDMIXER_CHANNELS(f->data);
|
H A D | feeder_rate.c | 126 int32_t bps; /* bytes-per-sample */ member in struct:z_info 435 (info->z_start * info->channels * info->bps), dst, 436 info->channels * info->bps); 441 cnt = info->channels * info->bps; 1262 info->bps = AFMT_BPS(format); 1263 align = info->channels * info->bps; 1367 fprintf(stderr, "\tchannels=%d, bps=%d, format=0x%08x, quality=%d\n", 1368 info->channels, info->bps, format, info->quality); 1584 align = info->channels * info->bps;
|
/freebsd-12-stable/sys/dev/sound/pci/ |
H A D | cmi.c | 107 u_int32_t fmt, spd, phys_buf, bps; member in struct:sc_chinfo 265 s = sz / ch->bps - 1; 268 i = sz / (ch->bps * CMI_INTR_PER_BUFFER) - 1; 356 ch->bps = 1; 387 ch->bps = 2; 390 ch->bps = 1; 395 ch->bps *= 2; 532 bufptr = (physptr - ch->phys_buf + sz - ch->bps) % sz;
|
H A D | cs4281.c | 79 u_int32_t spd, fmt, bps, blksz; member in struct:sc_chinfo 336 ch->bps = 1; 407 ch->bps = cs4281_format_to_bps(format); 504 sndbuf_getsize(ch->buffer) / ch->bps - 1);
|
H A D | als4000.c | 70 u_int32_t format, speed, phys_buf, bps; member in struct:sc_chinfo 224 ch->bps = 1;
|
/freebsd-12-stable/sys/fs/nandfs/ |
H A D | nandfs_subr.c | 905 uint64_t space, bps; local 907 bps = nffsdev->nd_fsdata.f_blocks_per_segment; 908 space = (nffsdev->nd_clean_segs - 1) * bps; 913 if (nffsdev->nd_dirty_bufs + (nffsdev->nd_segs_reserved * bps) >= space) 924 uint64_t ino, bps; local 961 bps = nffsdev->nd_fsdata.f_blocks_per_segment; 963 if (nffsdev->nd_dirty_bufs >= (bps * nandfs_max_dirty_segs)) {
|
H A D | nandfs_sufile.c | 409 uint32_t bps, bsize; local 412 bps = fsdev->nd_fsdata.f_blocks_per_segment; 414 segsize = bsize * bps;
|
/freebsd-12-stable/tools/tools/netmap/ |
H A D | lb.c | 231 uint64_t pps = 0, dps = 0, bps = 0, dbps = 0, usec = 0; local 268 bps = ((x.bytes*1000000 + usec/2) / usec) * 8; 291 (double)bps / 1024 / 1024, 309 bps = ((x.bytes*1000000 + usec/2) / usec) * 8; 334 (double)bps / 1024 / 1024,
|
H A D | nmreplay.c | 970 "usage: nmreplay [-v] [-D delay] [-B {[constant,]bps|ether,bps|real,speedup}] [-L loss]\n" 1137 // B bandwidth in bps 1182 case 'B': /* bandwidth in bps */ 1349 * parse a bandwidth, returns value in bps or U_PARSE_ERR if error. 1634 uint64_t bps = arg->d[0]; local 1635 q->cur_tt = bps ? 8ULL* TIME_UNITS * q->cur_len / bps : 0 ; 1662 uint64_t bps = arg->d[0]; local 1663 q->cur_tt = bps [all...] |
/freebsd-12-stable/sys/cam/nvme/ |
H A D | nvme_da.c | 135 TAILQ_HEAD(, bio) bps; 1035 TAILQ_INIT(&trim->bps); 1042 TAILQ_INSERT_TAIL(&trim->bps, bp1, bio_queue); 1159 TAILQ_CONCAT(&queue, &trim->bps, bio_queue);
|
/freebsd-12-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-12-stable/sys/cam/ata/ |
H A D | ata_da.c | 220 TAILQ_HEAD(, bio) bps; 1892 TAILQ_INIT(&req->bps); 1931 TAILQ_INSERT_TAIL(&req->bps, bp, bio_queue); 1997 TAILQ_INIT(&req->bps); 1998 TAILQ_INSERT_TAIL(&req->bps, bp, bio_queue); 2837 TAILQ_CONCAT(&queue, &softc->trim_req.bps, bio_queue);
|
/freebsd-12-stable/sbin/pfctl/ |
H A D | parse.y | 1647 double bps; 1652 bps = strtod($1, &cp); 1666 bps *= 1000; 1668 bps *= 1000 * 1000; 1670 bps *= 1000 * 1000 * 1000; 1672 if (bps < 0 || bps > 100) { 1678 $$.bw_percent = bps; 1679 bps = 0; 1687 $$.bw_absolute = (u_int64_t)bps; [all...] |