| /f-stack/freebsd/net/ |
| H A D | bridgestp.c | 466 BSTP_LOCK(bs); in bstp_input() 787 bs->bs_root_pv = bs->bs_bridge_pv; in bstp_assign_roles() 789 bs->bs_root_max_age = bs->bs_bridge_max_age; in bstp_assign_roles() 790 bs->bs_root_fdelay = bs->bs_bridge_fdelay; in bstp_assign_roles() 791 bs->bs_root_htime = bs->bs_bridge_htime; in bstp_assign_roles() 1437 bs->bs_root_max_age + bs->bs_root_fdelay); in bstp_set_timer_tc() 1912 callout_reset(&bs->bs_bstpcallout, hz, bstp_tick, bs); in bstp_tick() 2085 callout_reset(&bs->bs_bstpcallout, hz, bstp_tick, bs); in bstp_reinit() 2102 bs->bs_root_pv = bs->bs_bridge_pv; in bstp_reinit() 2141 callout_init_mtx(&bs->bs_bstpcallout, &bs->bs_mtx, 0); in bstp_attach() [all …]
|
| /f-stack/freebsd/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_beacon.c | 88 HALASSERT(bs->bs_intval != 0); in ar9300_set_sta_beacon_timers() 107 HALASSERT(bs->bs_bmissthreshold <= in ar9300_set_sta_beacon_timers() 137 if (bs->bs_sleepduration > beaconintval) { in ar9300_set_sta_beacon_timers() 139 bs->bs_sleepduration); in ar9300_set_sta_beacon_timers() 140 beaconintval = bs->bs_sleepduration; in ar9300_set_sta_beacon_timers() 142 dtimperiod = bs->bs_dtimperiod; in ar9300_set_sta_beacon_timers() 143 if (bs->bs_sleepduration > dtimperiod) { in ar9300_set_sta_beacon_timers() 146 bs->bs_sleepduration); in ar9300_set_sta_beacon_timers() 147 dtimperiod = bs->bs_sleepduration; in ar9300_set_sta_beacon_timers() 151 next_tbtt = bs->bs_nextdtim; in ar9300_set_sta_beacon_timers() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
| H A D | redacted.kshlib | 54 typeset bs=$(get_prop recsize $sendfs) 55 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=$bs count=16 56 log_must dd if=/dev/urandom of=$mntpnt/f2 bs=$bs count=32 69 log_must dd if=/dev/urandom of=$mntpnt/$recsize bs=8 \ 88 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=8M count=1 90 log_must dd if=/dev/urandom of=$mntpnt/f2 bs=1M count=1 94 log_must dd if=/dev/urandom of=$mntpnt/f3 bs=1M count=6 seek=1 116 typeset bs=$(get_prop recsize $sendfs) 117 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=$bs count=16 118 log_must dd if=/dev/urandom of=$mntpnt/f2 bs=$bs count=32 [all …]
|
| H A D | redacted_volume.ksh | 56 log_must dd if=/dev/urandom of=$send_file bs=8k count=64 78 log_must dd if=$send_file of=$tmpdir/send.dd bs=8k count=64 79 log_must dd if=$recv_file of=$tmpdir/recv.dd bs=8k count=64 83 log_must dd if=/dev/urandom of=$clone_file bs=8k count=32 101 log_must dd if=$send_file of=$tmpdir/send.dd bs=8k count=32 skip=32 102 log_must dd if=$recv_file of=$tmpdir/recv.dd bs=8k count=32 skip=32
|
| H A D | redacted_mixed_recsize.ksh | 42 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=1024k count=2 46 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=512 count=32 conv=notrunc 51 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=1024k count=2 55 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=512 count=32 conv=notrunc
|
| H A D | redacted_mounts.ksh | 52 log_must dd if=/dev/urandom of=$clone_mnt/contents2 bs=512 count=1 conv=notrunc 55 log_must dd if=/dev/urandom of=$clone_mnt/dir1/contents2 bs=512 count=1 \ 57 log_must dd if=/dev/urandom of=$clone_mnt/dir1/empty bs=512 count=1 97 log_must dd if=/dev/urandom of=$send_mnt/dir1/contents1 bs=512 count=2
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
| H A D | send_hole_birth.ksh | 81 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=4k count=11264 seek=1152 85 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=4k count=152 seek=384 \ 87 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=4k count=10 seek=1408 \ 98 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=128k count=1 seek=1 101 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=128k count=1 102 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=128k count=1 seek=3 113 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=512 count=128k conv=notrunc 117 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=512 count=1 seek=96k \
|
| H A D | send-c_volume.ksh | 55 log_must dd if=$data1 of=$voldev bs=1024k 63 md5=$(dd if=$voldev2 bs=1024k count=$megs 2>/dev/null | md5digest) 67 log_must dd seek=$megs if=$data2 of=$voldev bs=1024k 75 md5=$(dd skip=$megs if=$voldev2 bs=1024k count=$megs 2>/dev/null | md5digest)
|
| 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) + 1))) \ 533 bs=$file_size count=1 >/dev/null 2>&1 || \ 551 bs=$file_size count=1 >/dev/null 2>&1 || \
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/slog/ |
| H A D | slog_replay_fs_001.ksh | 78 conv=fdatasync,fsync bs=1 count=1 112 oflag=sync bs=1k count=8 117 oflag=sync bs=1k count=1 119 oflag=sync bs=512 count=1 141 oflag=sync bs=128k count=64 145 oflag=sync bs=128k count=8 147 oflag=sync bs=128k count=2 150 oflag=sync bs=128k count=8 152 oflag=sync bs=128k count=2 seek=2 155 oflag=sync bs=128k count=8 [all …]
|
| H A D | slog_replay_volume.ksh | 117 log_must dd if=/dev/urandom of=$MNTPNT/latency-8k bs=8k count=1 oflag=sync 118 log_must dd if=/dev/urandom of=$MNTPNT/latency-128k bs=128k count=1 oflag=sync 122 log_must dd if=/dev/urandom of=$MNTPNT/throughput-8k bs=8k count=1 123 log_must dd if=/dev/urandom of=$MNTPNT/throughput-128k bs=128k count=1 126 log_must dd if=/dev/urandom of=$MNTPNT/holes bs=128k count=8 127 log_must dd if=/dev/zero of=$MNTPNT/holes bs=128k count=2 seek=2 conv=notrunc 134 log_must dd if=/dev/urandom of=$MNTPNT/discard bs=128k count=16
|
| H A D | slog_014_pos.ksh | 55 dd if=/dev/urandom of=/$TESTPOOL/filler bs=1024k count=50 68 log_must dd if=/dev/urandom of=$VDIR/a bs=1024k \ 71 log_must dd if=/dev/urandom of=$VDIR/a bs=1024k \
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/ |
| H A D | zpool_initialize_verify_initialized.ksh | 66 bs=512 81 dd if=$SMALLFILE skip=$((offset / bs)) count=$((size / bs)) bs=$bs |
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/ |
| H A D | nopwrite_negative.ksh | 46 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \ 51 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \ 59 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \ 64 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \ 71 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \ 75 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \ 82 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \ 86 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \
|
| H A D | nopwrite_copies.ksh | 46 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \ 51 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \ 62 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \ 67 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zap_leaf.h | 49 #define ZAP_LEAF_NUMCHUNKS_BS(bs) \ argument 50 (((1<<(bs)) - 2*ZAP_LEAF_HASH_NUMENTRIES_BS(bs)) / \ 82 #define ZAP_LEAF_HASH_SHIFT_BS(bs) ((bs) - 5) argument 83 #define ZAP_LEAF_HASH_NUMENTRIES_BS(bs) (1 << ZAP_LEAF_HASH_SHIFT_BS(bs)) argument
|
| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_utils.c | 93 tmp = bs[index]; in ulp_bs_put_msb() 101 bs[index] = tmp; in ulp_bs_put_msb() 105 bs[index++] = tmp; in ulp_bs_put_msb() 107 tmp = bs[index]; in ulp_bs_put_msb() 110 bs[index] = tmp; in ulp_bs_put_msb() 124 tmp = bs[index]; in ulp_bs_put_lsb() 131 bs[index] = tmp; in ulp_bs_put_lsb() 137 bs[index++] = tmp; in ulp_bs_put_lsb() 142 tmp = bs[index]; in ulp_bs_put_lsb() 145 bs[index] = tmp; in ulp_bs_put_lsb() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/removal/ |
| H A D | removal_nopwrite.ksh | 35 dd if=/dev/urandom of=$TESTDIR/file_8k bs=1024k count=$MEGS oflag=sync \ 38 dd if=/dev/urandom of=$TESTDIR/file_128k bs=1024k count=$MEGS oflag=sync \ 48 dd if=/$TESTDIR/file_8k of=/$TESTDIR/clone/file_8k bs=1024k \ 53 dd if=/$TESTDIR/file_128k of=/$TESTDIR/clone/file_128k bs=1024k \ 75 dd if=/$TESTDIR/file_8k of=/$TESTDIR/clone/file_8k bs=1024k \ 83 dd if=/$TESTDIR/file_128k of=/$TESTDIR/clone/file_128k bs=1024k \
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/devices/ |
| H A D | devices_001_pos.ksh | 62 log_must dd if=/dev/urandom of=$TESTDIR/$TESTFILE1.out1 count=1 bs=128k 63 log_must dd if=$TESTDIR/$TESTFILE1.out1 of=$TESTDIR/$TESTFILE1 count=1 bs=128k 64 log_must dd if=$TESTDIR/$TESTFILE1 of=$TESTDIR/$TESTFILE1.out2 count=1 bs=128k 70 log_must dd if=/dev/urandom of=$TESTDIR/$TESTFILE2 count=1 bs=128k
|
| H A D | devices_002_neg.ksh | 62 log_mustnot dd if=/dev/urandom of=$TESTDIR/$TESTFILE1 count=1 bs=128k 63 log_mustnot dd if=$TESTDIR/$TESTFILE1 of=/dev/null count=1 bs=128k 68 log_mustnot dd if=/dev/urandom of=$TESTDIR/$TESTFILE2 count=1 bs=128k
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zap.c | 173 int bs = FZAP_BLOCK_SHIFT(zap); in zap_table_grow() local 174 int hepb = 1<<(bs-4); in zap_table_grow() 188 tbl->zt_blk << bs, tbl->zt_numblks << bs, in zap_table_grow() 228 tbl->zt_blk << bs, tbl->zt_numblks << bs, tx); in zap_table_grow() 247 int bs = FZAP_BLOCK_SHIFT(zap); in zap_table_store() local 254 uint64_t blk = idx >> (bs-3); in zap_table_store() 292 int bs = FZAP_BLOCK_SHIFT(zap); in zap_table_load() local 296 uint64_t blk = idx >> (bs-3); in zap_table_load() 320 blk = (idx*2) >> (bs-3); in zap_table_load() 988 dmu_prefetch(zap->zap_objset, zap->zap_object, 0, blk << bs, 1 << bs, in fzap_prefetch() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/ |
| H A D | zfs_rename_007_pos.ksh | 81 log_must dd if=/dev/urandom of=$SRC_FILE bs=$BS count=$CNT 123 log_must dd if=$SRC_FILE of=$obj bs=$BS count=$CNT 137 log_must dd if=$obj of=$DST_FILE bs=$BS count=$CNT 140 log_must dd if=$obj of=$DST_FILE bs=$BS count=$CNT 151 log_must dd if=$obj of=$DST_FILE bs=$BS count=$CNT
|
| /f-stack/freebsd/contrib/vchiq/interface/vchiq_arm/ |
| H A D | vchiq_core.h | 151 #define VCHI_BITSET_ZERO(bs) memset(bs, 0, sizeof(bs)) argument 152 #define VCHI_BITSET_IS_SET(bs, b) (bs[VCHI_BITSET_WORD(b)] & VCHI_BITSET_BIT(b)) argument 153 #define VCHI_BITSET_SET(bs, b) (bs[VCHI_BITSET_WORD(b)] |= VCHI_BITSET_BIT(b)) argument 154 #define VCHI_BITSET_CLR(bs, b) (bs[VCHI_BITSET_WORD(b)] &= ~VCHI_BITSET_BIT(b)) argument
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/ |
| H A D | zpool_labelclear_valid.ksh | 57 log_must dd if=/dev/urandom of=$PATTERN_FILE bs=1048576 count=4 67 dd if=$PATTERN_FILE of=$dev bs=1048576 conv=notrunc 84 log_must dd if=$dev of=$DISK_PATTERN_FILE bs=1048576 count=4
|
| /f-stack/dpdk/lib/librte_net/ |
| H A D | rte_mpls.h | 30 uint8_t bs:1; /**< Bottom of stack. */ member 32 uint8_t bs:1; /**< Bottom of stack. */ member
|