/kernel/linux/linux-6.6/drivers/crypto/qce/ |
H A D | sha.c | 79 struct qce_sha_ctx *ctx = crypto_tfm_ctx(async_req->tfm); in qce_ahash_async_req_handle() local 86 rctx->authkey = ctx->authkey; in qce_ahash_async_req_handle() 89 rctx->authkey = ctx->authkey; in qce_ahash_async_req_handle() 333 struct qce_sha_ctx *ctx = crypto_tfm_ctx(&tfm->base); in qce_ahash_hmac_setkey() local 344 memset(ctx->authkey, 0, sizeof(ctx->authkey)); in qce_ahash_hmac_setkey() 347 memcpy(ctx->authkey, key, keylen); in qce_ahash_hmac_setkey() 381 ahash_request_set_crypt(req, &sg, ctx->authkey, keylen); in qce_ahash_hmac_setkey() 396 struct qce_sha_ctx *ctx = crypto_tfm_ctx(tfm); in qce_ahash_cra_init() local 399 memset(ctx, in qce_ahash_cra_init() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/gud/ |
H A D | gud_connector.c | 65 struct drm_modeset_acquire_ctx ctx; in gud_connector_backlight_update_status_work() local 78 drm_modeset_acquire_init(&ctx, 0); in gud_connector_backlight_update_status_work() 79 state->acquire_ctx = &ctx; in gud_connector_backlight_update_status_work() 94 drm_modeset_backoff(&ctx); in gud_connector_backlight_update_status_work() 100 drm_modeset_drop_locks(&ctx); in gud_connector_backlight_update_status_work() 101 drm_modeset_acquire_fini(&ctx); in gud_connector_backlight_update_status_work() 153 struct drm_modeset_acquire_ctx *ctx, bool force) in gud_connector_detect() 205 struct gud_connector_get_edid_ctx *ctx = data; in gud_connector_get_edid_block() local 208 ctx->edid_override = false; in gud_connector_get_edid_block() 210 if (start + len > ctx in gud_connector_get_edid_block() 152 gud_connector_detect(struct drm_connector *connector, struct drm_modeset_acquire_ctx *ctx, bool force) gud_connector_detect() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object.c | 243 struct i915_gem_context *ctx = lut->ctx; in i915_gem_close_object() local 245 if (ctx && ctx->file_priv == fpriv) { in i915_gem_close_object() 246 i915_gem_context_get(ctx); in i915_gem_close_object() 266 struct i915_gem_context *ctx = lut->ctx; in i915_gem_close_object() local 274 mutex_lock(&ctx->lut_mutex); in i915_gem_close_object() 275 vma = radix_tree_delete(&ctx->handles_vma, lut->handle); in i915_gem_close_object() 281 mutex_unlock(&ctx in i915_gem_close_object() [all...] |
/kernel/linux/linux-6.6/lib/kunit/ |
H A D | test.c | 461 struct kunit_try_catch_context *ctx = data; in kunit_try_run_case() local 462 struct kunit *test = ctx->test; in kunit_try_run_case() 463 struct kunit_suite *suite = ctx->suite; in kunit_try_run_case() 464 struct kunit_case *test_case = ctx->test_case; in kunit_try_run_case() 478 struct kunit_try_catch_context *ctx = data; in kunit_try_run_case_cleanup() local 479 struct kunit *test = ctx->test; in kunit_try_run_case_cleanup() 480 struct kunit_suite *suite = ctx->suite; in kunit_try_run_case_cleanup() 489 struct kunit_try_catch_context *ctx = data; in kunit_catch_run_case_cleanup() local 490 struct kunit *test = ctx->test; in kunit_catch_run_case_cleanup() 520 struct kunit_try_catch_context *ctx in kunit_catch_run_case() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_asoftclip.c | 378 AVFilterContext *ctx = inlink->dst; in config_input() local 379 ASoftClipContext *s = ctx->priv; in config_input() 405 static int filter_channels(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in filter_channels() argument 407 ASoftClipContext *s = ctx->priv; in filter_channels() 424 AVFilterContext *ctx = inlink->dst; in filter_frame() local 425 ASoftClipContext *s = ctx->priv; in filter_frame() 426 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame() 449 ff_filter_execute(ctx, filter_channels, &td, NULL, in filter_frame() 450 FFMIN(channels, ff_filter_get_nb_threads(ctx))); in filter_frame() 459 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument [all...] |
/third_party/libuv/src/unix/ |
H A D | fsevents.c | 335 FSEventStreamContext ctx; in uv__fsevents_create_stream() local 341 memset(&ctx, 0, sizeof(ctx)); in uv__fsevents_create_stream() 342 ctx.info = loop; in uv__fsevents_create_stream() 368 &ctx, in uv__fsevents_create_stream() 585 CFRunLoopSourceContext ctx; in uv__fsevents_loop_init() local 623 memset(&ctx, 0, sizeof(ctx)); in uv__fsevents_loop_init() 624 ctx.info = loop; in uv__fsevents_loop_init() 625 ctx in uv__fsevents_loop_init() [all...] |
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | runtime.py | 472 ctx = self.context 473 ctx.index0 += 1 474 if ctx._after is _last_iteration: 476 ctx._before = ctx._current 477 ctx._current = ctx._after 478 ctx._after = ctx._safe_next() 479 return ctx [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | image.c | 481 _mesa_clip_drawpixels(const struct gl_context *ctx, in _mesa_clip_drawpixels() argument 486 const struct gl_framebuffer *buffer = ctx->DrawBuffer; in _mesa_clip_drawpixels() 492 assert(ctx->Pixel.ZoomX == 1.0F); in _mesa_clip_drawpixels() 493 assert(ctx->Pixel.ZoomY == 1.0F || ctx->Pixel.ZoomY == -1.0F); in _mesa_clip_drawpixels() 508 if (ctx->Pixel.ZoomY == 1.0F) { in _mesa_clip_drawpixels() 552 _mesa_clip_readpixels(const struct gl_context *ctx, in _mesa_clip_readpixels() argument 557 const struct gl_framebuffer *buffer = ctx->ReadBuffer; in _mesa_clip_readpixels() 614 _mesa_clip_copytexsubimage(const struct gl_context *ctx, in _mesa_clip_copytexsubimage() argument 619 const struct gl_framebuffer *fb = ctx in _mesa_clip_copytexsubimage() 757 _mesa_clip_blit(struct gl_context *ctx, const struct gl_framebuffer *readFb, const struct gl_framebuffer *drawFb, GLint *srcX0, GLint *srcY0, GLint *srcX1, GLint *srcY1, GLint *dstX0, GLint *dstY0, GLint *dstX1, GLint *dstY1) _mesa_clip_blit() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/sha/asm/ |
H A D | sha1-ia64.pl | 239 ctx=r32; // in0 249 $ADDP tmp0=4,ctx 252 { .mmi; $ADDP ctx=0,ctx 259 { .mlx; ld4 $h0=[ctx],8 263 { .mlx; ld4 $h2=[ctx],8 267 { .mmi; ld4 $h4=[ctx],-16 301 { .mmi; add tmp0=4,ctx 303 { .mmi; st4 [ctx]=$h0,8 305 { .mmi; st4 [ctx] [all...] |
/third_party/node/deps/openssl/openssl/crypto/property/ |
H A D | property.c | 64 OSSL_LIB_CTX *ctx; member 120 static void *ossl_ctx_global_properties_new(OSSL_LIB_CTX *ctx) in ossl_ctx_global_properties_new() argument 248 OSSL_METHOD_STORE *ossl_method_store_new(OSSL_LIB_CTX *ctx) in ossl_method_store_new() argument 254 res->ctx = ctx; in ossl_method_store_new() 334 if ((impl->properties = ossl_prop_defn_get(store->ctx, properties)) == NULL) { in ossl_method_store_add() 335 impl->properties = ossl_parse_property(store->ctx, properties); in ossl_method_store_add() 338 if (!ossl_prop_defn_set(store->ctx, properties, &impl->properties)) { in ossl_method_store_add() 517 if (ossl_lib_ctx_is_default(store->ctx) in ossl_method_store_fetch() 532 p2 = pq = ossl_parse_query(store->ctx, prop_quer in ossl_method_store_fetch() [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | fsevents.c | 336 FSEventStreamContext ctx; in uv__fsevents_create_stream() local 342 memset(&ctx, 0, sizeof(ctx)); in uv__fsevents_create_stream() 343 ctx.info = loop; in uv__fsevents_create_stream() 369 &ctx, in uv__fsevents_create_stream() 596 CFRunLoopSourceContext ctx; in uv__fsevents_loop_init() local 634 memset(&ctx, 0, sizeof(ctx)); in uv__fsevents_loop_init() 635 ctx.info = loop; in uv__fsevents_loop_init() 636 ctx in uv__fsevents_loop_init() [all...] |
/third_party/openssl/test/ |
H A D | endecoder_legacy_test.c | 243 EVP_PKEY_CTX *ctx = NULL; in make_key() local 248 && ((ctx = EVP_PKEY_CTX_new_from_name(NULL, type, NULL)) == NULL in make_key() 249 || EVP_PKEY_paramgen_init(ctx) <= 0 in make_key() 251 && EVP_PKEY_CTX_set_params(ctx, gen_template_params_noconst) <= 0) in make_key() 252 || EVP_PKEY_generate(ctx, &template) <= 0)) in make_key() 254 EVP_PKEY_CTX_free(ctx); in make_key() 260 ctx = in make_key() 265 (void)(ctx != NULL in make_key() 266 && EVP_PKEY_keygen_init(ctx) > 0 in make_key() 267 && EVP_PKEY_keygen(ctx, in make_key() [all...] |
/third_party/openssl/crypto/property/ |
H A D | property.c | 64 OSSL_LIB_CTX *ctx; member 122 static void *ossl_ctx_global_properties_new(OSSL_LIB_CTX *ctx) in ossl_ctx_global_properties_new() argument 250 OSSL_METHOD_STORE *ossl_method_store_new(OSSL_LIB_CTX *ctx) in ossl_method_store_new() argument 256 res->ctx = ctx; in ossl_method_store_new() 336 if ((impl->properties = ossl_prop_defn_get(store->ctx, properties)) == NULL) { in ossl_method_store_add() 337 impl->properties = ossl_parse_property(store->ctx, properties); in ossl_method_store_add() 340 if (!ossl_prop_defn_set(store->ctx, properties, &impl->properties)) { in ossl_method_store_add() 531 if (ossl_lib_ctx_is_default(store->ctx) in ossl_method_store_fetch() 546 p2 = pq = ossl_parse_query(store->ctx, prop_quer in ossl_method_store_fetch() [all...] |
/third_party/openssl/crypto/sha/asm/ |
H A D | sha1-ia64.pl | 239 ctx=r32; // in0 249 $ADDP tmp0=4,ctx 252 { .mmi; $ADDP ctx=0,ctx 259 { .mlx; ld4 $h0=[ctx],8 263 { .mlx; ld4 $h2=[ctx],8 267 { .mmi; ld4 $h4=[ctx],-16 301 { .mmi; add tmp0=4,ctx 303 { .mmi; st4 [ctx]=$h0,8 305 { .mmi; st4 [ctx] [all...] |
/third_party/skia/third_party/externals/libwebp/src/dec/ |
H A D | vp8_dec.c | 34 int ctx, const quant_t dq, int n, int16_t* out); 441 int ctx, const quant_t dq, int n, int16_t* out) { in GetCoeffsFast() 442 const uint8_t* p = prob[n]->probas_[ctx]; in GetCoeffsFast() 471 int ctx, const quant_t dq, int n, int16_t* out) { in GetCoeffsAlt() 472 const uint8_t* p = prob[n]->probas_[ctx]; in GetCoeffsAlt() 529 const int ctx = mb->nz_dc_ + left_mb->nz_dc_; in ParseResiduals() local 530 const int nz = GetCoeffs(token_br, bands[1], ctx, q->y2_mat_, 0, dc); in ParseResiduals() 552 const int ctx = l + (tnz & 1); in ParseResiduals() local 553 const int nz = GetCoeffs(token_br, ac_proba, ctx, q->y1_mat_, first, dst); in ParseResiduals() 573 const int ctx in ParseResiduals() local 439 GetCoeffsFast(VP8BitReader* const br, const VP8BandProbas* const prob[], int ctx, const quant_t dq, int n, int16_t* out) GetCoeffsFast() argument 469 GetCoeffsAlt(VP8BitReader* const br, const VP8BandProbas* const prob[], int ctx, const quant_t dq, int n, int16_t* out) GetCoeffsAlt() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
H A D | pmksa_cache.c | 27 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx, 30 void *ctx); 31 void *ctx; member 53 pmksa->free_cb(entry, pmksa->ctx, reason); in pmksa_cache_free_entry() 68 pmksa->is_current_cb(entry, pmksa->ctx)) { in pmksa_cache_expire() 120 pmksa->is_current_cb(pmksa->pmksa, pmksa->ctx)) { in pmksa_cache_set_expiration() 691 * @ctx: Context pointer for free_cb function 697 void *ctx, enum pmksa_free_reason reason), in pmksa_cache_init() 699 void *ctx), in pmksa_cache_init() 700 void *ctx, struc in pmksa_cache_init() 696 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx, enum pmksa_free_reason reason), bool (*is_current_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx), void *ctx, struct wpa_sm *sm) pmksa_cache_init() argument [all...] |
/third_party/libcoap/src/ |
H A D | coap_mbedtls.c | 172 coap_rng(void *ctx COAP_UNUSED, unsigned char *buf, size_t len) { in coap_rng() 178 coap_dgram_read(void *ctx, unsigned char *out, size_t outl) { in coap_dgram_read() argument 180 coap_session_t *c_session = (coap_session_t *)ctx; in coap_dgram_read() 219 coap_dgram_write(void *ctx, const unsigned char *send_buffer, in coap_dgram_write() argument 222 coap_session_t *c_session = (coap_session_t *)ctx; in coap_dgram_write() 1359 mbedtls_debug_out(void *ctx COAP_UNUSED, int level, 1400 coap_sock_read(void *ctx, unsigned char *out, size_t outl) { argument 1402 coap_session_t *c_session = (coap_session_t *)ctx; 2674 mbedtls_md_context_t ctx; local 2693 mbedtls_md_init(&ctx); 2786 setup_cipher_context(mbedtls_cipher_context_t *ctx, cose_alg_t coap_alg, const uint8_t *key_data, size_t key_length, mbedtls_operation_t mode) global() argument 2833 mbedtls_cipher_context_t ctx; global() local 2917 mbedtls_cipher_context_t ctx; global() local 2999 mbedtls_md_context_t ctx; global() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | dashenc.c | 103 AVFormatContext *ctx; member 451 if (!os->ctx->pb) { in flush_dynbuf() 456 av_write_frame(os->ctx, NULL); in flush_dynbuf() 457 avio_flush(os->ctx->pb); in flush_dynbuf() 461 *range_length = avio_close_dyn_buf(os->ctx->pb, &buffer); in flush_dynbuf() 462 os->ctx->pb = NULL; in flush_dynbuf() 469 return avio_open_dyn_buf(&os->ctx->pb); in flush_dynbuf() 471 *range_length = avio_tell(os->ctx->pb) - os->pos; in flush_dynbuf() 511 int timescale = os->ctx->streams[0]->time_base.den; in write_hls_media_playlist() 570 av_log(os->ctx, AV_LOG_WARNIN in write_hls_media_playlist() 1491 AVFormatContext *ctx; dash_init() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dwb.c | 37 dwbc30->base.ctx 44 dwbc30->base.ctx->logger 237 struct dc_context *ctx, in dcn30_dwbc_construct() 243 dwbc30->base.ctx = ctx; in dcn30_dwbc_construct() 236 dcn30_dwbc_construct(struct dcn30_dwbc *dwbc30, struct dc_context *ctx, const struct dcn30_dwbc_registers *dwbc_regs, const struct dcn30_dwbc_shift *dwbc_shift, const struct dcn30_dwbc_mask *dwbc_mask, int inst) dcn30_dwbc_construct() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hwseq.c | 43 hws->ctx 143 struct dc_context *dc = abm->ctx; in dmub_abm_set_pipe() 167 struct dmcu *dmcu = pipe_ctx->stream->ctx->dc->res_pool->dmcu; in dcn21_set_abm_immediate_disable() 184 struct dmcu *dmcu = pipe_ctx->stream->ctx->dc->res_pool->dmcu; in dcn21_set_pipe() 200 struct dc_context *dc = pipe_ctx->stream->ctx; in dcn21_set_backlight_level()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_tcp4.c | 197 int dump_tcp4(struct bpf_iter__tcp *ctx) in dump_tcp4() argument 199 struct sock_common *sk_common = ctx->sk_common; in dump_tcp4() 200 struct seq_file *seq = ctx->meta->seq; in dump_tcp4() 204 uid_t uid = ctx->uid; in dump_tcp4() 210 seq_num = ctx->meta->seq_num; in dump_tcp4()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
H A D | devlink_param.c | 84 struct devlink_param_gset_ctx *ctx) in nfp_devlink_param_u8_get() 119 ctx->val.vu8 = arg->invalid_dl_val; in nfp_devlink_param_u8_get() 126 ctx->val.vu8 = arg->hi_to_dl[value]; in nfp_devlink_param_u8_get() 135 struct devlink_param_gset_ctx *ctx) in nfp_devlink_param_u8_set() 157 arg->hwinfo_name, arg->dl_to_hi[ctx->val.vu8]); in nfp_devlink_param_u8_set() 83 nfp_devlink_param_u8_get(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx) nfp_devlink_param_u8_get() argument 134 nfp_devlink_param_u8_set(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx) nfp_devlink_param_u8_set() argument
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_numgen.c | 52 static int nft_ng_inc_init(const struct nft_ctx *ctx, in nft_ng_inc_init() argument 70 return nft_parse_register_store(ctx, tb[NFTA_NG_DREG], &priv->dreg, in nft_ng_inc_init() 120 static int nft_ng_random_init(const struct nft_ctx *ctx, in nft_ng_random_init() argument 136 return nft_parse_register_store(ctx, tb[NFTA_NG_DREG], &priv->dreg, in nft_ng_random_init() 166 nft_ng_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) in nft_ng_select_ops() argument
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
H A D | ttm_bo_driver.h | 82 struct ttm_operation_ctx *ctx); 159 * @ctx: context for this move with parameters 165 struct ttm_operation_ctx *ctx, 422 struct ttm_operation_ctx *ctx); 605 struct ttm_operation_ctx *ctx, 627 struct ttm_operation_ctx *ctx,
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | crypto.c | 132 static int ext4_get_context(struct inode *inode, void *ctx, size_t len) in ext4_get_context() argument 135 EXT4_XATTR_NAME_ENCRYPTION_CONTEXT, ctx, len); in ext4_get_context() 138 static int ext4_set_context(struct inode *inode, const void *ctx, size_t len, in ext4_set_context() argument 175 ctx, len, 0); in ext4_set_context() 204 ctx, len, 0); in ext4_set_context()
|