Home
last modified time | relevance | path

Searched full:bps (Results 1 – 25 of 139) sorted by relevance

123456

/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/fstyp/
H A Dexfat.c244 exfat_fat_next(FILE *fp, const struct exfat_vbr *ev, unsigned BPS, in exfat_fat_next() argument
251 clsect = fat_offset_sect + (cluster / (BPS / sizeof(cluster))); in exfat_fat_next()
252 clsectoff = (cluster % (BPS / sizeof(cluster))); in exfat_fat_next()
255 fatsect = read_sect(fp, clsect, BPS); in exfat_fat_next()
263 exfat_find_label(FILE *fp, const struct exfat_vbr *ev, unsigned BPS, in exfat_find_label() argument
282 rootdir_cluster = exfat_fat_next(fp, ev, BPS, rootdir_cluster)) { in exfat_find_label()
291 declust = read_sectn(fp, rootdir_sect, sects_per_clust, BPS); in exfat_find_label()
293 it < declust + (sects_per_clust * BPS / sizeof(*it)); it++) { in exfat_find_label()
/freebsd/tools/tools/netmap/
H A Dnmreplay.877 .It Fl B Ar bps | Cm constant , Ns Ar bps | Cm ether , Ns Ar bps | Cm real Ns Op , Ns Ar speedup
79 .Ar bps
H A Dnmreplay.c968 "usage: nmreplay [-v] [-D delay] [-B {[constant,]bps|ether,bps|real,speedup}] [-L loss]\n" in usage()
1135 // B bandwidth in bps in main()
1180 case 'B': /* bandwidth in bps */ in main()
1349 * parse a bandwidth, returns value in bps or U_PARSE_ERR if error.
1633 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()
1699 "constant,bps", TLEM_CFG_END },
1701 "ether,bps", TLEM_CFG_END },
/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/sys/contrib/device-tree/Bindings/w1/
H A Dw1-uart.yaml32 reset-bps:
37 write-0-bps:
42 write-1-bps:
/freebsd/sys/netpfil/pf/
H A Dpf_altq.h61 u_int rtsc_m1; /* slope of the 1st segment in bps */
63 u_int rtsc_m2; /* slope of the 2nd segment in bps */
77 u_int64_t rtsc_m1; /* slope of the 1st segment in bps */
79 u_int64_t rtsc_m2; /* slope of the 2nd segment in bps */
/freebsd/contrib/ntp/html/drivers/
H A Ddriver20.html25 Serial Port: <tt>/dev/gps<i>u</i></tt>; 4800 - 115200 bps, 8-bits, no parity<br>
283 <td>linespeed 4800 bps</td>
287 <td>linespeed 9600 bps</td>
291 <td>linespeed 19200 bps</td>
295 <td>linespeed 38400 bps</td>
299 <td>linespeed 57600 bps</td>
303 <td>linespeed 115200 bps</td>
368 of 4800 bps, which results in the first one received and recognised in
391 1-second cycle at 4800 bps, but high-speed high-volume NMEA data is likely
396 linespeed of 4800 bps or 9600 bps.
/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/sbin/bsdlabel/
H A Dbsdlabel.8220 # size offset fstype [fsize bsize bps/cpg]
250 # size offset fstype [fsize bsize bps/cpg]
358 .It Ar bps/cpg
479 # size offset fstype [fsize bsize bps/cpg]
/freebsd/usr.bin/fetch/
H A Dfetch.c263 double delta, bps; in stat_bps() local
269 snprintf(str, strsz, "?? Bps"); in stat_bps()
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/sbin/pfctl/
H A Dpfctl_parser.h162 struct node_queue_bw m1; /* slope of 1st segment; bps */
164 struct node_queue_bw m2; /* slope of 2nd segment; bps */
176 struct node_queue_bw m1; /* slope of 1st segment; bps */
178 struct node_queue_bw m2; /* slope of 2nd segment; bps */
/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/sys/contrib/openzfs/module/zfs/
H A Dzvol.c592 blkptr_t *bps; in zvol_clone_range() local
681 sizeof (bps[0]); in zvol_clone_range()
682 bps = vmem_alloc(sizeof (bps[0]) * maxblocks, KM_SLEEP); in zvol_clone_range()
705 size, bps, &nbps); in zvol_clone_range()
730 tx, bps, nbps); in zvol_clone_range()
736 size, zv_src->zv_volblocksize, bps, nbps); in zvol_clone_range()
742 vmem_free(bps, sizeof (bps[0]) * maxblocks); in zvol_clone_range()
760 uint64_t len, uint64_t blksz, const blkptr_t *bps, size_t nbps) in zvol_log_clone_range() argument
773 partnbps = MIN(nbps, max_log_data / sizeof (bps[0])); in zvol_log_clone_range()
779 sizeof (*lr) + sizeof (bps[0]) * partnbps); in zvol_log_clone_range()
[all …]
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()
/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/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 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()
/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/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/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()
/freebsd/sys/dev/usb/serial/
H A Dumcs.h179 * = 115200 bps, default */
181 * = 230400 bps */
183 * = 403200 bps */
185 * = 460800 bps */
187 * = 806400 bps */
189 * = 921600 bps */

123456