Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/netmap/
H A Dnetmap_bdg.c702 struct nm_bdg_polling_state *bps; member
729 bna = nbk->bps->bna; in netmap_bwrap_polling()
739 nm_bdg_create_kthreads(struct nm_bdg_polling_state *bps) in nm_bdg_create_kthreads() argument
744 bps->kthreads = nm_os_malloc(sizeof(struct nm_bdg_kthread) * bps->ncpus); in nm_bdg_create_kthreads()
745 if (bps->kthreads == NULL) in nm_bdg_create_kthreads()
750 for (i = 0; i < bps->ncpus; i++) { in nm_bdg_create_kthreads()
751 struct nm_bdg_kthread *t = bps->kthreads + i; in nm_bdg_create_kthreads()
752 int all = (bps->ncpus == 1 && in nm_bdg_create_kthreads()
753 bps->mode == NETMAP_POLLING_MODE_SINGLE_CPU); in nm_bdg_create_kthreads()
754 int affinity = bps->cpu_from + i; in nm_bdg_create_kthreads()
[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/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/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()
1368 fprintf(stderr, "\tchannels=%d, bps=%d, format=0x%08x, quality=%d\n", 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/contrib/openzfs/module/zfs/
H A Dzfs_vnops.c1346 blkptr_t *bps; in zfs_clone_range() local
1565 sizeof (bps[0]); in zfs_clone_range()
1571 bps = vmem_alloc(sizeof (bps[0]) * maxblocks, KM_SLEEP); in zfs_clone_range()
1594 error = dmu_read_l0_bps(inos, inzp->z_id, inoff, size, bps, in zfs_clone_range()
1657 bps, nbps); in zfs_clone_range()
1684 size, inblksz, bps, nbps); in zfs_clone_range()
1702 vmem_free(bps, sizeof (bps[0]) * maxblocks); in zfs_clone_range()
1744 const blkptr_t *bps, size_t nbps) in zfs_clone_range_replay() argument
1800 dmu_brt_clone(zfsvfs->z_os, zp->z_id, off, len, tx, bps, nbps); in zfs_clone_range_replay()
H A Dzfs_log.c894 uint64_t off, uint64_t len, uint64_t blksz, const blkptr_t *bps, in zfs_log_clone_range() argument
908 partnbps = MIN(nbps, max_log_data / sizeof (bps[0])); in zfs_log_clone_range()
914 sizeof (*lr) + sizeof (bps[0]) * partnbps); in zfs_log_clone_range()
921 memcpy(lr->lr_bps, bps, sizeof (bps[0]) * partnbps); in zfs_log_clone_range()
927 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/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/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/arm/broadcom/bcm2835/
H A Dvc_vchi_audioserv_defs.h77 uint32_t bps; member
/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()
H A Dnmreplay.c1633 uint64_t bps = arg->d[0]; in const_bw_run() local
1634 q->cur_tt = bps ? 8ULL* TIME_UNITS * q->cur_len / bps : 0 ; in const_bw_run()
1661 uint64_t bps = arg->d[0]; in ether_bw_run() local
1662 q->cur_tt = bps ? 8ULL * TIME_UNITS * (q->cur_len + 24) / bps : 0 ; in ether_bw_run()
/freebsd/sys/contrib/device-tree/Bindings/media/i2c/
H A Dtc358743.txt23 is half of the bps per lane due to DDR transmission.

12