Home
last modified time | relevance | path

Searched refs:ctx (Results 7201 - 7225 of 13038) sorted by relevance

1...<<281282283284285286287288289290>>...522

/kernel/linux/linux-5.10/net/netfilter/
H A Dnft_fib.c28 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_validate() argument
60 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_fib_validate()
64 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_init() argument
108 err = nft_parse_register_store(ctx, tb[NFTA_FIB_DREG], &priv->dreg, in nft_fib_init()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dmap_iter.c46 struct bpf_iter__bpf_map ctx; in __bpf_map_seq_show() local
51 ctx.meta = &meta; in __bpf_map_seq_show()
52 ctx.map = v; in __bpf_map_seq_show()
56 ret = bpf_iter_run_prog(prog, &ctx); in __bpf_map_seq_show()
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_plane_helper.c154 struct drm_modeset_acquire_ctx *ctx) in drm_primary_helper_update()
194 return plane->funcs->disable_plane(plane, ctx); in drm_primary_helper_update()
216 ret = crtc->funcs->set_config(&set, ctx); in drm_primary_helper_update()
223 struct drm_modeset_acquire_ctx *ctx) in drm_primary_helper_disable()
148 drm_primary_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, struct drm_modeset_acquire_ctx *ctx) drm_primary_helper_update() argument
222 drm_primary_helper_disable(struct drm_plane *plane, struct drm_modeset_acquire_ctx *ctx) drm_primary_helper_disable() argument
/kernel/linux/linux-5.10/include/crypto/
H A Dif_alg.h115 /* req ctx trails this struct */
188 struct af_alg_ctx *ctx = ask->private; in af_alg_sndbuf() local
191 ctx->used, 0); in af_alg_sndbuf()
214 struct af_alg_ctx *ctx = ask->private; in af_alg_rcvbuf() local
217 atomic_read(&ctx->rcvused), 0); in af_alg_rcvbuf()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
H A Drk3288_vpu_hw.c155 static void rk3288_vpu_enc_reset(struct hantro_ctx *ctx) in rk3288_vpu_enc_reset() argument
157 struct hantro_dev *vpu = ctx->dev; in rk3288_vpu_enc_reset()
164 static void rk3288_vpu_dec_reset(struct hantro_ctx *ctx) in rk3288_vpu_dec_reset() argument
166 struct hantro_dev *vpu = ctx->dev; in rk3288_vpu_dec_reset()
H A Drk3399_vpu_hw.c134 static void rk3399_vpu_enc_reset(struct hantro_ctx *ctx) in rk3399_vpu_enc_reset() argument
136 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_enc_reset()
143 static void rk3399_vpu_dec_reset(struct hantro_ctx *ctx) in rk3399_vpu_dec_reset() argument
145 struct hantro_dev *vpu = ctx->dev; in rk3399_vpu_dec_reset()
/kernel/linux/linux-6.6/drivers/net/dsa/
H A Dlan9303_mdio.c30 static int lan9303_mdio_write(void *ctx, uint32_t reg, uint32_t val) in lan9303_mdio_write() argument
32 struct lan9303_mdio *sw_dev = (struct lan9303_mdio *)ctx; in lan9303_mdio_write()
48 static int lan9303_mdio_read(void *ctx, uint32_t reg, uint32_t *val) in lan9303_mdio_read() argument
50 struct lan9303_mdio *sw_dev = (struct lan9303_mdio *)ctx; in lan9303_mdio_read()
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/
H A Dksz8863_smi.c25 static int ksz8863_mdio_read(void *ctx, const void *reg_buf, size_t reg_len, in ksz8863_mdio_read() argument
28 struct ksz_device *dev = ctx; in ksz8863_mdio_read()
55 static int ksz8863_mdio_write(void *ctx, const void *data, size_t count) in ksz8863_mdio_write() argument
57 struct ksz_device *dev = ctx; in ksz8863_mdio_write()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_lib.h148 void ice_vsi_ctx_set_antispoof(struct ice_vsi_ctx *ctx);
150 void ice_vsi_ctx_clear_antispoof(struct ice_vsi_ctx *ctx);
152 void ice_vsi_ctx_set_allow_override(struct ice_vsi_ctx *ctx);
154 void ice_vsi_ctx_clear_allow_override(struct ice_vsi_ctx *ctx);
/kernel/linux/linux-6.6/include/kunit/
H A Dresource.h397 * @ctx: Data passed into @func
400 * due to a failure. @ctx is passed as additional context. All functions
413 int kunit_add_action(struct kunit *test, kunit_action_t *action, void *ctx);
419 * @ctx: Data passed into @func
422 * due to a failure. @ctx is passed as additional context. All functions
431 * then action(ctx) will be called immediately, and an error will be returned.
439 void *ctx);
445 * @ctx: The context passed to the deferred function to trigger.
457 void *ctx);
463 * @ctx
[all...]
/kernel/linux/linux-6.6/include/crypto/
H A Dif_alg.h113 /* req ctx trails this struct */
185 struct af_alg_ctx *ctx = ask->private; in af_alg_sndbuf() local
188 ctx->used, 0); in af_alg_sndbuf()
211 struct af_alg_ctx *ctx = ask->private; in af_alg_rcvbuf() local
214 atomic_read(&ctx->rcvused), 0); in af_alg_rcvbuf()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_hubp.c36 hubp2->base.ctx
209 struct dc_context *ctx, in hubp32_construct()
216 hubp2->base.ctx = ctx; in hubp32_construct()
207 hubp32_construct( struct dcn20_hubp *hubp2, struct dc_context *ctx, uint32_t inst, const struct dcn_hubp2_registers *hubp_regs, const struct dcn_hubp2_shift *hubp_shift, const struct dcn_hubp2_mask *hubp_mask) hubp32_construct() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn301/
H A Ddcn301_panel_cntl.c36 dcn301_panel_cntl->base.ctx
39 dcn301_panel_cntl->base.ctx->logger
216 dcn301_panel_cntl->base.ctx = init_data->ctx; in dcn301_panel_cntl_construct()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_plane_helper.c154 * @ctx: modeset locking context
170 struct drm_modeset_acquire_ctx *ctx) in drm_plane_helper_update_primary()
214 return plane->funcs->disable_plane(plane, ctx); in drm_plane_helper_update_primary()
236 ret = crtc->funcs->set_config(&set, ctx); in drm_plane_helper_update_primary()
246 * @ctx: modeset locking context
258 struct drm_modeset_acquire_ctx *ctx) in drm_plane_helper_disable_primary()
164 drm_plane_helper_update_primary(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, struct drm_modeset_acquire_ctx *ctx) drm_plane_helper_update_primary() argument
257 drm_plane_helper_disable_primary(struct drm_plane *plane, struct drm_modeset_acquire_ctx *ctx) drm_plane_helper_disable_primary() argument
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dnct6775-i2c.c28 static int nct6775_i2c_read(void *ctx, unsigned int reg, unsigned int *val) in nct6775_i2c_read() argument
33 struct nct6775_data *data = ctx; in nct6775_i2c_read()
63 static int nct6775_i2c_write(void *ctx, unsigned int reg, unsigned int value) in nct6775_i2c_write() argument
65 struct nct6775_data *data = ctx; in nct6775_i2c_write()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_fib.c29 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_validate() argument
65 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_fib_validate()
69 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_init() argument
113 err = nft_parse_register_store(ctx, tb[NFTA_FIB_DREG], &priv->dreg, in nft_fib_init()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_core_autosize.c87 int handle_samesize(void *ctx) in handle_samesize() argument
108 int handle_downsize(void *ctx) in handle_downsize() argument
139 int handle_probed(void *ctx) in handle_probed() argument
168 int handle_signed(void *ctx) in handle_signed() argument
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_native_layer_mathunary.c55 int32_t output_operand_index, const void *parameters, NativeContext *ctx) in ff_dnn_execute_layer_math_unary()
70 av_log(ctx, AV_LOG_ERROR, "The output data length overflow\n"); in ff_dnn_execute_layer_math_unary()
75 av_log(ctx, AV_LOG_ERROR, "Failed to reallocate memory for output\n"); in ff_dnn_execute_layer_math_unary()
153 av_log(ctx, AV_LOG_ERROR, "Unmatch math unary operator\n"); in ff_dnn_execute_layer_math_unary()
54 ff_dnn_execute_layer_math_unary(DnnOperand *operands, const int32_t *input_operand_indexes, int32_t output_operand_index, const void *parameters, NativeContext *ctx) ff_dnn_execute_layer_math_unary() argument
/third_party/libwebsockets/lib/plat/optee/
H A Dnetwork.c273 lws_plat_mbedtls_net_send(void *ctx, const uint8_t *buf, size_t len) in lws_plat_mbedtls_net_send() argument
275 int fd = ((mbedtls_net_context *) ctx)->fd; in lws_plat_mbedtls_net_send()
298 lws_plat_mbedtls_net_recv(void *ctx, unsigned char *buf, size_t len) in lws_plat_mbedtls_net_recv() argument
300 int fd = ((mbedtls_net_context *) ctx)->fd; in lws_plat_mbedtls_net_recv()
/third_party/libcoap/examples/lwip/
H A Dserver-coap.c73 init_coap_resources(coap_context_t *ctx) { in init_coap_resources() argument
81 coap_add_resource(ctx, r); in init_coap_resources()
102 coap_add_resource(ctx, r); in init_coap_resources()
109 coap_add_resource(ctx, r); in init_coap_resources()
/third_party/libwebsockets/plugins/ssh-base/crypto/
H A Ded25519.c18 struct lws_genhash_ctx ctx; in crypto_hash_sha512() local
21 if (lws_genhash_init(&ctx, LWS_GENHASH_TYPE_SHA512)) { in crypto_hash_sha512()
26 ret = lws_genhash_update(&ctx, data, len); in crypto_hash_sha512()
28 if (lws_genhash_destroy(&ctx, hash64)) in crypto_hash_sha512()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_disk_cache.c59 struct mesa_sha1 ctx; in etna_disk_cache_init_shader_key() local
61 _mesa_sha1_init(&ctx); in etna_disk_cache_init_shader_key()
72 _mesa_sha1_update(&ctx, blob.data, blob.size); in etna_disk_cache_init_shader_key()
75 _mesa_sha1_final(&ctx, shader->cache_key); in etna_disk_cache_init_shader_key()
/third_party/node/deps/openssl/openssl/crypto/dsa/
H A Ddsa_backend.c135 BN_CTX *ctx = NULL; in ossl_dsa_key_from_pkcs8() local
164 if ((ctx = BN_CTX_new()) == NULL) { in ossl_dsa_key_from_pkcs8()
172 if (!BN_mod_exp(dsa_pubkey, dsa_g, dsa_privkey, dsa_p, ctx)) { in ossl_dsa_key_from_pkcs8()
191 BN_CTX_free(ctx); in ossl_dsa_key_from_pkcs8()
/third_party/libcoap/include/coap3/
H A Dcoap_session.h240 * @param ctx The CoAP context.
248 coap_context_t *ctx,
259 * @param ctx The CoAP context.
270 coap_context_t *ctx,
281 * @param ctx The CoAP context.
295 coap_context_t *ctx,
333 * @param ctx The CoAP context.
347 coap_context_t *ctx,
/third_party/openssl/crypto/dsa/
H A Ddsa_backend.c135 BN_CTX *ctx = NULL; in ossl_dsa_key_from_pkcs8() local
164 if ((ctx = BN_CTX_new()) == NULL) { in ossl_dsa_key_from_pkcs8()
172 if (!BN_mod_exp(dsa_pubkey, dsa_g, dsa_privkey, dsa_p, ctx)) { in ossl_dsa_key_from_pkcs8()
191 BN_CTX_free(ctx); in ossl_dsa_key_from_pkcs8()

Completed in 19 milliseconds

1...<<281282283284285286287288289290>>...522