Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_branch.c57 cmd_branch_memb_t *bm; in mbd_label() local
61 for (bm = cmd_list_next(&branch->branch_dimms); bm != NULL; in mbd_label()
62 bm = cmd_list_next(bm)) { in mbd_label()
63 dimm = bm->dimm; in mbd_label()
79 cmd_branch_memb_t *bm; in cmd_branch_add_dimm() local
86 bm = fmd_hdl_zalloc(hdl, sizeof (cmd_branch_memb_t), FMD_SLEEP); in cmd_branch_add_dimm()
87 bm->dimm = dimm; in cmd_branch_add_dimm()
88 cmd_list_append(&branch->branch_dimms, bm); in cmd_branch_add_dimm()
94 cmd_branch_memb_t *bm; in cmd_branch_remove_dimm() local
99 for (bm = cmd_list_next(&branch->branch_dimms); bm != NULL; in cmd_branch_remove_dimm()
[all …]
/titanic_44/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_bank.c46 cmd_bank_memb_t *bm; in cmd_bank_add_dimm() local
53 bm = fmd_hdl_zalloc(hdl, sizeof (cmd_bank_memb_t), FMD_SLEEP); in cmd_bank_add_dimm()
54 bm->bm_dimm = dimm; in cmd_bank_add_dimm()
55 cmd_list_append(&bank->bank_dimms, bm); in cmd_bank_add_dimm()
61 cmd_bank_memb_t *bm; in cmd_bank_remove_dimm() local
66 for (bm = cmd_list_next(&bank->bank_dimms); bm != NULL; in cmd_bank_remove_dimm()
67 bm = cmd_list_next(bm)) { in cmd_bank_remove_dimm()
68 if (bm->bm_dimm != dimm) in cmd_bank_remove_dimm()
71 cmd_list_delete(&bank->bank_dimms, bm); in cmd_bank_remove_dimm()
73 fmd_hdl_free(hdl, bm, sizeof (cmd_bank_memb_t)); in cmd_bank_remove_dimm()
[all …]
/titanic_44/usr/src/lib/libast/common/regex/
H A Dregrexec.c64 mid = (len < e->re.bm.right) ? 0 : (len - e->re.bm.right); in regrexec()
65 skip = e->re.bm.skip; in regrexec()
66 fail = e->re.bm.fail; in regrexec()
67 mask = e->re.bm.mask; in regrexec()
68 complete = e->re.bm.complete && !nmatch; in regrexec()
69 exactlen = e->re.bm.size; in regrexec()
70 leftlen = e->re.bm.left + exactlen; in regrexec()
71 rightlen = exactlen + e->re.bm.right; in regrexec()
H A Dregcomp.c2906 a->re.bm.mask[m][c] |= b; in bmstr()
2907 if (z == HIT || !a->re.bm.skip[c] || a->re.bm.skip[c] > z && a->re.bm.skip[c] < HIT) in bmstr()
2908 a->re.bm.skip[c] = z; in bmstr()
2917 a->re.bm.mask[m][c] |= b; in bmstr()
2918 if (z == HIT || !a->re.bm.skip[c] || a->re.bm.skip[c] > z && a->re.bm.skip[c] < HIT) in bmstr()
2919 a->re.bm.skip[c] = z; in bmstr()
2940 a->re.bm.complete = 0; in bmtrie()
2943 a->re.bm.complete = 0; in bmtrie()
3019 a->re.bm.size = n; in special()
3020 a->re.bm.back = (y == e || y == e->re.group.expr.rex) ? (m - n) : -1; in special()
[all …]
H A Dregnexec.c1899 if (len < e->re.bm.right) in regnexec()
1901 …DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REG_NOMATCH %d %d\n", __LINE__, len, e->re.bm.righ… in regnexec()
1907 register size_t index = e->re.bm.left + e->re.bm.size; in regnexec()
1908 register size_t mid = len - e->re.bm.right; in regnexec()
1909 register size_t* skip = e->re.bm.skip; in regnexec()
1910 register size_t* fail = e->re.bm.fail; in regnexec()
1911 register Bm_mask_t** mask = e->re.bm.mask; in regnexec()
1915 …=%d right=%d left=%d size=%d %d %d\n", __LINE__, len, e->re.bm.right, e->re.bm.left, e->re.bm.size… in regnexec()
1925 m = mask[n = e->re.bm.size - 1][buf[index]]; in regnexec()
1930 if (e->re.bm.back < 0) in regnexec()
[all …]
H A Dregstat.c44 …p->env->stats.re_record = (p && p->env && p->env->rex->type == REX_BM) ? p->env->rex->re.bm.size :… in regstat()
H A Dreglib.h508 Bm_t bm; /* bm */ member
/titanic_44/usr/src/cmd/audio/utilities/
H A Dzmalloc.c62 struct buffer_map *bm; in insert_bm() local
64 bm = (struct buffer_map *)malloc(sizeof (struct buffer_map)); in insert_bm()
65 bm->bm_buffer = buf; in insert_bm()
66 bm->bm_size = size; in insert_bm()
67 bm->bm_next = bm_list; in insert_bm()
69 bm_list = bm; in insert_bm()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c61 mem_bank_map_t *bm; in mdesc_init_n1() local
156 bm = topo_mod_zalloc(mod, sizeof (mem_bank_map_t)); in mdesc_init_n1()
157 bm->bm_mask = mask; in mdesc_init_n1()
158 bm->bm_match = chan_value | rank_value; in mdesc_init_n1()
159 bm->bm_shift = 1; in mdesc_init_n1()
160 bm->bm_grp = mg->mg_bank; in mdesc_init_n1()
161 mg->mg_bank = bm; in mdesc_init_n1()
162 bm->bm_next = mem->mem_bank; in mdesc_init_n1()
163 mem->mem_bank = bm; in mdesc_init_n1()
170 dlp->dl_next = bm->bm_dlist; in mdesc_init_n1()
[all …]
H A Dmem.c285 mem_bank_map_t *bm; in calc_phys_addr() local
288 for (bm = seg->sm_grp->mg_bank; bm != NULL; bm = bm->bm_grp) { in calc_phys_addr()
289 dl = bm->bm_dlist; in calc_phys_addr()
292 return (insert_bits(offset<<bm->bm_shift, in calc_phys_addr()
293 bm->bm_mask, bm->bm_match)); in calc_phys_addr()
305 mem_bank_map_t *bm; in mem_expand_opt() local
330 bm = seg->sm_grp->mg_bank; in mem_expand_opt()
338 bm->bm_mask) >> bm->bm_shift; in mem_expand_opt()
/titanic_44/usr/src/cmd/mdb/intel/modules/amd_opteron/
H A Dao.c59 const mdb_bitmask_t *bm; in ao_nbcfg_describe() local
66 for (nbits = 0, bm = ao_nbcfg_bits, i = 0; in ao_nbcfg_describe()
67 i < sizeof (ao_nbcfg_bits) / sizeof (mdb_bitmask_t); i++, bm++) { in ao_nbcfg_describe()
68 if (!(val & bm->bm_bits)) in ao_nbcfg_describe()
71 mdb_printf("\t0x%08x %s\n", bm->bm_bits, bm->bm_name); in ao_nbcfg_describe()
73 val &= ~bm->bm_bits; in ao_nbcfg_describe()
/titanic_44/usr/src/lib/libresolv2/include/isc/
H A Deventlib.h66 #define EV_BYTEMASK_SET(bm, b) \ argument
67 ((bm).mask[EV_BYTEMASK_BYTE(b)] |= EV_BYTEMASK_MASK(b))
68 #define EV_BYTEMASK_CLR(bm, b) \ argument
69 ((bm).mask[EV_BYTEMASK_BYTE(b)] &= ~EV_BYTEMASK_MASK(b))
70 #define EV_BYTEMASK_TST(bm, b) \ argument
71 ((bm).mask[EV_BYTEMASK_BYTE(b)] & EV_BYTEMASK_MASK(b))
/titanic_44/usr/src/cmd/fm/schemes/mem/
H A Dmem.c543 mem_bank_map_t *bm, *cm; in fmd_fmri_fini() local
554 for (bm = mem.mem_bank; bm != NULL; bm = cm) { in fmd_fmri_fini()
555 cm = bm->bm_next; in fmd_fmri_fini()
556 fmd_fmri_free(bm, sizeof (mem_bank_map_t)); in fmd_fmri_fini()
/titanic_44/usr/src/uts/i86pc/os/
H A Dfakebop.c95 struct bsys_mem bm; variable
1224 struct boot_modules *bm, *rdbm; in build_boot_properties() local
1243 bm = xbp->bi_modules; in build_boot_properties()
1246 if (bm[i].bm_type == BMT_ROOTFS) { in build_boot_properties()
1247 rdbm = &bm[i]; in build_boot_properties()
1250 if (bm[i].bm_type == BMT_HASH || bm[i].bm_name == NULL) in build_boot_properties()
1255 bsetprops(modid, (char *)bm[i].bm_name); in build_boot_properties()
1258 bsetprop64(modid, (uint64_t)(uintptr_t)bm[i].bm_addr); in build_boot_properties()
1261 bsetprop64(modid, (uint64_t)bm[i].bm_size); in build_boot_properties()
1610 struct boot_modules *bm = xbp->bi_modules; in relocate_boot_archive() local
[all …]
/titanic_44/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_drv.c1535 const mc_bind_map_t *bm; in mc_attach() local
1558 for (bm = mc_bind_map; bm->bm_bindnm != NULL; bm++) { in mc_attach()
1559 if (strcmp(bindnm, bm->bm_bindnm) == 0) { in mc_attach()
1560 func = bm->bm_func; in mc_attach()
1565 if (bm->bm_bindnm == NULL) in mc_attach()
1633 dip, "model", (char *)bm->bm_model); in mc_attach()
1638 if (bm->bm_mkprops != NULL && in mc_attach()
1639 mc_pcicfg_setup(mc, bm->bm_func, &cfghdl) == DDI_SUCCESS) { in mc_attach()
1640 bm->bm_mkprops(cfghdl, mc); in mc_attach()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Ddsl_bookmark.c369 zfs_bookmark_phys_t bm; in dsl_bookmark_destroy_check() local
380 error = dsl_dataset_bmark_lookup(ds, shortname, &bm); in dsl_bookmark_destroy_check()
/titanic_44/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c334 char bm[MAXPORT/8]; in res_nmkupdate() local
353 bm[i] = 0; in res_nmkupdate()
360 bm[n/8] |= (0x80>>(n%8)); in res_nmkupdate()
368 memcpy(cp, bm, maxbm); in res_nmkupdate()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_xdr.c1496 bitmap4 bm; in xdr_get_bitmap4_inline() local
1504 IXDR_GET_HYPER(ptr, bm); in xdr_get_bitmap4_inline()
1506 return (bm); in xdr_get_bitmap4_inline()
1510 bm = IXDR_GET_U_INT32(ptr); in xdr_get_bitmap4_inline()
1513 return (bm); in xdr_get_bitmap4_inline()
1515 *((uint32_t *)&bm) |= IXDR_GET_U_INT32(ptr); in xdr_get_bitmap4_inline()
1518 return (bm); in xdr_get_bitmap4_inline()
1522 return (bm); in xdr_get_bitmap4_inline()
1524 *((uint32_t *)&bm) = IXDR_GET_U_INT32(ptr); in xdr_get_bitmap4_inline()
1527 return (bm); in xdr_get_bitmap4_inline()
[all …]
/titanic_44/usr/src/cmd/th_tools/
H A Dth_define.c430 str_to_bm(char *optarg, coding_t *c, uint_t *bm) in str_to_bm() argument
442 *bm |= c->code; in str_to_bm()
451 msg(2, "str_to_bm: done 0x%x\n", *bm); in str_to_bm()
/titanic_44/usr/src/uts/common/avs/ns/rdc/
H A Drdc_bitmap.c2270 uint_t bm = bitmask; in rdc_std_clr_bitmap() local
2271 uchar_t *ptr = (uchar_t *)&bm; in rdc_std_clr_bitmap()
/titanic_44/usr/src/cmd/avs/rdc/
H A Dsndradm.c798 ii_set_exists(CFGFILE *cfg, char *ma, char *sh, char *bm) in ii_set_exists() argument
819 if (strcmp(bitmap, bm) != 0) in ii_set_exists()
/titanic_44/usr/src/lib/libast/common/
H A DRELEASE31 09-12-11 regex/regcomp.c: bm complete=0 if REX_END
535 03-08-25 regex: add REG_FIRST, optimize bm
/titanic_44/usr/src/pkg/manifests/
H A Dsystem-data-terminfo.mf2564 hardlink path=usr/share/lib/terminfo/v/vt100-bm target=../n/nwp512
2565 hardlink path=usr/share/lib/terminfo/v/vt100-bm-o target=../n/nwp512-o
/titanic_44/usr/src/cmd/terminfo/
H A Dtermcap.src4795 nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines:\
4801 # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
4807 nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines:\
4813 # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
4821 # also the alias vt100-bm.
4828 # (nwp513-o: had :DE=^H:, I think that's :bs:; also the alias vt100-bm --esr)
H A Dterminfo.src5457 nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines,
5463 # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
5470 nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines,
5476 # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
5484 # also the alias vt100-bm.
5491 # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)