Home
last modified time | relevance | path

Searched refs:bps (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/sys/dev/netmap/
H A Dnetmap_bdg.c756 t->bps = bps; in nm_bdg_create_kthreads()
788 if (!bps) { in nm_bdg_polling_start_kthreads()
818 if (!bps) in nm_bdg_polling_stop_delete_kthreads()
880 bps->qlast = qlast; in get_polling_cfg()
903 bps = nm_os_malloc(sizeof(*bps)); in nm_bdg_ctl_polling_start()
904 if (!bps) in nm_bdg_ctl_polling_start()
910 nm_os_free(bps); in nm_bdg_ctl_polling_start()
915 nm_os_free(bps); in nm_bdg_ctl_polling_start()
921 bps->bna = bna; in nm_bdg_ctl_polling_start()
930 nm_os_free(bps); in nm_bdg_ctl_polling_start()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/
H A Drefreserv_raidz.ksh67 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 Drefreserv_multi_raidz.ksh65 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/usr.sbin/spray/
H A Dspray.c194 double bps; /* bytes per second */ in print_xferstats() local
198 bps = datalen / xfertime; in print_xferstats()
202 if (bps >= 1024) in print_xferstats()
203 printf ("%.1fK ", bps / 1024); in print_xferstats()
205 printf ("%.0f ", bps); in print_xferstats()
/freebsd/tools/tools/ioat/
H A Dioatcontrol.c249 char bps[10], bytesh[10]; in prettyprint() local
274 humanize_number(bps, sizeof(bps), in prettyprint()
278 (unsigned)t->duration, bps); in prettyprint()
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dlantiq,pef2256.yaml68 lantiq,data-rate-bps:
88 rate of 2048000 bit/s. When lantiq,data-rate-bps is more than 2048000
92 For instance, suppose lantiq,data-rate-bps = 8192000 (ie 4*2048000), and
97 With lantiq,data-rate-bps = 8192000, and lantiq,channel-phase = 1, the
101 With lantiq,data-rate-bps = 4096000 (ie 2*2048000), and
155 lantiq,data-rate-bps = <4096000>;
/freebsd/tools/tools/usbtest/
H A Dusbtest.h34 struct bps { struct
55 extern void do_bps(const char *, struct bps *, uint32_t len); argument
H A Dusb_modem_test.c51 struct bps rx_bytes;
52 struct bps tx_bytes;
83 do_bps(const char *desc, struct bps *bps, uint32_t len) in do_bps() argument
85 bps->bytes += len; in do_bps()
/freebsd/usr.bin/fetch/
H A Dfetch.c263 double delta, bps; in stat_bps() local
271 bps = (xs->rcvd - xs->lastrcvd) / delta; in stat_bps()
272 stat_bytes(bytes, sizeof bytes, (off_t)bps); in stat_bps()
283 char bytes[16], bps[16], eta[16]; in stat_display() local
316 stat_bps(bps, sizeof bps, xs); in stat_display()
317 fprintf(stderr, " %s", bps); in stat_display()
366 char bytes[16], bps[16], eta[16]; in stat_end() local
374 stat_bps(bps, sizeof bps, xs); in stat_end()
376 fprintf(stderr, " %s %s %s\n", bytes, bps, eta); in stat_end()
/freebsd/tools/tools/netrate/netreceive/
H A Dnetreceive.c168 uint64_t pps, bps; in main_thread() local
184 bps = ((bc0 - bc1) * 8000000000) / (delta.tv_sec*1000000000 + delta.tv_nsec + 1); in main_thread()
185 fprintf(stderr, " %9ld pps %8.3f Mbps", (long)pps, .000001*bps); in main_thread()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_vnops.c1066 blkptr_t *bps; in zfs_clone_range() local
1285 sizeof (bps[0]); in zfs_clone_range()
1291 bps = vmem_alloc(sizeof (bps[0]) * maxblocks, KM_SLEEP); in zfs_clone_range()
1314 error = dmu_read_l0_bps(inos, inzp->z_id, inoff, size, bps, in zfs_clone_range()
1377 bps, nbps); in zfs_clone_range()
1404 size, inblksz, bps, nbps); in zfs_clone_range()
1422 vmem_free(bps, sizeof (bps[0]) * maxblocks); in zfs_clone_range()
1464 const blkptr_t *bps, size_t nbps) in zfs_clone_range_replay() argument
1520 dmu_brt_clone(zfsvfs->z_os, zp->z_id, off, len, tx, bps, nbps); in zfs_clone_range_replay()
H A Dzfs_log.c892 uint64_t off, uint64_t len, uint64_t blksz, const blkptr_t *bps, in zfs_log_clone_range() argument
906 partnbps = MIN(nbps, max_log_data / sizeof (bps[0])); in zfs_log_clone_range()
912 sizeof (*lr) + sizeof (bps[0]) * partnbps); in zfs_log_clone_range()
919 memcpy(lr->lr_bps, bps, sizeof (bps[0]) * partnbps); in zfs_log_clone_range()
925 bps += partnbps; in zfs_log_clone_range()
H A Dbpobj.c764 dmu_buf_t *bps; in bpobj_enqueue_subobj() local
769 0, FTAG, &bps, 0)); in bpobj_enqueue_subobj()
775 VERIFY3U(bps->db_size, >=, numbps * sizeof (blkptr_t)); in bpobj_enqueue_subobj()
779 bps->db_data, tx); in bpobj_enqueue_subobj()
780 dmu_buf_rele(bps, FTAG); in bpobj_enqueue_subobj()
/freebsd/sys/dev/sound/pcm/
H A Dfeeder_matrix.c69 uint32_t bps; member
258 dst += info->bps; in feed_matrix_apply_generic()
264 dst += info->bps; in feed_matrix_apply_generic()
284 dst += info->bps; in feed_matrix_apply_generic()
346 m_in->offset[i] * info->bps; in feed_matrix_setup()
384 0xffffffff : info->matrix[i].chn[j] / info->bps); in feed_matrix_setup()
411 info->bps = AFMT_BPS(info->in); in feed_matrix_init()
H A Dbuffer.c357 b->bps = AFMT_BPS(b->fmt); in sndbuf_setfmt()
360 b->bps = AFMT_CHANNEL(b->fmt); in sndbuf_setfmt()
362 b->bps <<= 1; in sndbuf_setfmt()
364 b->bps *= 3; in sndbuf_setfmt()
366 b->bps <<= 2; in sndbuf_setfmt()
416 return b->bps; in sndbuf_getbps()
H A Dfeeder_volume.c96 uint32_t bps, channels; member
159 info->bps = AFMT_BPS(f->desc->in); in feed_volume_init()
280 align = info->bps * info->channels; in feed_volume_feed()
H A Dfeeder_rate.c124 int32_t bps; /* bytes-per-sample */ member
436 (info->z_start * info->channels * info->bps), dst, in z_feed_zoh()
437 info->channels * info->bps); in z_feed_zoh()
442 cnt = info->channels * info->bps; in z_feed_zoh()
1263 info->bps = AFMT_BPS(format); in z_resampler_setup()
1264 align = info->channels * info->bps; in z_resampler_setup()
1369 info->channels, info->bps, format, info->quality); in z_resampler_setup()
1585 align = info->channels * info->bps; in z_resampler_feed_internal()
H A Dfeeder_mixer.c93 int bps; member
298 sz = info->bps * FEEDMIXER_CHANNELS(f->data); in feed_mixer_feed()
/freebsd/sys/dev/sound/pci/
H A Dcmi.c105 u_int32_t fmt, spd, phys_buf, bps; member
263 s = sz / ch->bps - 1; in cmi_dma_prog()
266 i = sz / (ch->bps * CMI_INTR_PER_BUFFER) - 1; in cmi_dma_prog()
353 ch->bps = 1; in cmichan_init()
384 ch->bps = 2; in cmichan_setformat()
387 ch->bps = 1; in cmichan_setformat()
392 ch->bps *= 2; in cmichan_setformat()
529 bufptr = (physptr - ch->phys_buf + sz - ch->bps) % sz; in cmichan_getptr()
H A Dcs4281.c77 u_int32_t spd, fmt, bps, blksz; member
330 ch->bps = 1; in cs4281chan_init()
401 ch->bps = cs4281_format_to_bps(format); in cs4281chan_setformat()
498 sndbuf_getsize(ch->buffer) / ch->bps - 1); in adcdac_prog()
/freebsd/sys/arm/broadcom/bcm2835/
H A Dvc_vchi_audioserv_defs.h77 uint32_t bps; member
/freebsd/contrib/bsnmp/snmp_mibII/
H A DBEGEMOT-MIB2-MIB.txt67 UNITS "bps"
71 "The speed of the fastest interface in ifTable in bps."
/freebsd/usr.bin/tip/tip/
H A Dremote35 # 33.6k and 56k modems run the com port at 115200 bps to allow for the
37 # does not support speeds above 38400 bps and that speeds above that have
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dti,tcan104x-can.yaml38 max bit rate supported in bps
/freebsd/tools/tools/netmap/
H A Dlb.c230 uint64_t pps = 0, dps = 0, bps = 0, dbps = 0, usec = 0; in print_stats() local
267 bps = ((x.bytes*1000000 + usec/2) / usec) * 8; in print_stats()
290 (double)bps / 1024 / 1024, in print_stats()
308 bps = ((x.bytes*1000000 + usec/2) / usec) * 8; in print_stats()
333 (double)bps / 1024 / 1024, in print_stats()

12