Home
last modified time | relevance | path

Searched refs:cmap (Results 1 – 16 of 16) sorted by relevance

/titanic_44/usr/src/uts/common/io/
H A Dfssnap.c775 cow_map_t *cmap = &sidp->sid_cowinfo->cow_map; in snap_getchunk() local
784 ASSERT(offset + len <= cmap->cmap_chunksz); in snap_getchunk()
789 if (chunk >= (cmap->cmap_bmsize * NBBY)) { in snap_getchunk()
799 if (isclr(cmap->cmap_candidate, chunk)) { in snap_getchunk()
813 rw_enter(&cmap->cmap_rwlock, RW_READER); in snap_getchunk()
814 if (isclr(cmap->cmap_hastrans, chunk)) { in snap_getchunk()
827 snapbuf->b_lblkno = lbtodb(chunk * cmap->cmap_chunksz + offset); in snap_getchunk()
869 rw_exit(&cmap->cmap_rwlock); in snap_getchunk()
882 cmn = transtbl_get(cmap, chunk); in snap_getchunk()
889 rw_exit(&cmap->cmap_rwlock); in snap_getchunk()
[all …]
/titanic_44/usr/src/cmd/tr/
H A Dcmap.h41 struct cmap { struct
52 struct cmap *cmap_alloc(void); argument
53 bool cmap_add(struct cmap *, wint_t, wint_t);
54 wint_t cmap_lookup_hard(struct cmap *, wint_t);
55 void cmap_cache(struct cmap *);
56 wint_t cmap_default(struct cmap *, wint_t);
H A Dcmap.c45 struct cmap *
48 struct cmap *cm; in cmap_alloc()
65 cmap_add(struct cmap *cm, wint_t from, wint_t to) in cmap_add()
118 cmap_lookup_hard(struct cmap *cm, wint_t ch) in cmap_lookup_hard()
134 cmap_cache(struct cmap *cm) in cmap_cache()
151 cmap_default(struct cmap *cm, wint_t def) in cmap_default()
H A Dtr.c58 cmap_lookup(struct cmap *cm, wint_t from) in cmap_lookup()
67 cmap_max(struct cmap *cm) in cmap_max()
85 struct cmap *map; in main()
H A DMakefile21 OBJS= tr.o str.o cset.o cmap.o
/titanic_44/usr/src/cmd/csh/
H A Dsh.char.h55 #define cmap(c, bits) (Z=((unsigned)(c)), cmapZ(bits)) macro
57 #define isglob(c) cmap(c, _GLOB)
58 #define ismeta(c) cmap(c, _META)
59 #define digit(c) cmap(c, _DIG)
H A Dsh.dol.c78 if (cmap(*p++, _DOL|QUOTES)) { /* $, \, ', ", ` */ in Dfix()
256 if (cmap(c, _SP|_NL|_Q|_Q1) || in Dword()
259 if (cmap(c, QUOTES)) in Dword()
300 if (!err && cmap(c, QUOTES)) in DgetC()
618 if (cmap(c, QUOTES)) in Dtestq()
H A Dsh.lex.c207 if (cmap(c, _META|_ESC)||isauxsp(c)) in word()
278 } else if (cmap(c, _META|_Q|_Q1|_ESC)||isauxsp(c)) { in word()
289 } else if (cmap(c, _Q|_Q1)) { /* '"` */ in word()
333 if (!err && cmap(c, _META|_Q|_Q1)||isauxsp(c)) in getC1()
/titanic_44/usr/src/uts/common/sys/
H A Dfssnap.h68 #define dbtocowchunk(cmap, dblkno) ((dblkno) / \ argument
69 ((cmap)->cmap_chunksz >> DEV_BSHIFT))
72 #define cowchunktodb(cmap, cowchunk) ((cowchunk) * \ argument
73 ((cmap)->cmap_chunksz >> DEV_BSHIFT))
H A Dfbio.h207 struct fbcmap cmap; /* color map info */ member
219 struct fbcmap32 cmap; /* color map info */ member
H A Dvisual_io.h97 struct vis_cursorcmap cmap; /* color map info */ member
/titanic_44/usr/src/tools/cscope-fast/
H A Dcgrep.c56 uchar_t *cmap; member
82 uchar_t *cmap; member
140 uchar_t *cmap; /* Character mapping array */ member
150 uchar_t *cmap; member
283 static re_bm *re_bmcomp(uchar_t *pb, uchar_t *pe, uchar_t *cmap);
284 static re_cw *re_cwinit(uchar_t *cmap);
331 match_pattern.cmap = char_map[iflag]; in egrepinit()
375 pat->bm_ptr = re_bmcomp(lb, le, pat->cmap); in dogre()
381 pat->bm_ptr = re_bmcomp(lb, le, pat->cmap); in dogre()
386 if ((pat->cw_ptr = re_recw(pat->re_ptr, pat->cmap)) != NULL) { in dogre()
[all …]
/titanic_44/usr/src/uts/common/io/audio/drv/audiovia823x/
H A Daudiovia823x.c297 uint32_t cmap; in auvia_reset_output() local
321 cmap = (1 << 0) | (1 << 4); in auvia_reset_output()
324 cmap = (1 << 0) | (2 << 4); in auvia_reset_output()
327 cmap = (1 << 0) | (2 << 4) | (3 << 8) | (4 << 12); in auvia_reset_output()
330 cmap = (1 << 0) | (2 << 4) | in auvia_reset_output()
334 cmap = 0; in auvia_reset_output()
337 OUTL(devc, portc->base + OFF_CHANNELS, cmap | 0xFF000000U); in auvia_reset_output()
/titanic_44/usr/src/uts/common/os/
H A Ddumpsubr.c406 cbuf_t *cmap; /* array of input (map) buffers */ member
584 cpend = &old->cmap[old->ncmap]; in dump_update_clevel()
585 for (cp = old->cmap; cp != cpend; cp++) in dump_update_clevel()
587 kmem_free(old->cmap, old->ncmap * sizeof (cbuf_t)); in dump_update_clevel()
677 new->cmap = kmem_zalloc(new->ncmap * sizeof (cbuf_t), KM_SLEEP); in dump_update_clevel()
678 cpend = &new->cmap[new->ncmap]; in dump_update_clevel()
679 for (cp = new->cmap; cp != cpend; cp++) { in dump_update_clevel()
2909 for (cp = dumpcfg.cmap; cp != &dumpcfg.cmap[dumpcfg.ncmap]; cp++) in dumpsys()
/titanic_44/usr/src/cmd/sgs/include/
H A Drtld.h1074 #define SLOOKUP_INIT(sl, name, cmap, imap, id, hash, rsymndx, rsym, rtype, \ argument
1076 (void) (sl.sl_name = (name), sl.sl_cmap = (cmap), sl.sl_imap = (imap), \
/titanic_44/usr/src/cmd/auditconfig/
H A Dauditconfig.c993 struct au_evclass_map cmap; in do_chkconf() local
1006 cmap.ec_number = evp->ae_number; in do_chkconf()
1009 if (auditon(A_GETCLASS, (caddr_t)&cmap, len) == -1) { in do_chkconf()
1016 class = cmap.ec_class; in do_chkconf()