Home
last modified time | relevance | path

Searched refs:_ctx (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/sys/contrib/openzfs/cmd/zed/
H A Dzed_log.c35 } _ctx; variable
45 _ctx.identity = (p != NULL) ? p + 1 : identity; in zed_log_init()
47 _ctx.identity = NULL; in zed_log_init()
49 _ctx.pipe_fd[0] = -1; in zed_log_init()
50 _ctx.pipe_fd[1] = -1; in zed_log_init()
70 if ((_ctx.pipe_fd[0] != -1) || (_ctx.pipe_fd[1] != -1)) in zed_log_pipe_open()
74 if (pipe(_ctx.pipe_fd) < 0) in zed_log_pipe_open()
88 if (_ctx.pipe_fd[0] < 0) in zed_log_pipe_close_reads()
93 if (close(_ctx.pipe_fd[0]) < 0) in zed_log_pipe_close_reads()
98 _ctx.pipe_fd[0] = -1; in zed_log_pipe_close_reads()
[all …]
/freebsd/contrib/libcbor/src/cbor/
H A Dcallbacks.c10 void cbor_null_uint8_callback(void *_CBOR_UNUSED(_ctx), in cbor_null_uint8_callback() argument
13 void cbor_null_uint16_callback(void *_CBOR_UNUSED(_ctx), in cbor_null_uint16_callback() argument
16 void cbor_null_uint32_callback(void *_CBOR_UNUSED(_ctx), in cbor_null_uint32_callback() argument
19 void cbor_null_uint64_callback(void *_CBOR_UNUSED(_ctx), in cbor_null_uint64_callback() argument
22 void cbor_null_negint8_callback(void *_CBOR_UNUSED(_ctx), in cbor_null_negint8_callback() argument
25 void cbor_null_negint16_callback(void *_CBOR_UNUSED(_ctx), in cbor_null_negint16_callback() argument
28 void cbor_null_negint32_callback(void *_CBOR_UNUSED(_ctx), in cbor_null_negint32_callback() argument
31 void cbor_null_negint64_callback(void *_CBOR_UNUSED(_ctx), in cbor_null_negint64_callback() argument
34 void cbor_null_string_callback(void *_CBOR_UNUSED(_ctx), in cbor_null_string_callback() argument
38 void cbor_null_string_start_callback(void *_CBOR_UNUSED(_ctx)) {} in cbor_null_string_start_callback() argument
[all …]
/freebsd/sys/net/
H A Difdi_if.m48 null_void_op(if_ctx_t _ctx __unused)
53 null_timer_op(if_ctx_t _ctx __unused, uint16_t _qsidx __unused)
58 null_int_op(if_ctx_t _ctx __unused)
64 null_queue_intr_enable(if_ctx_t _ctx __unused, uint16_t _qid __unused)
70 null_led_func(if_ctx_t _ctx __unused, int _onoff __unused)
75 null_vlan_register_op(if_ctx_t _ctx __unused, uint16_t vtag __unused)
80 null_q_setup(if_ctx_t _ctx __unused, uint32_t _qid __unused)
98 null_iov_init(if_ctx_t _ctx __unused, uint16_t num_vfs __unused, const nvlist_t *params __unused)
104 null_vf_add(if_ctx_t _ctx __unused, uint16_t num_vfs __unused, const nvlist_t *params __unused)
110 null_priv_ioctl(if_ctx_t _ctx __unuse
[all...]
/freebsd/sys/tests/
H A Dktest.h80 #define KTEST_LOG_LEVEL(_ctx, _l, _fmt, ...) { \ argument
81 if (ktest_start_msg(_ctx)) { \
82 ktest_add_msg_meta(_ctx, __func__, __FILE__, __LINE__); \
83 ktest_add_msg_text(_ctx, _l, _fmt, ## __VA_ARGS__); \
84 ktest_end_msg(_ctx); \
88 #define KTEST_LOG(_ctx, _fmt, ...) \ argument
89 KTEST_LOG_LEVEL(_ctx, LOG_DEBUG, _fmt, ## __VA_ARGS__)
91 #define KTEST_ERR(_ctx, _fmt, ...) \ argument
92 KTEST_LOG_LEVEL(_ctx, LOG_ERR, _fmt, ## __VA_ARGS__)
/freebsd/sys/netipsec/
H A Dipsec.h269 #define IPSEC_INIT_CTX(_ctx, _mp, _inp, _sav, _af, _enc) do { \ argument
270 (_ctx)->mp = (_mp); \
271 (_ctx)->inp = (_inp); \
272 (_ctx)->sav = (_sav); \
273 (_ctx)->af = (_af); \
274 (_ctx)->enc = (_enc); \
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_interceptors_memintrinsics.h66 AsanInterceptorContext *_ctx = (AsanInterceptorContext *)ctx; \ in DECLARE_REAL()
68 if (_ctx) { \ in DECLARE_REAL()
69 suppressed = IsInterceptorSuppressed(_ctx->interceptor_name); \ in DECLARE_REAL()
/freebsd/sys/crypto/openssl/amd64/
H A Dossl_aes_gcm_avx512.c220 int ossl_aes_gcm_setkey_avx512(const unsigned char *key, int klen, void *_ctx);
224 void *_ctx) in ossl_aes_gcm_setkey_avx512() argument
228 ctx = _ctx; in ossl_aes_gcm_setkey_avx512()
/freebsd/crypto/openssl/crypto/poly1305/asm/
H A Dpoly1305-ppc.pl773 my ($ctx_,$_ctx,$const) = map("r$_",(10..12));
1332 addi $_ctx,$sp,`$LOCALS+15` # &ctx->r[1], r^2:r^4 shadow
1396 stvx $R1,$x00,$_ctx
1397 stvx $S1,$x10,$_ctx
1398 stvx $R2,$x20,$_ctx
1399 stvx $S2,$x30,$_ctx
1400 stvx $T1,$x40,$_ctx
1401 stvx $T2,$x50,$_ctx
1402 stvx $T3,$x60,$_ctx
1403 stvx $T4,$x70,$_ctx
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.h128 TsanInterceptorContext _ctx = {thr, pc}; \
129 ctx = (void *)&_ctx; \
/freebsd/sys/dev/iavf/
H A Diavf_iflib.h121 #define iavf_sc_from_ctx(_ctx) \ argument
122 ((struct iavf_sc *)iflib_get_softc(_ctx))
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dsha512-x86_64.pl180 $_ctx="16*$SZ+0*8(%rsp)";
327 mov $ctx,$_ctx # save ctx, 1st arg
372 mov $_ctx,$ctx
811 mov $ctx,$_ctx # save ctx, 1st arg
1088 mov $_ctx,$ctx
1173 mov $ctx,$_ctx # save ctx, 1st arg
1478 mov $_ctx,$ctx
1567 mov $ctx,$_ctx # save ctx, 1st arg
1804 mov $_ctx,$ctx
1937 mov $ctx,$_ctx # save ctx, 1st arg
[all …]
/freebsd/crypto/openssl/crypto/aes/asm/
H A Daesni-sha256-x86_64.pl115 $_ctx="16*$SZ+5*8(%rsp)";
381 mov $ctx,$_ctx
589 mov $_ctx,%r15 # borrow $a2
697 mov $ctx,$_ctx
859 mov $_ctx,%r15 # borrow $a2
1012 mov $ctx,$_ctx
1180 mov `2*$SZ*$rounds+5*8`(%rsp),%r15 # $_ctx, borrow $a2
1237 mov `2*$SZ*$rounds+5*8`(%rsp),%r15 # $_ctx, borrow $a2
/freebsd/contrib/libcbor/examples/
H A Dstreaming_parser.c33 void find_string(void* UNUSED(_ctx), cbor_data buffer, uint64_t len) { in find_string() argument
/freebsd/sys/dev/bhnd/tools/
H A Dnvram_map_gen.awk3663 function parser_state_find_context(class, _state, _ctx, _i) {
3670 _ctx = get(_state, p_ctx)
3673 if (obj_is_instanceof(_ctx, class))
3674 return (_ctx)
3716 function in_parser_context(class, _ctx) {
3720 _ctx = get(parser_state_get(), p_ctx)
3721 return (obj_is_instanceof(_ctx, class))
3778 function parse_variable_group(_ctx, _groups, _group, _group_name) {
3779 _ctx = parser_state_get_context(NVRAM)
3796 _groups = get(_ctx, p_var_groups)
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.h243 DeclOrigin(clang::ASTContext *_ctx, clang::Decl *_decl) in DeclOrigin()
244 : ctx(_ctx), decl(_decl) { in DeclOrigin()
246 assert(_decl == nullptr || &_decl->getASTContext() == _ctx); in DeclOrigin()
/freebsd/sys/crypto/openssl/arm/
H A Dossl_aes_gcm_neon.c348 int ossl_aes_gcm_setkey(const unsigned char *key, int klen, void *_ctx);
351 ossl_aes_gcm_setkey(const unsigned char *key, int klen, void *_ctx) in ossl_aes_gcm_setkey() argument
355 ctx = _ctx; in ossl_aes_gcm_setkey()
/freebsd/crypto/openssh/
H A Dhostfile.c231 record_hostkey(struct hostkey_foreach_line *l, void *_ctx) in record_hostkey() argument
233 struct load_callback_ctx *ctx = (struct load_callback_ctx *)_ctx; in record_hostkey()
551 host_delete(struct hostkey_foreach_line *l, void *_ctx) in host_delete() argument
553 struct host_delete_ctx *ctx = (struct host_delete_ctx *)_ctx; in host_delete()
H A Dclientloop.c2089 hostkeys_find(struct hostkey_foreach_line *l, void *_ctx) in hostkeys_find() argument
2091 struct hostkeys_update_ctx *ctx = (struct hostkeys_update_ctx *)_ctx; in hostkeys_find()
2171 hostkeys_check_old(struct hostkey_foreach_line *l, void *_ctx) in hostkeys_check_old() argument
2173 struct hostkeys_update_ctx *ctx = (struct hostkeys_update_ctx *)_ctx; in hostkeys_check_old()
2331 u_int32_t seq, void *_ctx) in client_global_hostkeys_prove_confirm() argument
2333 struct hostkeys_update_ctx *ctx = (struct hostkeys_update_ctx *)_ctx; in client_global_hostkeys_prove_confirm()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_interceptors.cpp99 HWAsanInterceptorContext _ctx = {#func}; \
100 ctx = (void *)&_ctx; \
/freebsd/sbin/ifconfig/
H A Difconfig_netlink.c451 struct ifconfig_context _ctx = { in list_interfaces_nl() local
456 struct ifconfig_context *ctx = &_ctx; in list_interfaces_nl()
/freebsd/crypto/heimdal/lib/gssapi/ntlm/
H A Dcrypto.c258 #define CTX_FLAGS_ISSET(_ctx,_flags) \ argument
259 (((_ctx)->flags & (_flags)) == (_flags))
/freebsd/sys/crypto/openssl/
H A Dossl_aes_gcm.c603 int ossl_aes_gcm_setkey(const unsigned char *key, int klen, void *_ctx);
607 void *_ctx) in ossl_aes_gcm_setkey() argument
611 ctx = _ctx; in ossl_aes_gcm_setkey()
/freebsd/sys/netinet/
H A Din_pcb.h719 #define INP_ITERATOR(_ipi, _lock, _match, _ctx) \ argument
725 .ctx = (_ctx), \
/freebsd/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c52 check(struct hostkey_foreach_line *l, void *_ctx) in check() argument
54 struct cbctx *ctx = (struct cbctx *)_ctx; in check()
/freebsd/contrib/libcbor/doc/source/
H A Dusing.rst143 void find_string(void * _ctx, cbor_data buffer, size_t len)

12