/titanic_50/usr/src/test/zfs-tests/tests/functional/holes/ |
H A D | holes_sanity.ksh | 36 for bs in 512 1024 2048 4096 8192 16384 32768 65536 131072; do 37 log_must $ZFS set recsize=$bs $TESTPOOL/$TESTFS 43 log_must $MKHOLES -h 0:$((bs * 6)) $testfile 47 log_must $MKHOLES -h 0:$((bs * 4)) -d $((bs * 4)):$((bs * 2)) $testfile 51 log_must $MKHOLES -h 0:$((bs * 2)) -d $((bs * 2)):$((bs * 2)) \ 52 -h $((bs * 4)):$((bs * 2)) $testfile 56 log_must $MKHOLES -h 0:$((bs * 2)) -d $((bs * 2)):$((bs * 4)) $testfile 60 log_must $MKHOLES -d 0:$((bs * 2)) -h $((bs * 2)):$((bs * 4)) $testfile 64 log_must $MKHOLES -d 0:$((bs * 2)) -h $((bs * 2)):$((bs * 2)) \ 65 -d $((bs * 4)):$((bs * 2)) $testfile [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | bitset.c | 38 bitset_free(bitset_t *bs) in bitset_free() argument 40 if (bs == NULL) in bitset_free() 42 if (bs->bs_set && bs->bs_words) in bitset_free() 43 mdb_free(bs->bs_set, bs->bs_words * sizeof (ulong_t)); in bitset_free() 44 mdb_free(bs, sizeof (*bs)); in bitset_free() 50 bitset_t *bs; in bitset_get() local 52 bs = mdb_zalloc(sizeof (*bs), UM_SLEEP); in bitset_get() 53 if (mdb_vread(bs, sizeof (*bs), bsaddr) == -1) { in bitset_get() 55 bitset_free(bs); in bitset_get() 59 bsaddr = (uintptr_t)bs->bs_set; in bitset_get() [all …]
|
H A D | damap.c | 66 bitset_free(bitset_t *bs, int embedded) in bitset_free() argument 68 if (bs == NULL) in bitset_free() 70 if (bs->bs_set && bs->bs_words) in bitset_free() 71 mdb_free(bs->bs_set, bs->bs_words * sizeof (ulong_t)); in bitset_free() 73 mdb_free(bs, sizeof (*bs)); /* not embedded, free */ in bitset_free() 79 bitset_t *bs; in bitset_get() local 81 bs = mdb_zalloc(sizeof (*bs), UM_SLEEP); in bitset_get() 82 if (mdb_vread(bs, sizeof (*bs), bsaddr) == -1) { in bitset_get() 84 bitset_free(bs, 0); in bitset_get() 88 bsaddr = (uintptr_t)bs->bs_set; in bitset_get() [all …]
|
/titanic_50/usr/src/cmd/fwflash/common/ |
H A D | fwflash.h | 366 #define ARMSWAPBITS(bs) (bs) argument 367 #define MLXSWAPBITS16(bs) ntohs(bs) argument 368 #define MLXSWAPBITS32(bs) ntohl(bs) argument 369 #define MLXSWAPBITS64(bs) \ argument 370 (BE_64(((bs) & LOWBITS64)) | BE_64(((bs) & HIGHBITS64))) 372 #define ARMSWAPBITS(bs) (LE_32(((bs) & LOWBITS32)) | LE_32(((bs) & HIGHBITS32))) argument 373 #define MLXSWAPBITS16(bs) (bs) argument 374 #define MLXSWAPBITS32(bs) (bs) argument 375 #define MLXSWAPBITS64(bs) (bs) argument
|
/titanic_50/usr/src/uts/common/io/arn/ |
H A D | arn_beacon.c | 267 struct ath9k_beacon_state bs; in arn_beacon_config() local 285 (void) memset(&bs, 0, sizeof (bs)); in arn_beacon_config() 320 bs.bs_intval = intval; in arn_beacon_config() 321 bs.bs_nexttbtt = nexttbtt; in arn_beacon_config() 322 bs.bs_dtimperiod = dtimperiod*intval; in arn_beacon_config() 323 bs.bs_nextdtim = bs.bs_nexttbtt + dtimcount*intval; in arn_beacon_config() 324 bs.bs_cfpperiod = cfpperiod*bs.bs_dtimperiod; in arn_beacon_config() 325 bs.bs_cfpnext = bs.bs_nextdtim + cfpcount*bs.bs_dtimperiod; in arn_beacon_config() 326 bs.bs_cfpmaxduration = 0; in arn_beacon_config() 335 bs.bs_bmissthreshold = conf.listen_interval * in arn_beacon_config() [all …]
|
/titanic_50/usr/src/cmd/fs.d/pcfs/fstyp/ |
H A D | fstyp.c | 91 struct bootsec bs; member 109 #define PC_BPSEC(h) ltohs((h)->bs.bps[0]) 110 #define PC_RESSEC(h) ltohs((h)->bs.res_sec[0]) 111 #define PC_NROOTENT(h) ltohs((h)->bs.rdirents[0]) 112 #define PC_NSEC(h) ltohs((h)->bs.numsect[0]) 223 bcopy(buf, &h->bs, sizeof (h->bs)); in read_bootsec() 227 h->bs.fatsec = ltohs(h->bs.fatsec); in read_bootsec() 228 h->bs.spt = ltohs(h->bs.spt); in read_bootsec() 229 h->bs.nhead = ltohs(h->bs.nhead); in read_bootsec() 230 h->bs.hiddensec = ltohi(h->bs.hiddensec); in read_bootsec() [all …]
|
/titanic_50/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.h | 187 #define ZAP_LEAF_HASH_SHIFT(bs) (bs - 5) argument 188 #define ZAP_LEAF_HASH_NUMENTRIES(bs) (1 << ZAP_LEAF_HASH_SHIFT(bs)) argument 189 #define LEAF_HASH(bs, h) \ argument 190 ((ZAP_LEAF_HASH_NUMENTRIES(bs)-1) & \ 191 ((h) >> (64 - ZAP_LEAF_HASH_SHIFT(bs)-l->l_hdr.lh_prefix_len))) 198 #define ZAP_LEAF_NUMCHUNKS(bs) \ argument 199 (((1<<bs) - 2*ZAP_LEAF_HASH_NUMENTRIES(bs)) / \ 207 #define ZAP_LEAF_CHUNK(l, bs, idx) \ argument 208 ((zap_leaf_chunk_t *)(l->l_hash + ZAP_LEAF_HASH_NUMENTRIES(bs)))[idx] 209 #define ZAP_LEAF_ENTRY(l, bs, idx) (&ZAP_LEAF_CHUNK(l, bs, idx).l_entry) argument
|
/titanic_50/usr/src/cmd/fs.d/fd/ |
H A D | mount.c | 145 rpterr(char *bs, char *mp) in rpterr() argument 154 gettext("%s: %s no such device\n"), myname, bs); in rpterr() 160 myname, mp, bs); in rpterr() 165 myname, bs, mp); in rpterr() 169 myname, bs); in rpterr() 174 myname, bs, mp); in rpterr() 178 myname, bs); in rpterr() 182 gettext("%s: %s write-protected\n"), myname, bs); in rpterr() 188 myname, bs); in rpterr() 193 myname, bs); in rpterr()
|
/titanic_50/usr/src/cmd/fs.d/udfs/mount/ |
H A D | mount.c | 146 rpterr(char *bs, char *mp) in rpterr() argument 155 gettext("%s: %s no such device\n"), myname, bs); in rpterr() 161 myname, mp, bs); in rpterr() 166 myname, bs, mp); in rpterr() 171 typename, bs); in rpterr() 176 myname, bs, mp); in rpterr() 180 gettext("%s: %s not a block device\n"), myname, bs); in rpterr() 185 myname, bs); in rpterr() 190 myname, bs); in rpterr() 195 gettext("%s: cannot mount %s\n"), myname, bs); in rpterr()
|
/titanic_50/usr/src/cmd/fs.d/proc/ |
H A D | mount.c | 143 rpterr(char *bs, char *mp) in rpterr() argument 152 myname, bs); in rpterr() 157 myname, mp, bs); in rpterr() 162 myname, bs, mp); in rpterr() 166 myname, bs); in rpterr() 171 myname, bs, mp); in rpterr() 175 myname, bs); in rpterr() 179 myname, bs); in rpterr() 185 myname, bs); in rpterr() 190 myname, bs); in rpterr()
|
/titanic_50/usr/src/lib/libc/port/locale/ |
H A D | big5.c | 89 _BIG5State *bs; in _BIG5_mbrtowc() local 93 bs = (_BIG5State *)ps; in _BIG5_mbrtowc() 95 if ((bs->ch & ~0xFF) != 0) { in _BIG5_mbrtowc() 111 if (bs->ch != 0) { in _BIG5_mbrtowc() 116 wc = (bs->ch << 8) | (*s & 0xFF); in _BIG5_mbrtowc() 119 bs->ch = 0; in _BIG5_mbrtowc() 128 bs->ch = wc; in _BIG5_mbrtowc() 153 _BIG5State *bs; in _BIG5_wcrtomb() local 155 bs = (_BIG5State *)ps; in _BIG5_wcrtomb() 157 if (bs->ch != 0) { in _BIG5_wcrtomb()
|
/titanic_50/usr/src/cmd/fs.d/mntfs/ |
H A D | mount.c | 142 rpterr(char *bs, char *mp) in rpterr() argument 151 myname, bs); in rpterr() 156 myname, mp, bs); in rpterr() 161 myname, bs, mp); in rpterr() 165 myname, bs); in rpterr() 170 myname, bs, mp); in rpterr() 174 myname, bs); in rpterr() 180 myname, bs); in rpterr() 185 myname, bs); in rpterr()
|
/titanic_50/usr/src/cmd/fs.d/hsfs/mount/ |
H A D | mount.c | 241 rpterr(char *bs, char *mp) in rpterr() argument 250 myname, bs); in rpterr() 254 "component of %s is not a directory\n"), myname, mp, bs); in rpterr() 259 myname, bs, mp); in rpterr() 263 "system.\n"), typename, bs); in rpterr() 268 myname, bs, mp); in rpterr() 272 gettext("%s: %s not a block device\n"), myname, bs); in rpterr() 276 myname, bs); in rpterr() 281 myname, bs); in rpterr() 286 bs); in rpterr()
|
/titanic_50/usr/src/uts/common/io/ath/ |
H A D | ath_aux.c | 553 HAL_BEACON_STATE bs; in ath_beacon_config() local 556 bzero(&bs, sizeof (bs)); in ath_beacon_config() 557 bs.bs_intval = in->in_intval; in ath_beacon_config() 558 bs.bs_nexttbtt = nexttbtt; in ath_beacon_config() 559 bs.bs_dtimperiod = bs.bs_intval; in ath_beacon_config() 560 bs.bs_nextdtim = nexttbtt; in ath_beacon_config() 567 bs.bs_bmissthreshold = ic->ic_bmissthreshold; in ath_beacon_config() 568 if (bs.bs_bmissthreshold > 10) in ath_beacon_config() 569 bs.bs_bmissthreshold = 10; in ath_beacon_config() 570 else if (bs.bs_bmissthreshold < 1) in ath_beacon_config() [all …]
|
/titanic_50/usr/src/test/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 \
|
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wbrdr.c | 54 chtype ls, chtype rs, chtype ts, chtype bs, in wborder() argument 63 w, ls, rs, ts, bs, tl, tr, bl, br in wborder() 79 if (bs == 0) in wborder() 80 bs = ACS_HLINE; in wborder() 81 (void) __m_acs_cc(bs, &wbs); in wborder()
|
H A D | brdr_st.c | 49 border_set(ls, rs, ts, bs, tl, tr, bl, br) in border_set() argument 50 const cchar_t *ls, *rs, *ts, *bs, *tl, *tr, *bl, *br; in border_set() 57 ls, rs, ts, bs, tl, tr, bl, br 61 code = wborder_set(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
|
H A D | brdr.c | 49 border(chtype ls, chtype rs, chtype ts, chtype bs, in border() argument 57 ls, rs, ts, bs, tl, tr, bl, br in border() 61 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br); in border()
|
H A D | wbrdr_st.c | 53 wborder_set(w, ls, rs, ts, bs, tl, tr, bl, br) in wborder_set() argument 55 const cchar_t *ls, *rs, *ts, *bs, *tl, *tr, *bl, *br; 63 w, ls, rs, ts, bs, tl, tr, bl, br 84 (void) whline_set(w, bs, w->_maxx-2);
|
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wbrdr.c | 57 chtype ls, chtype rs, chtype ts, chtype bs, in wborder() argument 75 if (bs == 0) in wborder() 76 bs = ACS_HLINE; in wborder() 77 (void) __m_acs_cc(bs, &wbs); in wborder()
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | zap.c | 152 int bs = FZAP_BLOCK_SHIFT(zap); in zap_table_grow() local 153 int hepb = 1<<(bs-4); in zap_table_grow() 167 tbl->zt_blk << bs, tbl->zt_numblks << bs, in zap_table_grow() 177 (tbl->zt_blk + b) << bs, FTAG, &db_old, DMU_READ_NO_PREFETCH); in zap_table_grow() 183 (newblk + 2*b+0) << bs, FTAG, &db_new, DMU_READ_NO_PREFETCH)); in zap_table_grow() 190 (newblk + 2*b+1) << bs, FTAG, &db_new, DMU_READ_NO_PREFETCH)); in zap_table_grow() 205 tbl->zt_blk << bs, tbl->zt_numblks << bs, tx); in zap_table_grow() 226 int bs = FZAP_BLOCK_SHIFT(zap); in zap_table_store() local 234 blk = idx >> (bs-3); in zap_table_store() 235 off = idx & ((1<<(bs-3))-1); in zap_table_store() [all …]
|
/titanic_50/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_subr.c | 855 struct nis_sdata *bs, /* User buffer structure */ in nis_get_static_storage() argument 862 if (!bs) in nis_get_static_storage() 865 if (!bs->buf) { in nis_get_static_storage() 866 bs->buf = malloc(sz); in nis_get_static_storage() 867 if (!bs->buf) in nis_get_static_storage() 869 bs->size = sz; in nis_get_static_storage() 873 } else if (bs->size < sz) { in nis_get_static_storage() 876 free(bs->buf); in nis_get_static_storage() 877 size_delta = - (bs->size); in nis_get_static_storage() 878 bs->buf = malloc(sz); in nis_get_static_storage() [all …]
|
/titanic_50/usr/src/test/zfs-tests/cmd/getholes/ |
H A D | getholes.c | 72 uint64_t lz_holes, bs = 0; in print_list() local 76 if (0 == bs) in print_list() 77 if (zfs_get_hole_count(fname, &lz_holes, &bs) != 0) { in print_list() 89 hole_blks_seen += seg->seg_len / bs; in print_list() 91 data_blks_seen += seg->seg_len / bs; in print_list()
|
/titanic_50/usr/src/psm/stand/bootblks/common/ |
H A D | mkbb.sh | 66 dd if=$1 of=$3 conv=notrunc bs=1 67 dd if=$2 of=$3 conv=notrunc bs=1 oseek=$rdoff 78 dd if=$extra of=$3 conv=notrunc bs=1 oseek=$bblen
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_007_pos.ksh | 81 log_must $DD if=/dev/random of=$SRC_FILE bs=$BS count=$CNT 122 log_must $DD if=$SRC_FILE of=$obj bs=$BS count=$CNT 134 log_must $DD if=$obj of=$DST_FILE bs=$BS count=$CNT 137 log_must $DD if=$obj of=$DST_FILE bs=$BS count=$CNT 147 log_must $DD if=$obj of=$DST_FILE bs=$BS count=$CNT
|