Home
last modified time | relevance | path

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

/illumos-gate/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 …]
/illumos-gate/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
/illumos-gate/usr/src/cmd/csh/
H A Dsh.char.h53 #define cmap(c, bits) (Z=((unsigned)(c)), cmapZ(bits)) macro
55 #define isglob(c) cmap(c, _GLOB)
56 #define ismeta(c) cmap(c, _META)
57 #define digit(c) cmap(c, _DIG)
H A Dsh.dol.c87 if (cmap(*p++, _DOL|QUOTES)) { /* $, \, ', ", ` */ in Dfix()
265 if (cmap(c, _SP|_NL|_Q|_Q1) || in Dword()
268 if (cmap(c, QUOTES)) in Dword()
309 if (!err_msg && cmap(c, QUOTES)) in DgetC()
627 if (cmap(c, QUOTES)) in Dtestq()
H A Dsh.lex.c213 if (cmap(c, _META|_ESC)||isauxsp(c)) in word()
284 } else if (cmap(c, _META|_Q|_Q1|_ESC)||isauxsp(c)) { in word()
295 } else if (cmap(c, _Q|_Q1)) { /* '"` */ in word()
339 if (!err_msg && cmap(c, _META|_Q|_Q1)||isauxsp(c)) in getC1()
/illumos-gate/usr/src/uts/common/sys/
H A Dfssnap.h66 #define dbtocowchunk(cmap, dblkno) ((dblkno) / \ argument
67 ((cmap)->cmap_chunksz >> DEV_BSHIFT))
70 #define cowchunktodb(cmap, cowchunk) ((cowchunk) * \ argument
71 ((cmap)->cmap_chunksz >> DEV_BSHIFT))
H A Dfbio.h205 struct fbcmap cmap; /* color map info */ member
217 struct fbcmap32 cmap; /* color map info */ member
H A Dvisual_io.h95 struct vis_cursorcmap cmap; /* color map info */ member
/illumos-gate/usr/src/tools/cscope-fast/
H A Dcgrep.c53 uchar_t *cmap; member
79 uchar_t *cmap; member
137 uchar_t *cmap; /* Character mapping array */ member
147 uchar_t *cmap; member
280 static re_bm *re_bmcomp(uchar_t *pb, uchar_t *pe, uchar_t *cmap);
281 static re_cw *re_cwinit(uchar_t *cmap);
328 match_pattern.cmap = char_map[iflag]; in egrepinit()
372 pat->bm_ptr = re_bmcomp(lb, le, pat->cmap); in dogre()
378 pat->bm_ptr = re_bmcomp(lb, le, pat->cmap); in dogre()
383 if ((pat->cw_ptr = re_recw(pat->re_ptr, pat->cmap)) != NULL) { in dogre()
[all …]
/illumos-gate/usr/src/boot/i386/libi386/
H A Dvbe.c54 multiboot_color_t *cmap; variable
377 if (cmap == NULL) in vbe_set_palette()
378 cmap = calloc(CMAP_SIZE, sizeof (*cmap)); in vbe_set_palette()
391 if (cmap != NULL && slot < CMAP_SIZE) { in vbe_set_palette()
392 cmap[slot].mb_red = entry->Red; in vbe_set_palette()
393 cmap[slot].mb_green = entry->Green; in vbe_set_palette()
394 cmap[slot].mb_blue = entry->Blue; in vbe_set_palette()
839 if (cmap == NULL) in vbe_print_mode()
845 cmap[i].mb_red, cmap[i].mb_green, cmap[i].mb_blue); in vbe_print_mode()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/sgs/include/
H A Drtld.h1075 #define SLOOKUP_INIT(sl, name, cmap, imap, id, hash, rsymndx, rsym, rtype, \ argument
1077 (void) (sl.sl_name = (name), sl.sl_cmap = (cmap), sl.sl_imap = (imap), \
/illumos-gate/usr/src/cmd/auditconfig/
H A Dauditconfig.c997 struct au_evclass_map cmap; in do_chkconf() local
1010 cmap.ec_number = evp->ae_number; in do_chkconf()
1013 if (auditon(A_GETCLASS, (caddr_t)&cmap, len) == -1) { in do_chkconf()
1020 class = cmap.ec_class; in do_chkconf()
/illumos-gate/usr/src/boot/common/
H A Dmultiboot2.c1165 extern multiboot_color_t *cmap; in multiboot2_exec()
1190 memcpy(tag->u.fb1.framebuffer_palette, cmap, in multiboot2_exec()