Home
last modified time | relevance | path

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

123

/f-stack/freebsd/libkern/
H A Dmemmem.c55 last = __DECONST(char *, cl) + l_len - s_len; in memmem()
57 for (cur = __DECONST(char *, cl); cur <= last; cur++) in memmem()
H A Dstrchrnul.c40 return (__DECONST(char *, p)); in strchrnul()
H A Dstrchr.c43 p = __DECONST(char *, cp); in strchr()
H A Dstrrchr.c43 p = __DECONST(char *, cp); in strrchr()
H A Dstrstr.c60 return (__DECONST(char *, s)); in strstr()
H A Dstrcasestr.c67 return (__DECONST(char *, s)); in strcasestr()
H A Dmemcchr.c115 return (__DECONST(void *, p)); in memcchr()
H A Dstrtoul.c105 *endptr = __DECONST(char *, any ? s - 1 : nptr); in strtoul()
H A Dstrtouq.c107 *endptr = __DECONST(char *, any ? s - 1 : nptr); in strtouq()
H A Dstrtol.c126 *endptr = __DECONST(char *, any ? s - 1 : nptr); in strtol()
H A Dstrtoq.c130 *endptr = __DECONST(char *, any ? s - 1 : nptr); in strtoq()
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_macros.h25 #ifndef __DECONST
26 # define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) macro
/f-stack/freebsd/sys/
H A Dseqc.h81 return (atomic_load_acq_int(__DECONST(seqc_t *, seqcp))); in seqc_read_any()
88 return (atomic_load_acq_int(__DECONST(seqc_t *, seqcp)) & ~1); in seqc_read_notmodify()
H A Darb.h105 (__DECONST(ARB_ELMTYPE(head), ARB_CNODE(head, idx)))
587 { return (__DECONST(struct type *, name##_ARB_CFIND(head, elm))); }
614 { return (__DECONST(struct type *, name##_ARB_CNFIND(head, elm))); }
644 { return (__DECONST(struct type *, name##_ARB_CNEXT(head, elm))); }
674 { return (__DECONST(struct type *, name##_ARB_CPREV(head, elm))); }
689 return (__DECONST(struct type *, parent)); \
695 { return (__DECONST(struct type *, name##_ARB_CMINMAX(head, val))); }
H A Dcdefs.h627 #ifndef __DECONST
628 #define __DECONST(type, var) ((type)(__uintptr_t)(const void *)(var)) macro
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_zmount.c108 build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, dir), in do_mount_()
110 build_iovec(&iov, &iovlen, "from", __DECONST(char *, spec), (size_t)-1); in do_mount_()
H A Dlibzfs_compat.c129 execve(_PATH_BSHELL, __DECONST(char **, memp), envp); in execvPe()
/f-stack/lib/
H A Dff_syscall_wrapper.c601 __DECONST(void *, optval), UIO_USERSPACE, optlen))) in ff_setsockopt()
618 __DECONST(void *, optval), UIO_USERSPACE, optlen))) in ff_setsockopt_freebsd()
727 auio.uio_iov = __DECONST(struct iovec *, iov); in ff_readv()
779 auio.uio_iov = __DECONST(struct iovec *, iov); in ff_writev()
821 aiov.iov_base = __DECONST(void *, buf); in ff_sendto()
844 __DECONST(struct msghdr *, msg)->msg_name = &freebsd_sa; in ff_sendmsg()
847 rc = sendit(curthread, s, __DECONST(struct msghdr *, msg), flags); in ff_sendmsg()
849 __DECONST(struct msghdr *, msg)->msg_name = linux_sa; in ff_sendmsg()
1112 rc = userland_sysctl(curthread, __DECONST(int *, name), namelen, oldp, oldlenp, in ff_sysctl()
1113 1, __DECONST(void *, newp), newlen, &retval, 0); in ff_sysctl()
/f-stack/freebsd/net/
H A Drss_config.c113 __DECONST(int *, &rss_maxbits), 0, "RSS maximum bits");
126 __DECONST(int *, &rss_maxcpus), 0, "RSS maximum CPUs that can be used");
141 __DECONST(int *, &rss_basecpu), 0, "RSS base CPU");
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c61 rc = kern_openat(td, AT_FDCWD, __DECONST(char *, path), in zfs_file_open()
300 rc = kern_unlinkat(curthread, AT_FDCWD, __DECONST(char *, fnamep), in zfs_file_unlink()
303 rc = kern_unlinkat(curthread, AT_FDCWD, __DECONST(char *, fnamep), in zfs_file_unlink()
/f-stack/freebsd/arm/ti/clk/
H A Dclock_common.c150 OF_prop_free(__DECONST(char *, def->name)); in free_clkdef()
H A Dti_clkctrl.c242 OF_prop_free(__DECONST(char *, org_name)); in ti_clkctrl_attach()
/f-stack/freebsd/mips/ingenic/
H A Djz4780_clock.c394 clkdef.name = __DECONST(char *, pll_clks[i].clk_name); in jz4780_clock_register()
410 clkdef.name = __DECONST(char *, otg_clks[i].clk_name); in jz4780_clock_register()
434 gatedef.clkdef.name = __DECONST(char *, gate_clks[i].clk_name); in jz4780_clock_register()
H A Djz4780_clk_gen.c302 clkdef.name = __DECONST(char *, descr->clk_name); in jz4780_clk_gen_register()
/f-stack/freebsd/kern/
H A Dsubr_firmware.c233 free(__DECONST(char *, fp->fw.name), M_FIRMWARE); in firmware_unregister()

123