Home
last modified time | relevance | path

Searched refs:__DECONST (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/compat/bhyve/sys/
H A Dcdefs.h102 #ifndef __DECONST
103 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
/illumos-gate/usr/src/boot/libsa/
H A Dwrite.c82 btodb(f->f_offset), bcount, __DECONST(void *, dest), in write()
/illumos-gate/usr/src/uts/common/sys/
H A Dsysmacros.h69 #ifndef __DECONST
70 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
/illumos-gate/usr/src/common/lz4/
H A Dlz4.c355 #define A64(x) (((U64_S *)(__DECONST(void *, x)))->v)
356 #define A32(x) (((U32_S *)(__DECONST(void *, x)))->v)
357 #define A16(x) (((U16_S *)(__DECONST(void *, x)))->v)
/illumos-gate/usr/src/boot/sys/sys/
H A Dcdefs.h651 #ifndef __DECONST
652 #define __DECONST(type, var) ((type)(__uintptr_t)(const void *)(var)) macro
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dconfig.c77 nvl = __DECONST(nvlist_t *, in _lookup_config_node()
H A Dbhyverun.c298 token = __DECONST(char *, list); in parse_cpuset()