/illumos-gate/usr/src/cmd/cdrw/ |
H A D | options.c | 67 uchar_t bmap = 0; local 72 bmap = msk->bitmap[i] | specified->bitmap[i]; 73 bmap ^= msk->bitmap[i]; 74 if (bmap) 83 if (bmap & bitlocation[j])
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_bitmap.h | 68 #define BMAP_BIT_SET(bmap, ind) ((bmap)[IND_BYTE(ind)] |= IND_BIT(ind)) 69 #define BMAP_BIT_CLR(bmap, ind) ((bmap)[IND_BYTE(ind)] &= ~IND_BIT(ind)) 70 #define BMAP_BIT_ISSET(bmap, ind) \ 71 ((bmap)[IND_BYTE(ind)] & IND_BIT(ind))
|
H A D | rdc_prot.x | 154 struct bmap {
|
H A D | rdc_bitmap.c | 2558 unsigned char *bmap = (unsigned char *)krdc->bitmap_ref; local 2561 bmap[ind]++; 2567 unsigned char *bmap = (unsigned char *)krdc->bitmap_ref; local 2570 bmap[ind]--; 2576 unsigned char *bmap = (unsigned char *)krdc->bitmap_ref; local 2579 return ((unsigned int)(bmap[ind])); 2585 unsigned char *bmap = (unsigned char *)krdc->bitmap_ref; local 2588 bmap[ind] = (unsigned char) val; 2611 unsigned int *bmap = (unsigned int *)krdc->bitmap_ref; local 2614 bmap[in 2620 unsigned int *bmap = (unsigned int *)krdc->bitmap_ref; local 2629 unsigned int *bmap = (unsigned int *)krdc->bitmap_ref; local 2638 unsigned int *bmap = (unsigned int *)krdc->bitmap_ref; local [all...] |
H A D | rdc_svc.c | 1271 struct bmap b;
|
H A D | rdc_clnt.c | 225 struct bmap b;
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_pcu.c | 304 sdbc_pwf_bitmap_t *bmap; local 308 bmap = (sdbc_pwf_bitmap_t *)list->bitmap_tail->cc_data; 321 bmap->bitmaps[i].fba_num = fba_num; 322 bmap->bitmaps[i].dirty = bits; 323 bmap->bitmaps[i].errs = (char)any_fail; 513 struct bitmap bmap; local 697 start_bitmap_list(&bmap, hdr->bmap_size); 702 &blkno, 0, &bmap); 709 &blkno, 1, &bmap); 720 &blkno, 0, &bmap); [all...] |
H A D | sd_bcache.h | 795 #define SDBC_IS_FRAGMENTED(bmap) (!_sd_contig_bmap[(bmap)]) 796 #define SDBC_IS_CONTIGUOUS(bmap) (_sd_contig_bmap[(bmap)]) 843 #define _SD_BIT_ISSET(bmap, bit) ((bmap & (1 << bit)) ? 1 : 0) 844 #define _SD_BMAP_ISFULL(bmap) (bmap == BLK_FBA_BITS)
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_misc.h | 275 #define HERMON_BMAP_BIT_SET(bmap, ind) \ 276 ((bmap)[HERMON_IND_BYTE(ind)] |= HERMON_IND_BIT(ind)) 277 #define HERMON_BMAP_BIT_CLR(bmap, ind) \ 278 ((bmap)[HERMON_IND_BYTE(ind)] &= ~HERMON_IND_BIT(ind)) 279 #define HERMON_BMAP_BIT_ISSET(bmap, ind) \ 280 ((bmap)[HERMON_IND_BYTE(ind)] & HERMON_IND_BIT(ind))
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | nandfs.c | 423 struct bmap_buf *bmap, *tmp; local 426 LIST_FOREACH_SAFE(bmap, &node->bmap_bufs, list, tmp) { 427 LIST_REMOVE(bmap, list); 428 free(bmap->map); 429 free(bmap); 854 struct bmap_buf *bmap; local 857 LIST_FOREACH(bmap, &node->bmap_bufs, list) { 858 if (bmap->blknr == blknr) 859 return (bmap->map); 868 bmap [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/dsw/ |
H A D | dsw_dev.h | 70 #define DSW_BIT_CLR(bmap, bit) (bmap &= (char)~(1 << bit)) 71 #define DSW_BIT_SET(bmap, bit) (bmap |= (char)(1 << bit)) 72 #define DSW_BIT_ISSET(bmap, bit) ((bmap & (1 << bit)) != 0)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | DNSCommon.c | 295 mDNSlocal void PrintTypeBitmap(const mDNSu8 *bmap, int bitmaplen, char *const buffer, mDNSu32 length) argument 309 win = *bmap++; 310 wlen = *bmap++; 325 if (bmap[i>>3] & (128 >> (i&7))) 328 bmap += wlen; 449 mDNSu8 *bmap; local 452 bmap = (mDNSu8 *)((mDNSu8 *)next + len); 456 PrintTypeBitmap(bmap, bitmaplen, buffer, length); 1626 mDNSexport mDNSBool BitmapTypeCheck(mDNSu8 *bmap, int bitmaplen, mDNSu16 type) argument 1643 win = *bmap 1685 mDNSu8 *bmap; local 2809 SanityCheckBitMap(const mDNSu8 *bmap, const mDNSu8 *end, int len) argument 3226 const mDNSu8 *bmap; local [all...] |
H A D | DNSCommon.h | 266 extern mDNSBool BitmapTypeCheck(mDNSu8 *bmap, int bitmaplen, mDNSu16 type);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 142 diskaddr_t bmap(diskaddr_t i); 569 d = bmap(lbn); 669 bmap(diskaddr_t i) function
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/ |
H A D | ncheck.c | 123 daddr_t bmap(daddr_t); 506 d = bmap(lbn); 610 bmap(daddr_t i) function
|
/illumos-gate/usr/src/cmd/mdb/common/modules/rdc/ |
H A D | rdc.c | 1132 unsigned char *bmap; local 1152 bmap = mdb_zalloc(bmsize, UM_GC); 1153 if (mdb_vread(bmap, bmsize, (uintptr_t)bmaddr) != bmsize) { 1160 i = BMAP_BIT_ISSET(bmap, st); 1162 bmap[IND_BYTE(st)] & 0xff);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/dns-sd/ |
H A D | dns-sd.c | 891 unsigned char *bmap; local 899 bmap = (unsigned char *)((unsigned char *)next + len); 911 win = *bmap++; 912 wlen = *bmap++; 927 if (bmap[i>>3] & (128 >> (i&7))) 930 bmap += wlen;
|
/illumos-gate/usr/src/uts/common/io/vuidmice/ |
H A D | vuidps2.c | 188 static int bmap[3] = {1, 3, 2}; local 196 VUID_PUTNEXT(qp, (uchar_t)BUT(bmap[b]), FE_PAIR_NONE, 0,
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_alloc.c | 631 int cg, bmap, bbase; local 704 bmap = blkmap(fs, blksfree, bbase); 705 fragacct(fs, bmap, cgp->cg_frsum, -1); 738 bmap = blkmap(fs, blksfree, bbase); 739 fragacct(fs, bmap, cgp->cg_frsum, 1);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 293 static long bmap(); 1411 (bmap((long)value) << FRGSHIFT)) == 0) 2469 if ((addr = ((u_offset_t)bmap(block++) << 3061 if ((addr = (bmap((long)i++) << FRGSHIFT)) == 0) 3184 addr = bmap(lblkno(fs, cur_bytes)) << FRGSHIFT; 4339 (keep_on && taddr < (bmap(cur_block) << FRGSHIFT))) { 4351 if ((addr = bmap(cur_block) << FRGSHIFT) == 0) { 4366 if ((addr = bmap(cur_block) << FRGSHIFT) == 0) { 4787 * bmap - maps the logical block number of a file into 4792 bmap(lon function [all...] |
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiadm.c | 94 #define SD_BIT_CLR(bmap, bit) (bmap &= ~(1 << bit)) 95 #define SD_BIT_ISSET(bmap, bit) ((bmap & (1 << bit)) != 0)
|