/freebsd-src/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | atomic.h | 41 #define atomic_inc_32(v) atomic_inc((atomic_t *)(v)) argument 42 #define atomic_dec_32(v) atomic_dec((atomic_t *)(v)) argument 43 #define atomic_add_32(v, i) atomic_add((i), (atomic_t *)(v)) argument 44 #define atomic_sub_32(v, i) atomic_sub((i), (atomic_t *)(v)) argument 45 #define atomic_inc_32_nv(v) atomic_inc_return((atomic_t *)(v)) argument 46 #define atomic_dec_32_nv(v) atomic_dec_return((atomic_t *)(v)) argument 47 #define atomic_add_32_nv(v, i) atomic_add_return((i), (atomic_t *)(v)) argument 48 #define atomic_sub_32_nv(v, i) atomic_sub_return((i), (atomic_t *)(v)) argument 49 #define atomic_cas_32(v, x, y) atomic_cmpxchg((atomic_t *)(v), x, y) argument 50 #define atomic_swap_32(v, x) atomic_xchg((atomic_t *)(v), x) argument [all …]
|
/freebsd-src/sys/compat/linuxkpi/common/include/asm/ |
H A D | atomic64.h | 42 #define atomic64_add(i, v) atomic64_add_return((i), (v)) argument 43 #define atomic64_sub(i, v) atomic64_sub_return((i), (v)) argument 44 #define atomic64_inc_return(v) atomic64_add_return(1, (v)) argument 45 #define atomic64_add_negative(i, v) (atomic64_add_return((i), (v)) < 0) argument 46 #define atomic64_add_and_test(i, v) (atomic64_add_return((i), (v)) == 0) argument 47 #define atomic64_sub_and_test(i, v) (atomic64_sub_return((i), (v)) == 0) argument 48 #define atomic64_dec_and_test(v) (atomic64_sub_return(1, (v)) == 0) argument 49 #define atomic64_inc_and_test(v) (atomic64_add_return(1, (v)) == 0) argument 50 #define atomic64_dec_return(v) atomic64_sub_return(1, (v)) argument 51 #define atomic64_inc_not_zero(v) atomic64_add_unless((v), 1, 0) argument [all …]
|
H A D | atomic-long.h | 41 #define atomic_long_add(i, v) atomic_long_add_return((i), (v)) argument 42 #define atomic_long_sub(i, v) atomic_long_sub_return((i), (v)) argument 43 #define atomic_long_inc_return(v) atomic_long_add_return(1, (v)) argument 44 #define atomic_long_inc_not_zero(v) atomic_long_add_unless((v), 1, 0) argument 47 atomic_long_add_return(long i, atomic_long_t *v) in atomic_long_add_return() 53 atomic_long_sub_return(long i, atomic_long_t *v) in atomic_long_sub_return() 59 atomic_long_set(atomic_long_t *v, long i) in atomic_long_set() 65 atomic_long_read(atomic_long_t *v) in atomic_long_read() 71 atomic_long_inc(atomic_long_t *v) in atomic_long_inc() 77 atomic_long_dec(atomic_long_t *v) in atomic_long_dec() [all …]
|
H A D | atomic.h | 46 #define atomic_add(i, v) atomic_add_return((i), (v)) argument 47 #define atomic_sub(i, v) atomic_sub_return((i), (v)) argument 48 #define atomic_inc_return(v) atomic_add_return(1, (v)) argument 49 #define atomic_add_negative(i, v) (atomic_add_return((i), (v)) < 0) argument 50 #define atomic_add_and_test(i, v) (atomic_add_return((i), (v)) == 0) argument 51 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0) argument 52 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) argument 53 #define atomic_inc_and_test(v) (atomic_add_return(1, (v)) == 0) argument 54 #define atomic_dec_return(v) atomic_sub_return(1, (v)) argument 55 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0) argument [all …]
|
/freebsd-src/contrib/llvm-project/clang/lib/Headers/ |
H A D | hexagon_types.h | 72 #define HEXAGON_V64_GET_D(v) (v) argument 73 #define HEXAGON_V64_GET_UD(v) ((unsigned long long)(v)) argument 77 #define HEXAGON_V64_GET_W0(v) \ argument 86 #define HEXAGON_V64_GET_W1(v) \ argument 95 #define HEXAGON_V64_GET_UW0(v) \ argument 104 #define HEXAGON_V64_GET_UW1(v) \ argument 116 #define HEXAGON_V64_GET_H0(v) \ argument 125 #define HEXAGON_V64_GET_H1(v) \ argument 134 #define HEXAGON_V64_GET_H2(v) \ argument 143 #define HEXAGON_V64_GET_H3(v) \ argument [all …]
|
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Scalar.h | 36 static llvm::APSInt MakeAPSInt(T v) { in MakeAPSInt() argument 53 Scalar(int v) : m_type(e_int), m_integer(MakeAPSInt(v)), m_float(0.0f) {} in Scalar() argument 54 Scalar(unsigned int v) in Scalar() argument 56 Scalar(long v) : m_type(e_int), m_integer(MakeAPSInt(v)), m_float(0.0f) {} in Scalar() argument 57 Scalar(unsigned long v) in Scalar() argument 59 Scalar(long long v) Scalar() argument 61 Scalar(unsigned long long v) Scalar() argument 63 Scalar(float v) Scalar() argument 64 Scalar(double v) Scalar() argument 65 Scalar(long double v) Scalar() argument 70 Scalar(llvm::APInt v) Scalar() argument 72 Scalar(llvm::APSInt v) Scalar() argument [all...] |
/freebsd-src/contrib/bc/src/ |
H A D | vector.c | 46 bc_vec_grow(BcVec* restrict v, size_t n) in bc_vec_grow() argument 76 bc_vec_init(BcVec* restrict v, size_ argument 91 bc_vec_expand(BcVec * restrict v,size_t req) bc_vec_expand() argument 112 bc_vec_npop(BcVec * restrict v,size_t n) bc_vec_npop() argument 140 bc_vec_npopAt(BcVec * restrict v,size_t n,size_t idx) bc_vec_npopAt() argument 177 bc_vec_npush(BcVec * restrict v,size_t n,const void * data) bc_vec_npush() argument 202 bc_vec_push(BcVec * restrict v,const void * data) bc_vec_push() argument 208 bc_vec_pushEmpty(BcVec * restrict v) bc_vec_pushEmpty() argument 231 bc_vec_pushByte(BcVec * restrict v,uchar data) bc_vec_pushByte() argument 238 bc_vec_pushIndex(BcVec * restrict v,size_t idx) bc_vec_pushIndex() argument 260 bc_vec_pushAt(BcVec * restrict v,const void * data,size_t idx) bc_vec_pushAt() argument 288 bc_vec_string(BcVec * restrict v,size_t len,const char * restrict str) bc_vec_string() argument 313 bc_vec_concat(BcVec * restrict v,const char * restrict str) bc_vec_concat() argument 335 bc_vec_empty(BcVec * restrict v) bc_vec_empty() argument 354 bc_vec_replaceAt(BcVec * restrict v,size_t idx,const void * data) bc_vec_replaceAt() argument 372 bc_vec_item(const BcVec * restrict v,size_t idx) bc_vec_item() argument 379 bc_vec_item_rev(const BcVec * restrict v,size_t idx) bc_vec_item_rev() argument 386 bc_vec_clear(BcVec * restrict v) bc_vec_clear() argument 397 BcVec* v = (BcVec*) vec; bc_vec_free() local 415 bc_map_find(const BcVec * restrict v,const char * name) bc_map_find() argument 434 bc_map_insert(BcVec * restrict v,const char * name,size_t idx,size_t * restrict i) bc_map_insert() argument 461 bc_map_index(const BcVec * restrict v,const char * name) bc_map_index() argument 481 bc_map_name(const BcVec * restrict v,size_t idx) bc_map_name() argument 547 bc_slabvec_init(BcVec * v) bc_slabvec_init() argument 561 bc_slabvec_strdup(BcVec * v,const char * str) bc_slabvec_strdup() argument 608 bc_slabvec_clear(BcVec * v) bc_slabvec_clear() argument 644 bc_slabvec_print(BcVec * v,const char * func) bc_slabvec_print() argument [all...] |
/freebsd-src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interface_atomic.cpp | 59 template<typename T> T func_xchg(volatile T *v, T op) { in func_xchg() 66 template<typename T> T func_add(volatile T *v, T op) { in func_add() 70 template<typename T> T func_sub(volatile T *v, T op) { in func_sub() 74 template<typename T> T func_and(volatile T *v, T op) { in func_and() 78 template<typename T> T func_or(volatile T *v, T op) { in func_or() 82 template<typename T> T func_xor(volatile T *v, T op) { in func_xor() 86 template<typename T> T func_nand(volatile T *v, T op) { in func_nand() 98 template<typename T> T func_cas(volatile T *v, T cmp, T xch) { in func_cas() 108 a128 func_xchg(volatile a128 *v, a128 op) { in func_xchg() 115 a128 func_add(volatile a128 *v, a128 op) { in func_add() [all …]
|
/freebsd-src/contrib/libucl/klib/ |
H A D | kvec.h | 58 #define kv_init(v) ((v).n = (v).m = 0, (v).a = 0) argument 59 #define kv_destroy(v) free((v).a) argument 60 #define kv_A(v, i) ((v).a[(i)]) argument 61 #define kv_pop(v) ((v).a[--(v).n]) argument 62 #define kv_size(v) ((v).n) argument 63 #define kv_max(v) ((v).m) argument 65 #define kv_resize_safe(type, v, s, el) do { \ argument 76 #define kv_grow_safe(type, v, el) do { \ argument 93 #define kv_push_safe(type, v, x, el) do { \ argument 100 #define kv_prepend_safe(type, v, x, el) do { \ argument [all …]
|
/freebsd-src/sys/sys/ |
H A D | atomic_common.h | 40 #define __atomic_store_bool_relaxed(p, v) \ argument 52 #define __atomic_store_char_relaxed(p, v) \ argument 54 #define __atomic_store_short_relaxed(p, v) \ argument 56 #define __atomic_store_int_relaxed(p, v) \ argument 58 #define __atomic_store_long_relaxed(p, v) \ argument 60 __atomic_store_8_relaxed(p,v) global() argument 62 __atomic_store_16_relaxed(p,v) global() argument 64 __atomic_store_32_relaxed(p,v) global() argument 66 __atomic_store_64_relaxed(p,v) global() argument 76 atomic_store_bool(p,v) global() argument 83 __atomic_store_generic(p,v,t,ut,n) global() argument 90 atomic_store_bool(p,v) global() argument 94 __atomic_store_generic(p,v,t,ut,n) global() argument 108 atomic_store_char(p,v) global() argument 110 atomic_store_short(p,v) global() argument 112 atomic_store_int(p,v) global() argument 114 atomic_store_long(p,v) global() argument 116 atomic_store_8(p,v) global() argument 118 atomic_store_16(p,v) global() argument 120 atomic_store_32(p,v) global() argument 123 atomic_store_64(p,v) global() argument 128 atomic_store_ptr(p,v) global() argument [all...] |
/freebsd-src/sbin/zfsbootcfg/ |
H A D | zfsbootcfg.c | 63 uint64_t v; in add_pair() local 71 int64_t v; in add_pair() local 79 uint32_t v; in add_pair() local 87 int32_t v; in add_pair() local 95 uint16_t v; in add_pair() local 103 int16_t v; in add_pair() local 111 uint8_t v; in add_pair() local 119 int8_t v; in add_pair() local 127 uint8_t v; in add_pair() local 135 int32_t v; in add_pair() local
|
/freebsd-src/contrib/unbound/services/ |
H A D | view.c | 59 struct views* v = (struct views*)calloc(1, in views_create() local 75 view_delete(struct view* v) in view_delete() 89 struct view* v = (struct view*)n; in delviewnode() local 94 views_delete(struct views* v) in views_delete() 107 struct view* v = (struct view*)calloc(1, sizeof(*v)); in view_create() local 124 struct view* v = view_create(name); in views_enter_view_name() local 148 struct view* v; in views_apply_cfg() local 227 struct view* v; in views_find_view() local 245 void views_print(struct views* v) in views_print()
|
/freebsd-src/sys/compat/linuxkpi/common/include/linux/ |
H A D | io.h | 83 __raw_writeb(uint8_t v, volatile void *addr) in __raw_writeb() 87 #define __raw_writeb(v, addr) __raw_writeb(v, addr) argument 97 __raw_writew(uint16_t v, volatile void *addr) in __raw_writew() 101 #define __raw_writew(v, addr) __raw_writew(v, addr) argument 111 __raw_writel(uint32_t v, volatile void *addr) in __raw_writel() 115 #define __raw_writel(v, addr) __raw_writel(v, addr) argument 126 __raw_writeq(uint64_t v, volatile void *addr) in __raw_writeq() 130 #define __raw_writeq(v, addr) __raw_writeq(v, addr) argument 141 uint8_t v; in readb() local 152 writeb(uint8_t v, volatile void *addr) in writeb() [all …]
|
/freebsd-src/sys/contrib/openzfs/lib/libspl/include/ |
H A D | atomic.h | 268 #define atomic_store_char(p, v) \ argument 270 #define atomic_store_short(p, v) \ argument 272 #define atomic_store_int(p, v) \ argument 274 #define atomic_store_long(p, v) \ argument 276 #define atomic_store_ptr(p, v) \ argument 278 #define atomic_store_8(p, v) \ argument 280 #define atomic_store_16(p, v) \ argument 282 #define atomic_store_32(p, v) \ argument 285 #define atomic_store_64(p, v) \ argument
|
/freebsd-src/tests/sys/kern/acct/ |
H A D | acct_test.c | 56 check_result(const char *name, float expected, union cf v) in check_result() 78 union cf v; in ATF_TC_BODY() local 94 union cf v; in ATF_TC_BODY() local 109 union cf v; in ATF_TC_BODY() local 126 union cf v; in ATF_TC_BODY() local 143 union cf v; in ATF_TC_BODY() local 162 union cf v; in ATF_TC_BODY() local 182 union cf v; in ATF_TC_BODY() local 200 union cf v; in ATF_TC_BODY() local
|
/freebsd-src/contrib/elftoolchain/libelftc/ |
H A D | libelftc_vstr.c | 49 get_strlen_sum(const struct vector_str *v) in get_strlen_sum() 68 vector_str_dest(struct vector_str *v) in vector_str_dest() 89 vector_str_find(const struct vector_str *v, const char *o, size_t l) in vector_str_find() 112 vector_str_get_flat(const struct vector_str *v, size_t *l) in vector_str_get_flat() 145 vector_str_grow(struct vector_str *v) in vector_str_grow() 178 vector_str_init(struct vector_str *v) in vector_str_init() 202 vector_str_pop(struct vector_str *v) in vector_str_pop() 224 vector_str_push(struct vector_str *v, const char *str, size_t len) in vector_str_push() 331 vector_str_substr(const struct vector_str *v, size_t begin, size_t end, in vector_str_substr()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Support/ |
H A D | regexec.c | 60 #define CLEAR(v) ((v) = 0) argument 61 #define SET0(v, n) ((v) &= ~((unsigned long)1 << (n))) argument 62 #define SET1(v, n) ((v) |= (unsigned long)1 << (n)) argument 63 #define ISSET(v, n) (((v) & ((unsigned long)1 << (n))) != 0) argument 69 #define SETUP(v) ((v) = 0) argument 73 #define ISSTATEIN(v, o) (((v) & (o)) != 0) argument 78 #define ISSETBACK(v, n) (((v) & ((unsigned long)here >> (n))) != 0) argument 107 #define CLEAR(v) memset(v, 0, m->g->nstates) argument 108 #define SET0(v, n) ((v)[n] = 0) argument 109 #define SET1(v, n) ((v)[n] = 1) argument [all …]
|
/freebsd-src/contrib/nvi/regex/ |
H A D | regexec.c | 63 #define CLEAR(v) ((v) = 0) argument 64 #define SET0(v, n) ((v) &= ~(1 << (n))) argument 65 #define SET1(v, n) ((v) |= 1 << (n)) argument 66 #define ISSET(v, n) ((v) & (1 << (n))) argument 72 #define SETUP(v) ((v) = 0) argument 76 #define ISSTATEIN(v, o) ((v) & (o)) argument 81 #define ISSETBACK(v, n) ((v) & ((unsigned)here >> (n))) argument 110 #define CLEAR(v) memset(v, 0, m->g->nstates) argument 111 #define SET0(v, n) ((v)[n] = 0) argument 112 #define SET1(v, n) ((v)[n] = 1) argument [all …]
|
/freebsd-src/sys/arm/freescale/imx/ |
H A D | imx6_ipu.c | 92 #define TEMPLATE_SYNC(v) ((v) << 0) argument 93 #define TEMPLATE_GLUELOGIC(v) ((v) << 4) argument 94 #define TEMPLATE_MAPPING(v) ((v) << 15) argument 95 #define TEMPLATE_WAVEFORM(v) ((v) << 11) argument 99 #define TEMPLATE_OPCODE(v) ((v) << 4) argument 137 #define DI_RUN_VALUE_M1(v) ((v) << 19) argument 138 #define DI_RUN_RESOLUTION(v) ((v) << 16) argument 139 #define DI_OFFSET_VALUE(v) ((v) << 3) argument 141 #define DI_CNT_POLARITY_GEN_EN(v) ((v) << 29) argument 143 #define DI_CNT_CLR_SEL(v) ((v) << 25) argument [all …]
|
/freebsd-src/contrib/elftoolchain/libpe/ |
H A D | libpe_coff.c | 98 #define READ_OPT8(v) do { READ_OPT(1); (v) = *tmp; } while(0) in libpe_parse_coff_header() argument 99 #define READ_OPT16(v) do { READ_OPT(2); (v) = le16dec(tmp); } while(0) in libpe_parse_coff_header() argument 100 #define READ_OPT32(v) do { READ_OPT(4); (v) = le32dec(tmp); } while(0) in libpe_parse_coff_header() argument 101 #define READ_OPT64(v) do { READ_OPT(8); (v) = le64dec(tmp); } while(0) in libpe_parse_coff_header() argument 443 #define WRITE_OPT8(v) do { *tmp = (v); WRITE_OPT(1); } while(0) in libpe_write_coff_header() argument 444 #define WRITE_OPT16(v) do { le16enc(tmp, (v)); WRITE_OPT(2); } while(0) in libpe_write_coff_header() argument 445 #define WRITE_OPT32(v) do { le32enc(tmp, (v)); WRITE_OPT(4); } while(0) in libpe_write_coff_header() argument 446 #define WRITE_OPT64(v) do { le64enc(tmp, (v)); WRITE_OPT(8); } while(0) in libpe_write_coff_header() argument
|
/freebsd-src/contrib/kyua/utils/format/ |
H A D | containers_test.cpp | 78 std::map< char, int > v; in ATF_TEST_CASE_BODY() local 85 std::map< int, std::string > v; in ATF_TEST_CASE_BODY() local 131 std::set< char > v; in ATF_TEST_CASE_BODY() local 138 std::set< int > v; in ATF_TEST_CASE_BODY() local 159 std::vector< char > v; in ATF_TEST_CASE_BODY() local 166 std::vector< int > v; in ATF_TEST_CASE_BODY() local
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | ExtractRanges.h | 17 #define HEX8(v) llvm::format_hex(v, 4) argument 18 #define HEX16(v) llvm::format_hex(v, 6) argument 19 #define HEX32(v) llvm::format_hex(v, 10) argument 20 #define HEX64(v) llvm::format_hex(v, 18) argument
|
/freebsd-src/crypto/openssh/ |
H A D | sshbuf-getput-crypto.c | 38 BIGNUM *v; in sshbuf_get_bignum2() local 60 get_ec(const u_char *d, size_t len, EC_POINT *v, const EC_GROUP *g) in get_ec() 74 sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g) in sshbuf_get_ec() 95 sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v) in sshbuf_get_eckey() 131 sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) in sshbuf_put_bignum2() 154 sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g) in sshbuf_put_ec() 174 sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v) in sshbuf_put_eckey()
|
/freebsd-src/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart_tty.c |
|
/freebsd-src/usr.bin/mail/ |
H A D | cmd2.c | 50 next(void *v) in next() 128 save(void *v) in save() 139 copycmd(void *v) in copycmd() 208 swrite(void *v) in swrite() 261 deletecmd(void *v) in deletecmd() 273 deltype(void *v) in deltype() 336 undeletecmd(void *v) in undeletecmd() 415 retfield(void *v) in retfield() 427 igfield(void *v) in igfield() 435 saveretfield(void *v) in saveretfield() [all …]
|