/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/ |
H A D | refreserv_raidz.ksh | 67 bps=$(diskinfo -v ${alldisks[0]} | awk '/sectorsize/ { print $1 }') 69 bps=$(lsblk -nrdo min-io /dev/${alldisks[0]}) 71 log_must test "$bps" -eq 512 -o "$bps" -eq 4096 72 case "$bps" in 82 log_fail "bytes/sector: $bps != (512|4096)"
|
H A D | refreserv_multi_raidz.ksh | 65 bps=$(diskinfo -v ${alldisks[0]} | awk '/sectorsize/ { print $1 }') 67 bps=$(lsblk -nrdo min-io /dev/${alldisks[0]}) 69 case "$bps" in 77 log_fail "bytes/sector: $bps != (512|4096)"
|
/freebsd-13-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-13-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-13-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-13-stable/sys/arm/broadcom/bcm2835/ |
H A D | vc_vchi_audioserv_defs.h | 79 uint32_t bps; member in struct:__anon8441
|
/freebsd-13-stable/tools/tools/ioat/ |
H A D | ioatcontrol.c | 251 char bps[10], bytesh[10]; local 276 humanize_number(bps, sizeof(bps), 280 (unsigned)t->duration, bps);
|
/freebsd-13-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-13-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-13-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; 348 m_in->offset[i] * info->bps; 386 0xffffffff : info->matrix[i].chn[j] / info->bps); 413 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 438 (info->z_start * info->channels * info->bps), dst, 439 info->channels * info->bps); 444 cnt = info->channels * info->bps; 1265 info->bps = AFMT_BPS(format); 1266 align = info->channels * info->bps; 1370 fprintf(stderr, "\tchannels=%d, bps=%d, format=0x%08x, quality=%d\n", 1371 info->channels, info->bps, format, info->quality); 1587 align = info->channels * info->bps;
|
/freebsd-13-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; 355 ch->bps = 1; 386 ch->bps = 2; 389 ch->bps = 1; 394 ch->bps *= 2; 531 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-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | bpobj.c | 740 dmu_buf_t *bps; local 745 0, FTAG, &bps, 0)); 751 VERIFY3U(bps->db_size, >=, numbps * sizeof (blkptr_t)); 755 bps->db_data, tx); 756 dmu_buf_rele(bps, FTAG); 914 * get bpo_bytes rather than iterating over the bps.
|
/freebsd-13-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-13-stable/sys/cam/nvme/ |
H A D | nvme_da.c | 141 TAILQ_HEAD(, bio) bps; 1089 TAILQ_INIT(&trim->bps); 1096 TAILQ_INSERT_TAIL(&trim->bps, bp1, bio_queue); 1222 TAILQ_CONCAT(&queue, &trim->bps, bio_queue);
|
/freebsd-13-stable/sys/cam/ata/ |
H A D | ata_da.c | 247 TAILQ_HEAD(, bio) bps; 1972 TAILQ_INIT(&req->bps); 2013 TAILQ_INSERT_TAIL(&req->bps, bp, bio_queue); 2082 TAILQ_INIT(&req->bps); 2083 TAILQ_INSERT_TAIL(&req->bps, bp, bio_queue); 2924 TAILQ_CONCAT(&queue, &softc->trim_req.bps, bio_queue);
|
/freebsd-13-stable/sbin/pfctl/ |
H A D | parse.y | 1655 double bps; 1660 bps = strtod($1, &cp); 1674 bps *= 1000; 1676 bps *= 1000 * 1000; 1678 bps *= 1000 * 1000 * 1000; 1680 if (bps < 0 || bps > 100) { 1686 $$.bw_percent = bps; 1687 bps = 0; 1695 $$.bw_absolute = (u_int64_t)bps; [all...] |