/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_resume.ksh | 59 log_must dd if=/dev/urandom of=$send_mnt/f3 bs=1024k count=3 63 log_must dd if=/dev/urandom of=$clone1_mnt/f3 bs=128k count=3 conv=notrunc 81 dd if=$stream bs=64k count=1 | log_mustnot zfs receive -s $recvfs
|
H A D | redacted_holes.ksh | 52 log_must dd if=/dev/zero of=$clone_mnt/f1 bs=1M count=1 conv=notrunc 53 log_must dd if=/dev/zero of=$clone_mnt/f1 bs=1M count=1 conv=notrunc seek=7 78 log_must dd if=/dev/urandom of=$clone_mnt/f2 bs=1M count=2 seek=3 \
|
H A D | redacted_largeblocks.ksh | 46 log_must dd if=/dev/urandom of=$clone_mnt/f1 bs=32k count=3 seek=8 conv=notrunc
|
H A D | redacted_panic.ksh | 36 log_must dd if=/dev/urandom of=/$sendfs/file bs=1024k count=2048
|
/freebsd-13-stable/sbin/pfctl/ |
H A D | pfctl_radix.c | 459 size_t bs; local 466 bs = buf_esize[b->pfrb_type]; 470 memcpy(((caddr_t)b->pfrb_caddr) + bs * b->pfrb_size, e, bs); 482 size_t bs; local 490 bs = buf_esize[b->pfrb_type]; 491 if ((((caddr_t)prev)-((caddr_t)b->pfrb_caddr)) / bs >= b->pfrb_size-1) 493 return (((caddr_t)prev) + bs); 505 size_t bs; local 513 bs [all...] |
/freebsd-13-stable/tools/tools/ath/athaggrstats/ |
H A D | athaggrstats.c | 213 snprintrate(char b[], size_t bs, int rate) argument 216 snprintf(b, bs, "MCS%u", rate &~ IEEE80211_RATE_MCS); 218 snprintf(b, bs, "%u.5M", rate / 2); 220 snprintf(b, bs, "%uM", rate / 2); 224 ath_get_curstat(struct bsdstat *sf, int s, char b[], size_t bs) argument 228 snprintf(b, bs, "%u", wf->cur.aggr_##x - wf->total.aggr_##x); return 1 230 snprintf(b, bs, "%u", wf->cur.aggr_pkts[x] - wf->total.aggr_pkts[x]); return 1 280 ath_get_totstat(struct bsdstat *sf, int s, char b[], size_t bs) argument 284 snprintf(b, bs, "%u", wf->total.aggr_##x); return 1 286 snprintf(b, bs, " [all...] |
/freebsd-13-stable/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_core.h | 151 #define VCHI_BITSET_ZERO(bs) memset(bs, 0, sizeof(bs)) 152 #define VCHI_BITSET_IS_SET(bs, b) (bs[VCHI_BITSET_WORD(b)] & VCHI_BITSET_BIT(b)) 153 #define VCHI_BITSET_SET(bs, b) (bs[VCHI_BITSET_WORD(b)] |= VCHI_BITSET_BIT(b)) 154 #define VCHI_BITSET_CLR(bs, b) (bs[VCHI_BITSET_WORD(b)] &= ~VCHI_BITSET_BIT(b))
|
/freebsd-13-stable/crypto/openssl/crypto/x509/ |
H A D | t_req.c | 117 ASN1_BIT_STRING *bs = NULL; local 137 bs = at->value.asn1_string; 150 if (BIO_write(bp, (char *)bs->data, bs->length) 151 != bs->length)
|
/freebsd-13-stable/stand/libsa/ |
H A D | dosfs.c | 498 parsebs(DOS_FS *fs, DOS_BS *bs) argument 502 if ((bs->jmp[0] != 0x69 && 503 bs->jmp[0] != 0xe9 && 504 (bs->jmp[0] != 0xeb || bs->jmp[2] != 0x90)) || 505 bs->bpb.media < 0xf0) 507 if (cv2(bs->bpb.secsiz) != SECSIZ) 509 if (!(fs->spc = bs->bpb.spc) || fs->spc & (fs->spc - 1)) 513 if ((fs->spf = cv2(bs->bpb.spf))) { 514 if (bs [all...] |
/freebsd-13-stable/contrib/tcsh/ |
H A D | sh.time.c | 284 prusage(struct tms *bs, struct tms *es, time_t e, time_t b) 287 prusage(struct tms *bs, struct tms *es, clock_t e, clock_t b) 310 time_t t = (es->tms_utime - bs->tms_utime + 311 es->tms_stime - bs->tms_stime) * 100 / HZ; 314 clock_t t = (es->tms_utime - bs->tms_utime + 315 es->tms_stime - bs->tms_stime) * 100 / clk_tck; 368 xprintf("es->tms_utime %lu bs->tms_utime %lu\n", 369 (unsigned long)es->tms_utime, (unsigned long)bs->tms_utime); 370 xprintf("es->tms_stime %lu bs->tms_stime %lu\n", 371 (unsigned long)es->tms_stime, (unsigned long)bs [all...] |
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | rsend.kshlib | 408 bs=512 424 bs=$bs count=$(($file_size / 2 / $bs)) \ 425 seek=$(($RANDOM % (($file_size / 2 / $bs) + 1))) \ 430 bs=$file_size count=1 >/dev/null 2>&1 || \ 433 bs=$bs count=$(($file_size / 2 / $bs)) \ 434 seek=$(($RANDOM % (($file_size / 2 / $bs) [all...] |
/freebsd-13-stable/sys/dev/iscsi_initiator/ |
H A D | iscsi_subr.c | 86 u_int bleft, bs, dsn, bo; local 94 bs = MIN(sp->opt.maxXmitDataSegmentLength, ddtl); 96 bs = ddtl; 98 sdebug(4, "edtl=%x ddtl=%x bo=%x dsn=%x bs=%x maxX=%x", 99 edtl, ddtl, bo, dsn, bs, sp->opt.maxXmitDataSegmentLength); 122 cmd->F = (bs < bleft)? 0: 1; // is this the last one? 123 bs = MIN(bs, bleft); 125 wpq->pdu.ds_len = bs; 129 sdebug(6, "bs [all...] |
/freebsd-13-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_box.c | 66 chtype ts, chtype bs, 79 _tracechtype2(4, bs), 91 RENDER_WITH_DEFAULT(bs, ACS_HLINE); 64 wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
|
/freebsd-13-stable/sys/dev/sdio/ |
H A D | sdio_subr.c | 117 sdio_set_block_size(struct sdio_func *f, uint16_t bs) argument 129 v = htole16(bs); 136 f->cur_blksize = bs;
|
/freebsd-13-stable/tests/sys/geom/class/eli/ |
H A D | kill_test.sh | 18 atf_check dd if=/dev/random of=keyfile1 bs=512 count=16 status=none 19 atf_check dd if=/dev/random of=keyfile2 bs=512 count=16 status=none 81 atf_check dd if=/dev/random of=keyfile bs=512 count=16 status=none
|
/freebsd-13-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_add_filter_compress.c | 150 size_t bs = 65536, bpb; local 166 if (bpb > bs) 167 bs = bpb; 169 bs -= bs % bpb; 171 state->compressed_buffer_size = bs;
|
H A D | archive_write_add_filter_gzip.c | 188 size_t bs = 65536, bpb; local 193 if (bpb > bs) 194 bs = bpb; 196 bs -= bs % bpb; 198 data->compressed_buffer_size = bs;
|
H A D | archive_write_add_filter_zstd.c | 225 size_t bs = ZSTD_CStreamOutSize(), bpb; local 230 if (bpb > bs) 231 bs = bpb; 233 bs -= bs % bpb; 235 data->out.size = bs;
|
/freebsd-13-stable/crypto/openssl/apps/ |
H A D | ocsp.c | 90 static void print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req, 233 OCSP_BASICRESP *bs = NULL; local 767 bs = OCSP_response_get1_basic(resp); 768 if (bs == NULL) { 776 if (req != NULL && ((i = OCSP_check_nonce(req, bs)) <= 0)) { 786 i = OCSP_basic_verify(bs, verify_other, store, verify_flags); 788 i = OCSP_basic_verify(bs, issuers, store, OCSP_TRUSTOTHER); 801 print_ocsp_summary(out, bs, req, reqnames, ids, nsec, maxage); 821 OCSP_BASICRESP_free(bs); 1076 static void print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUES argument 1142 OCSP_BASICRESP *bs = NULL; local [all...] |
/freebsd-13-stable/sys/dev/sound/pcm/ |
H A D | dsp.c | 1634 struct snd_dbuf *bs = rdch->bufsoft; local 1637 a->bytes = sndbuf_getready(bs); 1638 a->fragments = a->bytes / sndbuf_getblksz(bs); 1639 a->fragstotal = sndbuf_getblkcnt(bs); 1640 a->fragsize = sndbuf_getblksz(bs); 1652 struct snd_dbuf *bs = wrch->bufsoft; local 1656 a->bytes = sndbuf_getfree(bs); 1657 a->fragments = a->bytes / sndbuf_getblksz(bs); 1658 a->fragstotal = sndbuf_getblkcnt(bs); 1659 a->fragsize = sndbuf_getblksz(bs); 1670 struct snd_dbuf *bs = rdch->bufsoft; local 1688 struct snd_dbuf *bs = wrch->bufsoft; local 1780 struct snd_dbuf *bs = wrch->bufsoft; local 1916 struct snd_dbuf *bs; local 1940 struct snd_dbuf *bs; local 1973 struct snd_dbuf *bs; local [all...] |
/freebsd-13-stable/libexec/rc/rc.d/ |
H A D | random | 27 dd if=/dev/random of="$f" bs=4096 count=1 status=none && 39 if dd if="$f" of=/dev/random bs=4096 2>/dev/null ; then
|
/freebsd-13-stable/release/arm64/ |
H A D | mkisoimages.sh | 91 dd if=efi.img of="$NAME" bs=32k count=1 conv=notrunc
|
/freebsd-13-stable/release/riscv/ |
H A D | mkisoimages.sh | 91 dd if=efi.img of="$NAME" bs=32k count=1 conv=notrunc
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_007_pos.ksh | 60 log_must dd if=/dev/urandom of=${mntpnt}/file bs=512 count=1 2>/dev/null 75 dd if=/dev/urandom of=${mntpnt}/$FILE bs=512 count=1 seek=1 2>/dev/null
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/ |
H A D | zpool_events_clear_retained.ksh | 78 log_must dd conv=notrunc if=$SUPPLY of=$VDEV1 bs=1M seek=4 count=$DAMAGEBLKS 108 log_must dd if=/dev/urandom of=$SUPPLY bs=1M count=$DAMAGEBLKS
|