Home
last modified time | relevance | path

Searched refs:bs (Results 1 – 25 of 142) sorted by relevance

123456

/titanic_51/usr/src/test/zfs-tests/tests/functional/holes/
H A Dholes_sanity.ksh36 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 *
[all...]
/titanic_51/usr/src/cmd/mdb/common/modules/genunix/
H A Dbitset.c38 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 in bitset_get()
72 bitset_highbit(bitset_t * bs) bitset_highbit() argument
139 bitset_print(bitset_t * bs,char * label,int width) bitset_print() argument
203 bitset_t *bs; bitset() local
[all...]
H A Ddamap.c66 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 in bitset_get()
161 bitset_t *bs; damap_get() local
[all...]
/titanic_51/usr/src/cmd/fwflash/common/
H A Dfwflash.h366 #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_3 argument
373 MLXSWAPBITS16(bs) global() argument
374 MLXSWAPBITS32(bs) global() argument
375 MLXSWAPBITS64(bs) global() argument
[all...]
/titanic_51/usr/src/uts/common/io/arn/
H A Darn_beacon.c267 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 in arn_beacon_config()
[all...]
/titanic_51/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c91 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 in read_bootsec()
[all...]
/titanic_51/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h187 #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 ZAP_LEAF_CHUNK(l,bs,idx) global() argument
209 ZAP_LEAF_ENTRY(l,bs,idx) global() argument
[all...]
/titanic_51/usr/src/cmd/fs.d/fd/
H A Dmount.c145 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()
[all...]
/titanic_51/usr/src/cmd/fs.d/udfs/mount/
H A Dmount.c146 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()
[all...]
/titanic_51/usr/src/cmd/fs.d/proc/
H A Dmount.c143 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()
[all...]
/titanic_51/usr/src/lib/libc/port/locale/
H A Dbig5.c89 _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 in _BIG5_wcrtomb()
[all...]
/titanic_51/usr/src/cmd/fs.d/mntfs/
H A Dmount.c142 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_51/usr/src/cmd/fs.d/hsfs/mount/
H A Dmount.c241 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()
[all...]
/titanic_51/usr/src/boot/sys/boot/efi/boot1/
H A Dboot1.c58 EFI_BOOT_SERVICES *bs; variable
76 if (bs->AllocatePool(EfiLoaderData, len, &out) == EFI_SUCCESS) in Malloc()
86 (void)bs->FreePool(buf); in Free()
408 if ((status = bs->LoadImage(TRUE, image, devpath_last(dev->devpath), in try_boot()
415 if ((status = bs->HandleProtocol(loaderhandle, &LoadedImageGUID, in try_boot()
441 if ((status = bs->StartImage(loaderhandle, NULL, NULL)) != in try_boot()
475 status = bs->HandleProtocol(h, &DevicePathGUID, (void **)&devpath); in probe_handle()
487 status = bs->HandleProtocol(h, &BlockIoProtocolGUID, (void **)&blkio); in probe_handle()
504 if ((status = bs->AllocatePool(EfiLoaderData, in probe_handle()
521 (void)bs in probe_handle()
[all...]
/titanic_51/usr/src/uts/common/io/ath/
H A Dath_aux.c553 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 in ath_beacon_config()
[all...]
/titanic_51/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_negative.ksh46 $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_51/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwbrdr.c54 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 Dbrdr_st.c49 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 Dbrdr.c49 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 Dwbrdr_st.c53 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_51/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwbrdr.c57 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_51/usr/src/uts/common/fs/zfs/
H A Dzap.c152 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 in zap_table_store() local
274 int bs = FZAP_BLOCK_SHIFT(zap); zap_table_load() local
504 int bs = FZAP_BLOCK_SHIFT(zap); zap_get_leaf_byblk() local
937 int bs; fzap_prefetch() local
1260 int bs = FZAP_BLOCK_SHIFT(zap); fzap_get_stats() local
[all...]
/titanic_51/usr/src/lib/libnsl/nis/gen/
H A Dnis_subr.c855 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 in nis_get_static_storage()
[all...]
/titanic_51/usr/src/boot/lib/libstand/
H A Ddosfs.c498 parsebs(DOS_FS *fs, DOS_BS *bs) in parsebs() argument
502 if ((bs->jmp[0] != 0x69 && in parsebs()
503 bs->jmp[0] != 0xe9 && in parsebs()
504 (bs->jmp[0] != 0xeb || bs->jmp[2] != 0x90)) || in parsebs()
505 bs->bpb.media < 0xf0) in parsebs()
507 if (cv2(bs->bpb.secsiz) != SECSIZ) in parsebs()
509 if (!(fs->spc = bs->bpb.spc) || fs->spc & (fs->spc - 1)) in parsebs()
513 if ((fs->spf = cv2(bs->bpb.spf))) { in parsebs()
514 if (bs in parsebs()
[all...]
/titanic_51/usr/src/test/zfs-tests/cmd/getholes/
H A Dgetholes.c72 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()

123456