Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/cmd/zed/
H A Dzed_log.c34 } _ctx; variable
44 _ctx.identity = (p != NULL) ? p + 1 : identity; in zed_log_init()
46 _ctx.identity = NULL; in zed_log_init()
48 _ctx.pipe_fd[0] = -1; in zed_log_init()
49 _ctx.pipe_fd[1] = -1; in zed_log_init()
69 if ((_ctx.pipe_fd[0] != -1) || (_ctx.pipe_fd[1] != -1)) in zed_log_pipe_open()
73 if (pipe(_ctx.pipe_fd) < 0) in zed_log_pipe_open()
87 if (_ctx.pipe_fd[0] < 0) in zed_log_pipe_close_reads()
92 if (close(_ctx.pipe_fd[0]) < 0) in zed_log_pipe_close_reads()
97 _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 __unused, u_long command, caddr_t data __unused)
[all …]
/freebsd/sys/tests/
H A Dktest.h76 #define KTEST_LOG_LEVEL(_ctx, _l, _fmt, ...) { \ argument
77 if (ktest_start_msg(_ctx)) { \
78 ktest_add_msg_meta(_ctx, __func__, __FILE__, __LINE__); \
79 ktest_add_msg_text(_ctx, _l, _fmt, ## __VA_ARGS__); \
80 ktest_end_msg(_ctx); \
84 #define KTEST_LOG(_ctx, _fmt, ...) \ argument
85 KTEST_LOG_LEVEL(_ctx, LOG_DEBUG, _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/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
807 mov $ctx,$_ctx # save ctx, 1st arg
1084 mov $_ctx,$ctx
1169 mov $ctx,$_ctx # save ctx, 1st arg
1474 mov $_ctx,$ctx
1563 mov $ctx,$_ctx # save ctx, 1st arg
1800 mov $_ctx,$ctx
1933 mov $ctx,$_ctx # save ctx, 1st arg
[all …]
/freebsd/sys/crypto/openssl/amd64/
H A Dossl_aes_gcm.c676 int ossl_aes_gcm_setkey_aesni(const unsigned char *key, int klen, void *_ctx);
680 void *_ctx) in ossl_aes_gcm_setkey_aesni() argument
684 ctx = _ctx; in ossl_aes_gcm_setkey_aesni()
690 int ossl_aes_gcm_setkey_avx512(const unsigned char *key, int klen, void *_ctx);
694 void *_ctx) in ossl_aes_gcm_setkey_avx512() argument
698 ctx = _ctx; in ossl_aes_gcm_setkey_avx512()
/freebsd/crypto/openssl/crypto/aes/asm/
H A Daesni-sha256-x86_64.pl115 $_ctx="16*$SZ+5*8(%rsp)";
379 mov $ctx,$_ctx
587 mov $_ctx,%r15 # borrow $a2
695 mov $ctx,$_ctx
857 mov $_ctx,%r15 # borrow $a2
1010 mov $ctx,$_ctx
1178 mov `2*$SZ*$rounds+5*8`(%rsp),%r15 # $_ctx, borrow $a2
1235 mov `2*$SZ*$rounds+5*8`(%rsp),%r15 # $_ctx, borrow $a2
/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/sys/crypto/openssl/arm/
H A Dossl_aes_gcm.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/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/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/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.c2088 hostkeys_find(struct hostkey_foreach_line *l, void *_ctx) in hostkeys_find() argument
2090 struct hostkeys_update_ctx *ctx = (struct hostkeys_update_ctx *)_ctx; in hostkeys_find()
2170 hostkeys_check_old(struct hostkey_foreach_line *l, void *_ctx) in hostkeys_check_old() argument
2172 struct hostkeys_update_ctx *ctx = (struct hostkeys_update_ctx *)_ctx; in hostkeys_check_old()
2330 u_int32_t seq, void *_ctx) in client_global_hostkeys_prove_confirm() argument
2332 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.c447 struct ifconfig_context _ctx = { in list_interfaces_nl() local
452 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/netinet/
H A Din_pcb.h673 #define INP_ITERATOR(_ipi, _lock, _match, _ctx) \ argument
679 .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)
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_sysfs.c162 static int create_sysfs_entry(void *_ctx, struct mlx4_ib_iov_sysfs_attr *_dentry, in create_sysfs_entry() argument
175 vdentry->ctx = _ctx; in create_sysfs_entry()

12