/titanic_41/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_bitmap.c | 283 bitmap_t *bmp; in bmd_alloc() local 285 bmp = bitmap; in bmd_alloc() 286 for (i = 0; i < BMAP_MAX; bmp++, i++) in bmd_alloc() 287 if (!BMAP_IS_INUSE(bmp)) { in bmd_alloc() 288 BMAP_SET_FLAGS(bmp, BMAP_INUSE); in bmd_alloc() 304 bitmap_t *bmp; in bmd_free() local 306 bmp = bmd2bmp(bmd); in bmd_free() 307 if (bmp) in bmd_free() 308 BMAP_UNSET_FLAGS(bmp, BMAP_INUSE); in bmd_free() 368 bm_chunk_setup(bitmap_t *bmp, bmap_chunk_t *cp, u_quad_t bn) in bm_chunk_setup() argument [all …]
|
/titanic_41/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 78 bitmap_in_use(int cmd, char *hostp, char *bmp) in bitmap_in_use() argument 128 if ((strcmp(bmp, mas) == 0) || in bitmap_in_use() 129 (strcmp(bmp, sha) == 0) || in bitmap_in_use() 130 (strcmp(bmp, bit) == 0) || in bitmap_in_use() 131 (strcmp(bmp, ovr) == 0)) { in bitmap_in_use() 134 "Point-in-Time Copy", bmp); in bitmap_in_use() 156 if ((strcmp(bmp, pri) == 0) || in bitmap_in_use() 157 (strcmp(bmp, bit) == 0)) { in bitmap_in_use() 161 bmp, RDC_NAME_DU_JOUR); in bitmap_in_use() 168 if ((strcmp(bmp, sec) == 0) || in bitmap_in_use() [all …]
|
H A D | rdcpersist.c | 79 char *vol, *bmp, *host1, *host2; in load_rdc_vols() local 96 bmp = strtok(NULL, " "); in load_rdc_vols() 102 bmp = strtok(NULL, " "); in load_rdc_vols() 120 volcount = (volcount_t *)nsc_lookup(volhash, bmp); in load_rdc_vols() 127 nsc_insert_node(volhash, volcount, bmp); in load_rdc_vols() 185 char bmp[NSC_MAXPATH]; in sv_enable_nocfg() local 191 strncpy(bmp, rdc->pbmp, NSC_MAXPATH); in sv_enable_nocfg() 194 strncpy(bmp, rdc->sbmp, NSC_MAXPATH); in sv_enable_nocfg() 200 if ((stat(vol, &stbv) != 0) || (stat(bmp, &stbb) != 0)) in sv_enable_nocfg() 210 strncpy(svcb.svc_path, bmp, sizeof (svcb.svc_path)); in sv_enable_nocfg() [all …]
|
H A D | rdcrules.h | 35 extern int bitmap_in_use(int cmd, char *hostp, char *bmp); 38 extern int can_reconfig_pbmp(rdcconfig_t *rdc, char *bmp); 39 extern int can_reconfig_sbmp(rdcconfig_t *rdc, char *bmp);
|
/titanic_41/usr/src/cmd/isns/isnsd/ |
H A D | dd.c | 363 bmp_t *bmp, *tmp_bmp; in update_matrix() local 383 bmp = MATRIX_X_UNIT(matrix, i); in update_matrix() 384 x_info = MATRIX_X_INFO(bmp); in update_matrix() 418 bmp = MATRIX_X_UNIT(matrix, j); in update_matrix() 419 x_info = MATRIX_X_INFO(bmp); in update_matrix() 423 (void *)bmp, SIZEOF_X_UNIT(matrix)); in update_matrix() 438 bmp = MATRIX_X_UNIT(matrix, i); in update_matrix() 440 MATRIX_X_INFO(bmp) = puid; in update_matrix() 442 if (TEST_MEMBERSHIP(bmp, primary, second) == 0) { in update_matrix() 443 SET_MEMBERSHIP(bmp, primary, second); in update_matrix() [all …]
|
/titanic_41/usr/src/uts/common/io/ |
H A D | bridge.c | 245 mac_to_inst(const bridge_mac_t *bmp) in mac_to_inst() argument 250 if ((bip = bmp->bm_inst) != NULL) in mac_to_inst() 263 bridge_mac_t *bmp; in link_sdu_fail() local 281 bmp = bip->bi_mac; in link_sdu_fail() 291 bmp->bm_linkstate = failed ? LINK_STATE_DOWN : in link_sdu_fail() 293 mac_link_redo(bmp->bm_mh, bmp->bm_linkstate); in link_sdu_fail() 304 if (bmp->bm_linkstate != blp->bl_linkstate) in link_sdu_fail() 307 mac_link_redo(blp->bl_mh, bmp->bm_linkstate); in link_sdu_fail() 363 bridge_mac_t *bmp = arg; in bridge_m_start() local 365 bmp->bm_flags |= BMF_STARTED; in bridge_m_start() [all …]
|
/titanic_41/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_pcu.c | 75 static int add_bitmap_entry(struct bitmap *bmp, _sd_bitmap_t bits, int any_fail, 77 static int flush_bitmap_list(struct bitmap *bmp, dev_t dev, nsc_off_t *blkno); 270 start_bitmap_list(struct bitmap *bmp, int bpb) in start_bitmap_list() argument 279 bmp->bmps = list; in start_bitmap_list() 280 bmp->inuse = 0; in start_bitmap_list() 281 bmp->bmaps_per_block = bpb; in start_bitmap_list() 301 add_bitmap_entry(struct bitmap *bmp, in add_bitmap_entry() argument 305 _sd_cctl_t *list = bmp->bmps; in add_bitmap_entry() 309 if (bmp->inuse == bmp->bmaps_per_block) { in add_bitmap_entry() 318 bmp->inuse = 0; in add_bitmap_entry() [all …]
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem_mdesc.c | 267 mem_bank_map_t *bmp, **banklist; in mdesc_init_n2() local 359 bmp = topo_mod_zalloc(mod, sizeof (mem_bank_map_t)); in mdesc_init_n2() 360 bmp->bm_next = mem->mem_bank; in mdesc_init_n2() 361 mem->mem_bank = bmp; in mdesc_init_n2() 362 bmp->bm_mask = mask; in mdesc_init_n2() 363 bmp->bm_match = match; in mdesc_init_n2() 369 bmp->bm_shift = mem_log2(n); in mdesc_init_n2() 372 *(banklist+idx) = bmp; in mdesc_init_n2() 381 dlp->dl_next = bmp->bm_dlist; in mdesc_init_n2() 382 bmp->bm_dlist = dlp; in mdesc_init_n2()
|
/titanic_41/usr/src/common/net/wanboot/ |
H A D | auxutil.c | 99 ASN1_BMPSTRING *bmp = NULL; local 121 bmp = M_ASN1_BMPSTRING_new(); 122 if (bmp == NULL) { 128 bmp->data = uni; 129 bmp->length = unilen; 131 return (bmp);
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | regex2.h | 114 unsigned char bmp[NC / 8]; member 132 return (((cs->bmp[ch >> 3] & (1 << (ch & 7))) != 0) ^ in CHIN1() 152 return (((cs->bmp[ch >> 3] & (1 << (ch & 7))) != 0) ^ in CHIN()
|
H A D | regcomp.c | 711 cs->bmp['\n' >> 3] |= 1 << ('\n' & 7); in p_bracket() 1156 cs->bmp[ch >> 3] |= 1 << (ch & 7); in CHadd() 1169 cs->bmp[nch >> 3] |= 1 << (nch & 7); in CHadd() 1171 cs->bmp[nch >> 3] |= 1 << (nch & 7); in CHadd()
|
/titanic_41/usr/src/cmd/sendmail/db/lock/ |
H A D | lock_deadlock.c | 192 __dd_build(dbenv, bmp, nlockers, idmap) in __dd_build() argument 194 u_int32_t **bmp, *nlockers; 382 *bmp = bitmap; 388 __dd_find(bmp, idmap, nlockers) in __dd_find() argument 389 u_int32_t *bmp, nlockers; in __dd_find() 399 for (mymap = bmp, i = 0; i < nlockers; i++, mymap += nentries) { 405 tmpmap = bmp + (nentries * j);
|
/titanic_41/usr/src/cmd/avs/dsw/ |
H A D | iiboot.c | 459 char *buf, **entry, *mst, *shd, *bmp, *ctag, *opt, *ptr; in read_resume_cfg() local 496 bmp = strtok(NULL, " "); in read_resume_cfg() 504 if (!mst || !shd || !bmp) in read_resume_cfg() 522 (void) strncpy(p->bitmap_vol, bmp, DSW_NAMELEN); in read_resume_cfg()
|
/titanic_41/usr/src/cmd/avs/rdc/ |
H A D | sndradm.c | 1065 check_rdcbitmap(int cmd, char *hostp, char *bmp) in check_rdcbitmap() argument 1097 if ((strcmp(bmp, mas) == 0) || in check_rdcbitmap() 1098 (strcmp(bmp, sha) == 0) || in check_rdcbitmap() 1099 (strcmp(bmp, ovr) == 0) || in check_rdcbitmap() 1100 (strcmp(bmp, bit) == 0)) { in check_rdcbitmap() 1103 " Point-in-Time Copy"), bmp); in check_rdcbitmap() 1138 if ((strcmp(bmp, pri) == 0) || in check_rdcbitmap() 1139 (strcmp(bmp, que) == 0) || in check_rdcbitmap() 1140 (strcmp(bmp, bit) == 0)) { in check_rdcbitmap() 1144 "Replicator"), bmp); in check_rdcbitmap() [all …]
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | dsl_bookmark.c | 89 dsl_dataset_t *later_ds, zfs_bookmark_phys_t *bmp) in dsl_bookmark_lookup() argument 99 error = dsl_dataset_bmark_lookup(ds, shortname, bmp); in dsl_bookmark_lookup() 101 if (!dsl_dataset_is_before(later_ds, ds, bmp->zbm_creation_txg)) in dsl_bookmark_lookup()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_io.c | 1076 iob_bits2str(mdb_iob_t *iob, u_longlong_t value, const mdb_bitmask_t *bmp, in iob_bits2str() argument 1083 if (bmp == NULL) in iob_bits2str() 1086 for (; bmp->bm_name != NULL; bmp++) { in iob_bits2str() 1087 if ((value & bmp->bm_mask) == bmp->bm_bits) { in iob_bits2str() 1088 width = strlen(bmp->bm_name) + delim; in iob_bits2str() 1098 mdb_iob_puts(iob, bmp->bm_name); in iob_bits2str() 1099 value &= ~bmp->bm_bits; in iob_bits2str()
|
/titanic_41/usr/src/cmd/avs/nsctl/ |
H A D | nskernd.c | 324 char *mst, *shd, *bmp, *mode, *ovr, *cnode, *opt, *grp; in log_iibmp_err() local 386 bmp = strtok(NULL, " "); in log_iibmp_err() 413 mst, shd, bmp, mode, ovr, cnode, newflags, grp); in log_iibmp_err()
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | p12lib.c | 2301 ASN1_BMPSTRING *bmp = NULL; local 2323 bmp = M_ASN1_BMPSTRING_new(); 2324 if (bmp == NULL) { 2330 bmp->data = uni; 2331 bmp->length = unilen; 2333 return (bmp);
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_sli3.c | 2345 MATCHMAP *bmp; in emlxs_sli2_bde_setup() local 2359 bmp = hba->sli.sli3.bpl_table[sbp->iotag]; in emlxs_sli2_bde_setup() 2361 bmp = (MATCHMAP *)emlxs_mem_get(hba, MEM_BPL); in emlxs_sli2_bde_setup() 2364 if (!bmp) { in emlxs_sli2_bde_setup() 2368 sbp->bmp = bmp; in emlxs_sli2_bde_setup() 2369 bpl = (ULP_BDE64 *)bmp->virt; in emlxs_sli2_bde_setup() 2370 bp = bmp->phys; in emlxs_sli2_bde_setup() 2470 (uint32_t)(((uintptr_t)bpl - (uintptr_t)bmp->virt) & 0xFFFFFFFF); in emlxs_sli2_bde_setup() 2644 MATCHMAP *bmp; in emlxs_sli2_fct_bde_setup() local 2653 sbp->bmp = NULL; in emlxs_sli2_fct_bde_setup() [all …]
|
H A D | emlxs_fcp.c | 2233 if (sbp->bmp) { in emlxs_unregister_pkt() 2234 emlxs_mem_put(hba, MEM_BPL, (void *)sbp->bmp); in emlxs_unregister_pkt() 2235 sbp->bmp = 0; in emlxs_unregister_pkt() 3831 if (sbp->bmp) { in emlxs_iotag_flush() 3833 (void *)sbp->bmp); in emlxs_iotag_flush() 3834 sbp->bmp = 0; in emlxs_iotag_flush()
|
H A D | emlxs_clock.c | 1334 MATCHMAP *bmp; in emlxs_tx_watchdog() local
|
/titanic_41/usr/src/uts/common/avs/ns/dsw/ |
H A D | dsw_dev.c | 666 unsigned char *bmp; in ii_update_denied() local 674 update.bitmap = bmp = kmem_alloc(update.size, KM_SLEEP); in ii_update_denied() 675 if (bmp == NULL) { in ii_update_denied() 684 *bmp++ = (unsigned char)0xff; in ii_update_denied() 8554 unsigned char *bmp; in _ii_km_tst_shd_bit() local 8559 bmp = ip->bi_bitmap + bmp_offset; in _ii_km_tst_shd_bit() 8562 rc = DSW_BIT_ISSET(bmp[chunk/DSW_BITS], chunk%DSW_BITS); in _ii_km_tst_shd_bit() 8577 unsigned char *bmp; in _ii_km_set_shd_bit() local 8581 bmp = ip->bi_bitmap + bmp_offset; in _ii_km_set_shd_bit() 8584 if (DSW_BIT_ISSET(bmp[chunk/DSW_BITS], chunk%DSW_BITS) == 0) { in _ii_km_set_shd_bit() [all …]
|
/titanic_41/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_dev.c | 1368 int bmp = 0; in _rdc_open() local 1386 bmp = 1; in _rdc_open() 1410 if (bmp) { in _rdc_open() 1419 if (bmp) in _rdc_open() 1463 int bmp = RDC_IS_BMP(rfd); local 1475 if (bmp) {
|
/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.c | 485 p_mblk_t nmp, bmp, tmp; in hxge_tx_pkt_nmblocks() local 493 bmp = mp; in hxge_tx_pkt_nmblocks() 505 bmp = nmp; in hxge_tx_pkt_nmblocks() 528 nmp = bmp; in hxge_tx_pkt_nmblocks() 590 bmp = nmp; in hxge_tx_pkt_nmblocks()
|
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_txdma.c | 778 p_mblk_t nmp, bmp, tmp; in nxge_tx_pkt_nmblocks() local 786 bmp = mp; in nxge_tx_pkt_nmblocks() 799 bmp = nmp; in nxge_tx_pkt_nmblocks() 825 nmp = bmp; in nxge_tx_pkt_nmblocks() 887 bmp = nmp; in nxge_tx_pkt_nmblocks()
|