Home
last modified time | relevance | path

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

12

/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/
HDzed_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-13-stable/contrib/libcbor/src/cbor/
HDcallbacks.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-13-stable/sys/net/
HDifdi_if.m50 null_void_op(if_ctx_t _ctx __unused)
55 null_knlist_add(if_ctx_t _ctx __unused, struct knote *_kn)
61 null_knote_event(if_ctx_t _ctx __unused, struct knote *_kn, int _hint)
67 null_timer_op(if_ctx_t _ctx __unused, uint16_t _qsidx __unused)
72 null_int_op(if_ctx_t _ctx __unused)
78 null_int_int_op(if_ctx_t _ctx __unused, int arg0 __unused)
84 null_queue_intr_enable(if_ctx_t _ctx __unused, uint16_t _qid __unused)
90 null_led_func(if_ctx_t _ctx __unused, int _onoff __unused)
95 null_vlan_register_op(if_ctx_t _ctx __unused, uint16_t vtag __unused)
100 null_q_setup(if_ctx_t _ctx __unused, uint32_t _qid __unused)
[all …]
/freebsd-13-stable/sys/netipsec/
HDipsec.h253 #define IPSEC_INIT_CTX(_ctx, _mp, _inp, _sav, _af, _enc) do { \ argument
254 (_ctx)->mp = (_mp); \
255 (_ctx)->inp = (_inp); \
256 (_ctx)->sav = (_sav); \
257 (_ctx)->af = (_af); \
258 (_ctx)->enc = (_enc); \
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/
HDasan_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()
HDasan_interceptors.h160 AsanInterceptorContext _ctx = {#func}; \
161 ctx = (void *)&_ctx; \
/freebsd-13-stable/sys/dev/iavf/
HDiavf_iflib.h121 #define iavf_sc_from_ctx(_ctx) \ argument
122 ((struct iavf_sc *)iflib_get_softc(_ctx))
125 #define IFLIB_CTX_ASSERT(_ctx) \ argument
126 sx_assert(iflib_ctx_lock_get(_ctx), SA_XLOCKED)
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
HDtsan_interceptors.h128 TsanInterceptorContext _ctx = {thr, pc}; \
129 ctx = (void *)&_ctx; \
HDtsan_interceptors_posix.cpp2446 TsanInterceptorContext _ctx = {thr, pc}; \
2447 ctx = (void *)&_ctx; \
/freebsd-13-stable/crypto/openssl/crypto/sha/asm/
HDsha512-x86_64.pl178 $_ctx="16*$SZ+0*8(%rsp)";
325 mov $ctx,$_ctx # save ctx, 1st arg
370 mov $_ctx,$ctx
805 mov $ctx,$_ctx # save ctx, 1st arg
1082 mov $_ctx,$ctx
1167 mov $ctx,$_ctx # save ctx, 1st arg
1472 mov $_ctx,$ctx
1561 mov $ctx,$_ctx # save ctx, 1st arg
1798 mov $_ctx,$ctx
1931 mov $ctx,$_ctx # save ctx, 1st arg
[all …]
/freebsd-13-stable/crypto/openssl/crypto/aes/asm/
HDaesni-sha256-x86_64.pl113 $_ctx="16*$SZ+5*8(%rsp)";
377 mov $ctx,$_ctx
585 mov $_ctx,%r15 # borrow $a2
693 mov $ctx,$_ctx
855 mov $_ctx,%r15 # borrow $a2
1008 mov $ctx,$_ctx
1176 mov `2*$SZ*$rounds+5*8`(%rsp),%r15 # $_ctx, borrow $a2
1233 mov `2*$SZ*$rounds+5*8`(%rsp),%r15 # $_ctx, borrow $a2
/freebsd-13-stable/contrib/libcbor/examples/
HDstreaming_parser.c33 void find_string(void* UNUSED(_ctx), cbor_data buffer, uint64_t len) { in find_string() argument
/freebsd-13-stable/sys/dev/bhnd/tools/
HDnvram_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-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
HDClangASTImporter.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-13-stable/crypto/openssh/
HDhostfile.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()
HDclientloop.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()
HDsshconnect.c745 hostkeys_find_by_key_cb(struct hostkey_foreach_line *l, void *_ctx) in hostkeys_find_by_key_cb() argument
747 struct find_by_key_ctx *ctx = (struct find_by_key_ctx *)_ctx; in hostkeys_find_by_key_cb()
HDssh-keygen.c1223 known_hosts_hash(struct hostkey_foreach_line *l, void *_ctx) in known_hosts_hash() argument
1225 struct known_hosts_ctx *ctx = (struct known_hosts_ctx *)_ctx; in known_hosts_hash()
1275 known_hosts_find_delete(struct hostkey_foreach_line *l, void *_ctx) in known_hosts_find_delete() argument
1277 struct known_hosts_ctx *ctx = (struct known_hosts_ctx *)_ctx; in known_hosts_find_delete()
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
HDhwasan_interceptors.cpp99 HWAsanInterceptorContext _ctx = {#func}; \
100 ctx = (void *)&_ctx; \
/freebsd-13-stable/crypto/heimdal/lib/gssapi/ntlm/
HDcrypto.c258 #define CTX_FLAGS_ISSET(_ctx,_flags) \ argument
259 (((_ctx)->flags & (_flags)) == (_flags))
/freebsd-13-stable/crypto/openssh/regress/unittests/hostkeys/
HDtest_iterate.c52 check(struct hostkey_foreach_line *l, void *_ctx) in check() argument
54 struct cbctx *ctx = (struct cbctx *)_ctx; in check()
/freebsd-13-stable/contrib/libcbor/doc/source/
HDusing.rst143 void find_string(void * _ctx, cbor_data buffer, size_t len)
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/
HDmlx4_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()
/freebsd-13-stable/usr.sbin/bhyve/
HDgdb.c1833 init_gdb(struct vmctx *_ctx) in init_gdb() argument
1875 ctx = _ctx; in init_gdb()
/freebsd-13-stable/sys/dev/drm2/
HDdrmP.h1647 #define DRM_GET_PRIV_SAREA(_dev, _ctx, _map) do { \ argument
1648 (_map) = (_dev)->context_sareas[_ctx]; \

12