/titanic_41/usr/src/uts/common/sys/ |
H A D | bitmap.h | 83 #define BT_WIM(bitmap, bitindex) \ argument 84 ((bitmap)[(bitindex) >> BT_ULSHIFT]) 92 #define BT_WIM32(bitmap, bitindex) \ argument 93 ((bitmap)[(bitindex) >> BT_ULSHIFT32]) 108 #define BT_TEST(bitmap, bitindex) \ argument 109 ((BT_WIM((bitmap), (bitindex)) & BT_BIW(bitindex)) ? 1 : 0) 110 #define BT_SET(bitmap, bitindex) \ argument 111 { BT_WIM((bitmap), (bitindex)) |= BT_BIW(bitindex); } 112 #define BT_CLEAR(bitmap, bitindex) \ argument 113 { BT_WIM((bitmap), (bitindex)) &= ~BT_BIW(bitindex); } [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_thread.c | 52 thread->sign.bitmap = 0; in iscsi_thread_create() 85 if (!(thread->sign.bitmap & ISCSI_THREAD_SIGNAL_KILL)) { in iscsi_thread_destroy() 86 thread->sign.bitmap |= ISCSI_THREAD_SIGNAL_KILL; in iscsi_thread_destroy() 136 if (!(thread->sign.bitmap & ISCSI_THREAD_SIGNAL_KILL)) { in iscsi_thread_start() 137 thread->sign.bitmap |= ISCSI_THREAD_SIGNAL_KILL; in iscsi_thread_start() 147 thread->sign.bitmap = 0; in iscsi_thread_start() 191 if (!(thread->sign.bitmap & ISCSI_THREAD_SIGNAL_KILL)) { in iscsi_thread_stop() 192 thread->sign.bitmap |= ISCSI_THREAD_SIGNAL_KILL; in iscsi_thread_stop() 231 if (!(thread->sign.bitmap & ISCSI_THREAD_SIGNAL_KILL)) { in iscsi_thread_send_kill() 232 thread->sign.bitmap |= ISCSI_THREAD_SIGNAL_KILL; in iscsi_thread_send_kill() [all …]
|
/titanic_41/usr/src/cmd/avs/dsbitmap/ |
H A D | dsbitmap.c | 201 do_sndr(char *volume, char *bitmap) in do_sndr() argument 212 if (bitmap) { in do_sndr() 213 bblocks = get_partsize(bitmap); in do_sndr() 238 if (bitmap) { in do_sndr() 242 bitmap, bblocks); in do_sndr() 276 do_ii(char *volume, char *bitmap) in do_ii() argument 288 if (bitmap) { in do_ii() 289 bblocks = get_partsize(bitmap); in do_ii() 312 if (bitmap) { in do_ii() 315 "(%llu blocks)\n"), bitmap, bblocks); in do_ii() [all …]
|
/titanic_41/usr/src/cmd/cdrw/ |
H A D | options.c | 55 msk->bitmap[loc >> 3] |= bitlocation[loc & 7]; in add_option() 70 if (msk->bitmap[i] == specified->bitmap[i]) in compare_options_mask() 72 bmap = msk->bitmap[i] | specified->bitmap[i]; in compare_options_mask() 73 bmap ^= msk->bitmap[i]; in compare_options_mask()
|
H A D | options.h | 39 uchar_t bitmap[16]; member
|
/titanic_41/usr/src/cmd/sendmail/db/lock/ |
H A D | lock_deadlock.c | 69 u_int32_t *bitmap, *deadlock, i, killid, nentries, nlockers; local 92 if ((ret = __dd_build(dbenv, &bitmap, &nlockers, &idmap)) != 0) 99 __dd_debug(dbenv, idmap, bitmap, nlockers); 102 deadlock = __dd_find(bitmap, idmap, nlockers); 139 killid = (deadlock - bitmap) / nentries; 181 __os_free(bitmap, 0); 202 u_int32_t *bitmap, count, *entryp, i, id, nentries, *tmpmap; local 236 sizeof(u_int32_t) * nentries, &bitmap)) != 0) 240 __os_free(bitmap, sizeof(u_int32_t) * nentries); 246 __os_free(bitmap, count * sizeof(u_int32_t) * nentries); [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | bitmap.c | 52 bt_availbit(ulong_t *bitmap, size_t nbits) in bt_availbit() argument 65 if (bitmap[wx] != ~0) in bt_availbit() 78 word = bitmap[wx]; in bt_availbit() 118 bt_range(ulong_t *bitmap, size_t *pos1, size_t *pos2, size_t end_pos) in bt_range() argument 123 if (BT_TEST(bitmap, pos)) in bt_range() 132 if (!BT_TEST(bitmap, pos)) in bt_range()
|
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_txc.c | 152 uint64_t bitmap; in nxge_txc_tdc_bind() local 175 &bitmap); in nxge_txc_tdc_bind() 177 if (bitmap & (1 << channel)) { in nxge_txc_tdc_bind() 183 bitmap |= (1 << channel); in nxge_txc_tdc_bind() 185 "==> nxge_txc_tdc_bind(): bitmap = %lx", bitmap)); in nxge_txc_tdc_bind() 189 (uint32_t)bitmap)) != NPI_SUCCESS) { in nxge_txc_tdc_bind() 254 uint64_t bitmap; in nxge_txc_tdc_unbind() local 270 &bitmap); in nxge_txc_tdc_unbind() 272 bitmap &= (~(1 << channel)); in nxge_txc_tdc_unbind() 276 (uint32_t)bitmap)) != NPI_SUCCESS) { in nxge_txc_tdc_unbind() [all …]
|
/titanic_41/usr/src/lib/brand/solaris10/s10_support/ |
H A D | s10_support.c | 341 s10_emul_bitmap_t bitmap; in set_zone_emul_bitmap() local 359 bzero(bitmap, sizeof (bitmap)); in set_zone_emul_bitmap() 396 bitmap[(bit_index >> 3)] |= (1 << (bit_index & 0x7)); in set_zone_emul_bitmap() 458 bitmap[(bit_index >> 3)] &= in set_zone_emul_bitmap() 479 if (zone_setattr(zoneid, S10_EMUL_BITMAP, bitmap, sizeof (bitmap)) != 0) in set_zone_emul_bitmap()
|
/titanic_41/usr/src/uts/sun4u/pcbe/ |
H A D | opl_pcbe.c | 631 uint64_t bitmap = 0; in opl_pcbe_event_coverage() local 637 bitmap |= (1 << i); in opl_pcbe_event_coverage() 640 return (bitmap); in opl_pcbe_event_coverage() 719 uint8_t bitmap = 0; /* for used pic config */ in opl_pcbe_program() local 730 bitmap |= (uint8_t)(1 << tmp->opl_picno); in opl_pcbe_program() 733 if (bitmap == 0) in opl_pcbe_program() 738 if (bitmap & (1 << i)) in opl_pcbe_program() 818 uint8_t bitmap = 0; /* for used pic config */ in opl_pcbe_sample() local 831 bitmap |= (uint8_t)(1 << ctmp->opl_picno); in opl_pcbe_sample() 834 if (bitmap == 0) in opl_pcbe_sample() [all …]
|
H A D | us234_pcbe.c | 740 uint64_t bitmap = 0; in us_pcbe_event_coverage() local 744 bitmap = 0x1; in us_pcbe_event_coverage() 747 bitmap |= 0x2; in us_pcbe_event_coverage() 749 return (bitmap); in us_pcbe_event_coverage()
|
/titanic_41/usr/src/cmd/avs/dscfg/etc/ |
H A D | dscfg_format | 42 % master shadow bitmap mode(D|I) [overflow] [device-group] [options] [group] 43 ii.master.shadow.bitmap.mode.overflow.cnode.options.group 55 % SNDR-secondary II-shadow II-bitmap state [device-group] 56 ndr_ii.secondary.shadow.bitmap.state.cnode 60 bitmaps.bitmap.cnode
|
/titanic_41/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_bitmap.c | 216 (void) strncpy(header->primary.bitmap, urdc->primary.bitmap, in rdc_fill_header() 220 (void) strncpy(header->secondary.bitmap, urdc->secondary.bitmap, in rdc_fill_header() 1116 (void) strncpy(header.primary.bitmap, newbitmap, NSC_MAXPATH); in rdc_move_bitmap() 1117 (void) strncpy(urdc->primary.bitmap, newbitmap, NSC_MAXPATH); in rdc_move_bitmap() 1119 (void) strncpy(header.secondary.bitmap, newbitmap, NSC_MAXPATH); in rdc_move_bitmap() 1120 (void) strncpy(urdc->secondary.bitmap, newbitmap, NSC_MAXPATH); in rdc_move_bitmap() 1305 bitmapname = &urdc->primary.bitmap[0]; in rdc_alloc_bitmap() 1307 bitmapname = &urdc->secondary.bitmap[0]; in rdc_alloc_bitmap() 1368 bitmapname = &urdc->primary.bitmap[0]; in rdc_open_bitmap() 1370 bitmapname = &urdc->secondary.bitmap[0]; in rdc_open_bitmap() [all …]
|
H A D | rdc_update.h | 37 uchar_t *bitmap; /* set of changes to be made */ member
|
/titanic_41/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_pcu.c | 55 struct bitmap { struct 75 static int add_bitmap_entry(struct bitmap *bmp, _sd_bitmap_t bits, int any_fail, argument 77 static int flush_bitmap_list(struct bitmap *bmp, dev_t dev, nsc_off_t *blkno); 79 nsc_off_t *blkno, int failed, struct bitmap *bmaps); 270 start_bitmap_list(struct bitmap *bmp, int bpb) in start_bitmap_list() 301 add_bitmap_entry(struct bitmap *bmp, in add_bitmap_entry() 341 flush_bitmap_list(struct bitmap *bmp, dev_t dev, nsc_off_t *blkno) in flush_bitmap_list() 410 struct bitmap *bmaps) in flush_centry_list() 513 struct bitmap bmap; in _sdbc_power_flush()
|
/titanic_41/usr/src/cmd/nscd/ |
H A D | nscd_config.c | 301 _nscd_cfg_bitmap_is_equal(g_info->bitmap, gi->bitmap)) in _nscd_cfg_verify_group_info() 308 _nscd_cfg_bitmap_value(g_info->bitmap), gi->num_param, in _nscd_cfg_verify_group_info() 309 _nscd_cfg_bitmap_value(gi->bitmap)); in _nscd_cfg_verify_group_info() 413 g_info.bitmap = NSCD_CFG_BITMAP_ZERO; in _nscd_cfg_init_param() 437 _nscd_cfg_bitmap_set_nth(g_info.bitmap, fn); in _nscd_cfg_init_param() 516 g_info.bitmap, gdesc->gi.bitmap)) { in _nscd_cfg_init_stat() 527 g_info.bitmap), in _nscd_cfg_init_stat() 530 gdesc->gi.bitmap)); in _nscd_cfg_init_stat() 540 g_info.bitmap = NSCD_CFG_BITMAP_ZERO; in _nscd_cfg_init_stat() 563 _nscd_cfg_bitmap_set_nth(g_info.bitmap, fn); in _nscd_cfg_init_stat() [all …]
|
H A D | nscd_admin.c | 331 _nscd_cfg_bitmap_set_nth(cfg->gi.bitmap, 0); in _nscd_add_admin_mod() 346 _nscd_cfg_bitmap_set_nth(cfg->gi.bitmap, 3); in _nscd_add_admin_mod() 361 _nscd_cfg_bitmap_set_nth(cfg->gi.bitmap, 5); in _nscd_add_admin_mod() 368 _nscd_cfg_bitmap_set_nth(cfg->gi.bitmap, 6); in _nscd_add_admin_mod() 375 _nscd_cfg_bitmap_set_nth(cfg->gi.bitmap, 7); in _nscd_add_admin_mod()
|
/titanic_41/usr/src/uts/common/cpr/ |
H A D | cpr_dump.c | 723 char *bitmap; in cpr_setbit() local 730 bitmap = DESC_TO_MAP(dp, mapflag); in cpr_setbit() 732 if ((clr = isclr(bitmap, rel)) != 0) in cpr_setbit() 733 setbit(bitmap, rel); in cpr_setbit() 748 char *bitmap; in cpr_clrbit() local 755 bitmap = DESC_TO_MAP(dp, mapflag); in cpr_clrbit() 757 if ((set = isset(bitmap, rel)) != 0) in cpr_clrbit() 758 clrbit(bitmap, rel); in cpr_clrbit() 781 char *bitmap; in cpr_isset() local 787 bitmap = DESC_TO_MAP(dp, mapflag); in cpr_isset() [all …]
|
/titanic_41/usr/src/cmd/isns/isnsd/ |
H A D | scn.c | 464 (*pp)->bitmap = e->bitmap; in scn_list_add() 709 uint32_t bitmap = lcp->data[2].ui; in cb_update_scn_bitmap() local 711 if (bitmap != 0) { in cb_update_scn_bitmap() 720 attr->value.ui = bitmap; in cb_update_scn_bitmap() 1395 if (SCN_TEST(e, p->bitmap, p->uid, t->uid, t->nt)) { in scn_disp() 1396 if (p->bitmap & ISNS_MGMT_REG) { in scn_disp() 1764 (p->bitmap & in scn_trigger1() 1870 uint32_t bitmap in scn_list_load() argument 1886 list->bitmap = bitmap; in scn_list_load() 1960 uint32_t bitmap in add_scn_entry() argument [all …]
|
/titanic_41/usr/src/common/iscsi/ |
H A D | utils.c | 100 prt_bitmap(int bitmap, char *str, char *buf, int size) in prt_bitmap() argument 123 do_put = ((1 << *p) & bitmap); in prt_bitmap() 124 bitmap &= ~(1 << *p); in prt_bitmap()
|
/titanic_41/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | bitmap.c | 65 char *bitmap; in cb_bitop() local 70 bitmap = (char *)dp->cbd_reg_bitmap; in cb_bitop() 73 setbit(bitmap, rel); in cb_bitop() 75 rval = isset(bitmap, rel); in cb_bitop() 77 rval = isclr(bitmap, rel); in cb_bitop()
|
/titanic_41/usr/src/uts/common/xen/public/ |
H A D | physdev.h | 100 XEN_GUEST_HANDLE(uint8) bitmap; 102 uint8_t *bitmap;
|
/titanic_41/usr/src/uts/sun4v/pcbe/ |
H A D | niagara_pcbe.c | 304 uint64_t bitmap = 0; in ni_pcbe_event_coverage() local 308 bitmap = 0x1; in ni_pcbe_event_coverage() 311 bitmap |= 0x2; in ni_pcbe_event_coverage() 313 return (bitmap); in ni_pcbe_event_coverage()
|
/titanic_41/usr/src/uts/common/smbsrv/ndl/ |
H A D | security.ndl | 207 * bitmap security_ace_flags 243 * bitmap security_ace_object_flags 298 * bitmap security_descriptor_type 340 * bitmap security_secinfo
|
/titanic_41/usr/src/cmd/avs/rdc/ |
H A D | sndradm.c | 804 char bitmap[NSC_MAXPATH]; in ii_set_exists() local 811 bzero(&bitmap, sizeof (bitmap)); in ii_set_exists() 814 (void) sscanf(buf, "%s %s %s", master, shadow, bitmap); in ii_set_exists() 819 if (strcmp(bitmap, bm) != 0) in ii_set_exists() 831 char *bitmap; in rdc_ii_config() local 855 bitmap = argv[++optind]; in rdc_ii_config() 892 if (strcmp(buf, bitmap) != 0) in rdc_ii_config() 907 master, shadow, bitmap); in rdc_ii_config() 912 master, shadow, bitmap); in rdc_ii_config() 921 "entry for %s %s %s"), master, shadow, bitmap); in rdc_ii_config() [all …]
|