/third_party/mesa3d/include/android_stub/log/ |
H A D | log_event_list.h | 68 int android_log_write_list_begin(android_log_context ctx); 69 int android_log_write_list_end(android_log_context ctx); 71 int android_log_write_int32(android_log_context ctx, int32_t value); 72 int android_log_write_int64(android_log_context ctx, int64_t value); 73 int android_log_write_string8(android_log_context ctx, const char* value); 74 int android_log_write_string8_len(android_log_context ctx, const char* value, 76 int android_log_write_float32(android_log_context ctx, float value); 80 int android_log_write_list(android_log_context ctx, log_id_t id); 87 android_log_list_element android_log_read_next(android_log_context ctx); 88 android_log_list_element android_log_peek_next(android_log_context ctx); 105 android_log_context ctx; global() member in android_log_event_list [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-samsung-ld9040.c | 119 static int ld9040_clear_error(struct ld9040 *ctx) in ld9040_clear_error() argument 121 int ret = ctx->error; in ld9040_clear_error() 123 ctx->error = 0; in ld9040_clear_error() 127 static int ld9040_spi_write_word(struct ld9040 *ctx, u16 data) in ld9040_spi_write_word() argument 129 struct spi_device *spi = to_spi_device(ctx->dev); in ld9040_spi_write_word() 142 static void ld9040_dcs_write(struct ld9040 *ctx, const u8 *data, size_t len) in ld9040_dcs_write() argument 146 if (ctx->error < 0 || len == 0) in ld9040_dcs_write() 149 dev_dbg(ctx->dev, "writing dcs seq: %*ph\n", (int)len, data); in ld9040_dcs_write() 150 ret = ld9040_spi_write_word(ctx, *data); in ld9040_dcs_write() 154 ret = ld9040_spi_write_word(ctx, *dat in ld9040_dcs_write() 172 ld9040_brightness_set(struct ld9040 *ctx) ld9040_brightness_set() argument 180 ld9040_init(struct ld9040 *ctx) ld9040_init() argument 199 ld9040_power_on(struct ld9040 *ctx) ld9040_power_on() argument 216 ld9040_power_off(struct ld9040 *ctx) ld9040_power_off() argument 228 struct ld9040 *ctx = panel_to_ld9040(panel); ld9040_unprepare() local 242 struct ld9040 *ctx = panel_to_ld9040(panel); ld9040_prepare() local 267 struct ld9040 *ctx = panel_to_ld9040(panel); ld9040_get_modes() local 296 ld9040_parse_dt(struct ld9040 *ctx) ld9040_parse_dt() argument 316 struct ld9040 *ctx = bl_get_data(dev); ld9040_bl_update_status() local 339 struct ld9040 *ctx; ld9040_probe() local 392 struct ld9040 *ctx = spi_get_drvdata(spi); ld9040_remove() local [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_postsched.c | 108 schedule(struct ir3_postsched_ctx *ctx, struct ir3_instruction *instr) in schedule() argument 110 assert(ctx->block == instr->block); in schedule() 127 ctx->ip = MAX2(ctx->ip, n->earliest_ip) + delay_cycles; in schedule() 133 child->earliest_ip = MAX2(child->earliest_ip, ctx->ip + delay); in schedule() 138 dag_prune_head(ctx->dag, &n->dag); in schedule() 144 ctx->ss_delay = soft_ss_delay(instr); in schedule() 146 ctx->ss_delay = 0; in schedule() 147 } else if (ctx->ss_delay > 0) { in schedule() 148 ctx in schedule() 161 dump_state(struct ir3_postsched_ctx *ctx) dump_state() argument 179 node_delay(struct ir3_postsched_ctx *ctx, struct ir3_postsched_node *n) node_delay() argument 185 node_delay_soft(struct ir3_postsched_ctx *ctx, struct ir3_postsched_node *n) node_delay_soft() argument 202 choose_instr(struct ir3_postsched_ctx *ctx) choose_instr() argument 344 struct ir3_postsched_ctx *ctx; global() member 498 calculate_forward_deps(struct ir3_postsched_ctx *ctx) calculate_forward_deps() argument 512 calculate_reverse_deps(struct ir3_postsched_ctx *ctx) calculate_reverse_deps() argument 526 sched_node_init(struct ir3_postsched_ctx *ctx, struct ir3_instruction *instr) sched_node_init() argument 553 sched_dag_init(struct ir3_postsched_ctx *ctx) sched_dag_init() argument 629 sched_dag_destroy(struct ir3_postsched_ctx *ctx) sched_dag_destroy() argument 637 sched_block(struct ir3_postsched_ctx *ctx, struct ir3_block *block) sched_block() argument 747 struct ir3_postsched_ctx ctx = { ir3_postsched() local [all...] |
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
H A D | ssl_lib.c | 190 SSL_CTX *ctx; in SSL_CTX_new() local 214 ctx = (SSL_CTX *)ssl_mem_zalloc(sizeof(SSL_CTX)); in SSL_CTX_new() 215 if (!ctx) { in SSL_CTX_new() 216 SSL_DEBUG(SSL_LIB_ERROR_LEVEL, "no enough memory > (ctx)"); in SSL_CTX_new() 220 ctx->method = method; in SSL_CTX_new() 221 ctx->client_CA = client_ca; in SSL_CTX_new() 222 ctx->cert = cert; in SSL_CTX_new() 223 ctx->rngctx = rngctx; in SSL_CTX_new() 225 ctx->version = method->version; in SSL_CTX_new() 229 mbedtls_x509_crt **px = (mbedtls_x509_crt **)ctx in SSL_CTX_new() 254 SSL_CTX_free(SSL_CTX* ctx) SSL_CTX_free() argument 273 SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth) SSL_CTX_set_ssl_version() argument 288 SSL_CTX_get_ssl_method(SSL_CTX *ctx) SSL_CTX_get_ssl_method() argument 298 SSL_new(SSL_CTX *ctx) SSL_new() argument 653 SSL_CTX_clear_options(SSL_CTX *ctx, unsigned long op) SSL_CTX_clear_options() argument 663 SSL_CTX_get_options(SSL_CTX *ctx) SSL_CTX_get_options() argument 673 SSL_CTX_set_options(SSL_CTX *ctx, unsigned long opt) SSL_CTX_set_options() argument 858 SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len) SSL_CTX_set_default_read_buffer_len() argument 889 SSL_CTX_up_ref(SSL_CTX *ctx) SSL_CTX_up_ref() argument 924 SSL_CTX_get_verify_mode(const SSL_CTX *ctx) SSL_CTX_get_verify_mode() argument 934 SSL_CTX_set_timeout(SSL_CTX *ctx, long t) SSL_CTX_set_timeout() argument 949 SSL_CTX_get_timeout(const SSL_CTX *ctx) SSL_CTX_get_timeout() argument 969 SSL_CTX_set_read_ahead(SSL_CTX *ctx, int yes) SSL_CTX_set_read_ahead() argument 989 SSL_CTX_get_read_ahead(SSL_CTX *ctx) SSL_CTX_get_read_ahead() argument 999 SSL_CTX_get_default_read_ahead(SSL_CTX *ctx) SSL_CTX_get_default_read_ahead() argument 1043 SSL_CTX_get_verify_depth(const SSL_CTX *ctx) SSL_CTX_get_verify_depth() argument 1053 SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth) SSL_CTX_set_verify_depth() argument 1083 SSL_CTX_set_verify(SSL_CTX *ctx, int mode, int (*verify_callback)(SSL *, mbedtls_x509_crt *)) SSL_CTX_set_verify() argument 1143 SSL_CTX_get_ex_data(const SSL_CTX *ctx, int idx) SSL_CTX_get_ex_data() argument 1230 SSL_CTX_set_alpn_select_cb(SSL_CTX *ctx, next_proto_cb cb, void *arg) SSL_CTX_set_alpn_select_cb() argument [all...] |
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | tls_srp.c | 32 int ssl_ctx_srp_ctx_free_intern(SSL_CTX *ctx) in ssl_ctx_srp_ctx_free_intern() argument 34 if (ctx == NULL) in ssl_ctx_srp_ctx_free_intern() 36 OPENSSL_free(ctx->srp_ctx.login); in ssl_ctx_srp_ctx_free_intern() 37 OPENSSL_free(ctx->srp_ctx.info); in ssl_ctx_srp_ctx_free_intern() 38 BN_free(ctx->srp_ctx.N); in ssl_ctx_srp_ctx_free_intern() 39 BN_free(ctx->srp_ctx.g); in ssl_ctx_srp_ctx_free_intern() 40 BN_free(ctx->srp_ctx.s); in ssl_ctx_srp_ctx_free_intern() 41 BN_free(ctx->srp_ctx.B); in ssl_ctx_srp_ctx_free_intern() 42 BN_free(ctx->srp_ctx.A); in ssl_ctx_srp_ctx_free_intern() 43 BN_free(ctx in ssl_ctx_srp_ctx_free_intern() 51 SSL_CTX_SRP_CTX_free(SSL_CTX *ctx) SSL_CTX_SRP_CTX_free() argument 90 SSL_CTX *ctx; ssl_srp_ctx_init_intern() local 166 ssl_ctx_srp_ctx_init_intern(SSL_CTX *ctx) ssl_ctx_srp_ctx_init_intern() argument 177 SSL_CTX_SRP_CTX_init(SSL_CTX *ctx) SSL_CTX_SRP_CTX_init() argument 470 SSL_CTX_set_srp_username(SSL_CTX *ctx, char *name) SSL_CTX_set_srp_username() argument 475 SSL_CTX_set_srp_password(SSL_CTX *ctx, char *password) SSL_CTX_set_srp_password() argument 480 SSL_CTX_set_srp_strength(SSL_CTX *ctx, int strength) SSL_CTX_set_srp_strength() argument 486 SSL_CTX_set_srp_verify_param_callback(SSL_CTX *ctx, int (*cb) (SSL *, void *)) SSL_CTX_set_srp_verify_param_callback() argument 493 SSL_CTX_set_srp_cb_arg(SSL_CTX *ctx, void *arg) SSL_CTX_set_srp_cb_arg() argument 498 SSL_CTX_set_srp_username_callback(SSL_CTX *ctx, int (*cb) (SSL *, int *, void *)) SSL_CTX_set_srp_username_callback() argument 505 SSL_CTX_set_srp_client_pwd_callback(SSL_CTX *ctx, char *(*cb) (SSL *, void *)) SSL_CTX_set_srp_client_pwd_callback() argument [all...] |
/third_party/openssl/ssl/ |
H A D | tls_srp.c | 32 int ssl_ctx_srp_ctx_free_intern(SSL_CTX *ctx) in ssl_ctx_srp_ctx_free_intern() argument 34 if (ctx == NULL) in ssl_ctx_srp_ctx_free_intern() 36 OPENSSL_free(ctx->srp_ctx.login); in ssl_ctx_srp_ctx_free_intern() 37 OPENSSL_free(ctx->srp_ctx.info); in ssl_ctx_srp_ctx_free_intern() 38 BN_free(ctx->srp_ctx.N); in ssl_ctx_srp_ctx_free_intern() 39 BN_free(ctx->srp_ctx.g); in ssl_ctx_srp_ctx_free_intern() 40 BN_free(ctx->srp_ctx.s); in ssl_ctx_srp_ctx_free_intern() 41 BN_free(ctx->srp_ctx.B); in ssl_ctx_srp_ctx_free_intern() 42 BN_free(ctx->srp_ctx.A); in ssl_ctx_srp_ctx_free_intern() 43 BN_free(ctx in ssl_ctx_srp_ctx_free_intern() 51 SSL_CTX_SRP_CTX_free(SSL_CTX *ctx) SSL_CTX_SRP_CTX_free() argument 90 SSL_CTX *ctx; ssl_srp_ctx_init_intern() local 166 ssl_ctx_srp_ctx_init_intern(SSL_CTX *ctx) ssl_ctx_srp_ctx_init_intern() argument 177 SSL_CTX_SRP_CTX_init(SSL_CTX *ctx) SSL_CTX_SRP_CTX_init() argument 470 SSL_CTX_set_srp_username(SSL_CTX *ctx, char *name) SSL_CTX_set_srp_username() argument 475 SSL_CTX_set_srp_password(SSL_CTX *ctx, char *password) SSL_CTX_set_srp_password() argument 480 SSL_CTX_set_srp_strength(SSL_CTX *ctx, int strength) SSL_CTX_set_srp_strength() argument 486 SSL_CTX_set_srp_verify_param_callback(SSL_CTX *ctx, int (*cb) (SSL *, void *)) SSL_CTX_set_srp_verify_param_callback() argument 493 SSL_CTX_set_srp_cb_arg(SSL_CTX *ctx, void *arg) SSL_CTX_set_srp_cb_arg() argument 498 SSL_CTX_set_srp_username_callback(SSL_CTX *ctx, int (*cb) (SSL *, int *, void *)) SSL_CTX_set_srp_username_callback() argument 505 SSL_CTX_set_srp_client_pwd_callback(SSL_CTX *ctx, char *(*cb) (SSL *, void *)) SSL_CTX_set_srp_client_pwd_callback() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | e_camellia.c | 28 static int camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 44 #define data(ctx) EVP_C_DATA(EVP_CAMELLIA_KEY,ctx) 51 static int cmll_t4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in cmll_t4_init_key() argument 56 (EVP_CAMELLIA_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx); in cmll_t4_init_key() 58 mode = EVP_CIPHER_CTX_get_mode(ctx); in cmll_t4_init_key() 59 bits = EVP_CIPHER_CTX_get_key_length(ctx) * 8; in cmll_t4_init_key() 115 static int cmll_t4_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 119 static int cmll_t4_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 123 static int cmll_t4_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigne 192 camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) camellia_init_key() argument 220 camellia_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_cbc_cipher() argument 236 camellia_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_ecb_cipher() argument 252 camellia_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_ofb_cipher() argument 263 camellia_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_cfb_cipher() argument 275 camellia_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_cfb8_cipher() argument 287 camellia_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_cfb1_cipher() argument 324 camellia_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_ctr_cipher() argument [all...] |
/third_party/openssl/crypto/evp/ |
H A D | e_camellia.c | 28 static int camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 44 #define data(ctx) EVP_C_DATA(EVP_CAMELLIA_KEY,ctx) 51 static int cmll_t4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in cmll_t4_init_key() argument 56 (EVP_CAMELLIA_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx); in cmll_t4_init_key() 58 mode = EVP_CIPHER_CTX_get_mode(ctx); in cmll_t4_init_key() 59 bits = EVP_CIPHER_CTX_get_key_length(ctx) * 8; in cmll_t4_init_key() 115 static int cmll_t4_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 119 static int cmll_t4_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 123 static int cmll_t4_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigne 192 camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) camellia_init_key() argument 220 camellia_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_cbc_cipher() argument 236 camellia_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_ecb_cipher() argument 252 camellia_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_ofb_cipher() argument 263 camellia_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_cfb_cipher() argument 275 camellia_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_cfb8_cipher() argument 287 camellia_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_cfb1_cipher() argument 324 camellia_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) camellia_ctr_cipher() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A D | caamhash.c | 149 dev_err(jrdev, "unable to map ctx\n"); in map_seq_out_ptr_ctx() 190 dev_err(jrdev, "unable to map ctx\n"); in ctx_map_to_sec4_sg() 202 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc() local 204 struct device *jrdev = ctx->jrdev; in ahash_set_sh_desc() 208 ctx->adata.key_virt = ctx->key; in ahash_set_sh_desc() 211 desc = ctx->sh_desc_update; in ahash_set_sh_desc() 212 cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_UPDATE, ctx->ctx_len, in ahash_set_sh_desc() 213 ctx in ahash_set_sh_desc() 258 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); axcbc_set_sh_desc() local 310 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); acmac_set_sh_desc() local 359 hash_digest_key(struct caam_hash_ctx *ctx, u32 *keylen, u8 *key, u32 digestsize) hash_digest_key() argument 424 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_setkey() local 487 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); axcbc_setkey() local 507 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); acmac_setkey() local 584 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_done_cpy() local 633 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_done_switch() local 698 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_edesc_alloc() local 719 ahash_edesc_add_src(struct caam_hash_ctx *ctx, struct ahash_edesc *edesc, struct ahash_request *req, int nents, unsigned int first_sg, unsigned int first_bytes, size_t to_hash) ahash_edesc_add_src() argument 758 struct caam_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); ahash_do_one_req() local 815 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_update_ctx() local 940 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_final_ctx() local 1001 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_finup_ctx() local 1075 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_digest() local 1142 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_final_no_ctx() local 1191 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_update_no_ctx() local 1312 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_finup_no_ctx() local 1388 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); ahash_update_first() local 1762 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); caam_hash_cra_init() local 1866 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); caam_hash_cra_exit() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 69 static inline int sec_alloc_queue_id(struct sec_ctx *ctx, struct sec_req *req) in sec_alloc_queue_id() argument 72 return (u32)atomic_inc_return(&ctx->enc_qcyclic) % in sec_alloc_queue_id() 73 ctx->hlf_q_num; in sec_alloc_queue_id() 75 return (u32)atomic_inc_return(&ctx->dec_qcyclic) % ctx->hlf_q_num + in sec_alloc_queue_id() 76 ctx->hlf_q_num; in sec_alloc_queue_id() 79 static inline void sec_free_queue_id(struct sec_ctx *ctx, struct sec_req *req) in sec_free_queue_id() argument 82 atomic_dec(&ctx->enc_qcyclic); in sec_free_queue_id() 84 atomic_dec(&ctx->dec_qcyclic); in sec_free_queue_id() 97 dev_err(req->ctx in sec_alloc_req_id() 150 struct sec_ctx *ctx; sec_req_cb() local 194 sec_bd_send(struct sec_ctx *ctx, struct sec_req *req) sec_bd_send() argument 322 sec_alg_resource_alloc(struct sec_ctx *ctx, struct sec_qp_ctx *qp_ctx) sec_alg_resource_alloc() argument 356 sec_alg_resource_free(struct sec_ctx *ctx, struct sec_qp_ctx *qp_ctx) sec_alg_resource_free() argument 369 sec_create_qp_ctx(struct hisi_qm *qm, struct sec_ctx *ctx, int qp_ctx_id, int alg_type) sec_create_qp_ctx() argument 425 sec_release_qp_ctx(struct sec_ctx *ctx, struct sec_qp_ctx *qp_ctx) sec_release_qp_ctx() argument 439 sec_ctx_base_init(struct sec_ctx *ctx) sec_ctx_base_init() argument 483 sec_ctx_base_uninit(struct sec_ctx *ctx) sec_ctx_base_uninit() argument 494 sec_cipher_init(struct sec_ctx *ctx) sec_cipher_init() argument 506 sec_cipher_uninit(struct sec_ctx *ctx) sec_cipher_uninit() argument 515 sec_auth_init(struct sec_ctx *ctx) sec_auth_init() argument 527 sec_auth_uninit(struct sec_ctx *ctx) sec_auth_uninit() argument 538 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); sec_skcipher_init() local 566 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); sec_skcipher_uninit() local 630 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); sec_skcipher_setkey() local 685 sec_cipher_pbuf_map(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src) sec_cipher_pbuf_map() argument 720 sec_cipher_pbuf_unmap(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *dst) sec_cipher_pbuf_unmap() argument 743 sec_cipher_map(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src, struct scatterlist *dst) sec_cipher_map() argument 801 sec_cipher_unmap(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src, struct scatterlist *dst) sec_cipher_unmap() argument 817 sec_skcipher_sgl_map(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_sgl_map() argument 824 sec_skcipher_sgl_unmap(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_sgl_unmap() argument 853 sec_aead_auth_set_key(struct sec_auth_ctx *ctx, struct crypto_authenc_keys *keys) sec_aead_auth_set_key() argument 887 struct sec_ctx *ctx = crypto_aead_ctx(tfm); sec_aead_setkey() local 935 sec_aead_sgl_map(struct sec_ctx *ctx, struct sec_req *req) sec_aead_sgl_map() argument 942 sec_aead_sgl_unmap(struct sec_ctx *ctx, struct sec_req *req) sec_aead_sgl_unmap() argument 949 sec_request_transfer(struct sec_ctx *ctx, struct sec_req *req) sec_request_transfer() argument 971 sec_request_untransfer(struct sec_ctx *ctx, struct sec_req *req) sec_request_untransfer() argument 976 sec_skcipher_copy_iv(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_copy_iv() argument 984 sec_skcipher_bd_fill(struct sec_ctx *ctx, struct sec_req *req) sec_skcipher_bd_fill() argument 1065 sec_back_req_clear(struct sec_ctx *ctx, struct sec_qp_ctx *qp_ctx) sec_back_req_clear() argument 1083 sec_skcipher_callback(struct sec_ctx *ctx, struct sec_req *req, int err) sec_skcipher_callback() argument 1112 sec_aead_copy_iv(struct sec_ctx *ctx, struct sec_req *req) sec_aead_copy_iv() argument 1120 sec_auth_bd_fill_ex(struct sec_auth_ctx *ctx, int dir, struct sec_req *req, struct sec_sqe *sec_sqe) sec_auth_bd_fill_ex() argument 1153 sec_aead_bd_fill(struct sec_ctx *ctx, struct sec_req *req) sec_aead_bd_fill() argument 1216 sec_request_uninit(struct sec_ctx *ctx, struct sec_req *req) sec_request_uninit() argument 1222 sec_request_init(struct sec_ctx *ctx, struct sec_req *req) sec_request_init() argument 1240 sec_process(struct sec_ctx *ctx, struct sec_req *req) sec_process() argument 1306 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); sec_skcipher_ctx_init() local 1320 struct sec_ctx *ctx = crypto_aead_ctx(tfm); sec_aead_init() local 1356 struct sec_ctx *ctx = crypto_aead_ctx(tfm); sec_aead_exit() local 1365 struct sec_ctx *ctx = crypto_aead_ctx(tfm); sec_aead_ctx_init() local 1387 struct sec_ctx *ctx = crypto_aead_ctx(tfm); sec_aead_ctx_exit() local 1408 sec_skcipher_param_check(struct sec_ctx *ctx, struct sec_req *sreq) sec_skcipher_param_check() argument 1447 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); sec_skcipher_crypto() local 1532 sec_aead_param_check(struct sec_ctx *ctx, struct sec_req *sreq) sec_aead_param_check() argument 1575 struct sec_ctx *ctx = crypto_aead_ctx(tfm); sec_aead_crypto() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gsc.c | 64 #define gsc_read(offset) readl(ctx->regs + (offset)) 65 #define gsc_write(cfg, offset) writel(cfg, ctx->regs + (offset)) 378 static int gsc_sw_reset(struct gsc_context *ctx) in gsc_sw_reset() argument 396 DRM_DEV_ERROR(ctx->dev, "failed to reset gsc h/w.\n"); in gsc_sw_reset() 418 static void gsc_handle_irq(struct gsc_context *ctx, bool enable, in gsc_handle_irq() argument 423 DRM_DEV_DEBUG_KMS(ctx->dev, "enable[%d]overflow[%d]level[%d]\n", in gsc_handle_irq() 448 static void gsc_src_set_fmt(struct gsc_context *ctx, u32 fmt, bool tiled) in gsc_src_set_fmt() argument 452 DRM_DEV_DEBUG_KMS(ctx->dev, "fmt[0x%x]\n", fmt); in gsc_src_set_fmt() 520 static void gsc_src_set_transf(struct gsc_context *ctx, unsigned int rotation) in gsc_src_set_transf() argument 560 ctx in gsc_src_set_transf() 563 gsc_src_set_size(struct gsc_context *ctx, struct exynos_drm_ipp_buffer *buf) gsc_src_set_size() argument 606 gsc_src_set_buf_seq(struct gsc_context *ctx, u32 buf_id, bool enqueue) gsc_src_set_buf_seq() argument 624 gsc_src_set_addr(struct gsc_context *ctx, u32 buf_id, struct exynos_drm_ipp_buffer *buf) gsc_src_set_addr() argument 635 gsc_dst_set_fmt(struct gsc_context *ctx, u32 fmt, bool tiled) gsc_dst_set_fmt() argument 707 gsc_get_ratio_shift(struct gsc_context *ctx, u32 src, u32 dst, u32 *ratio) gsc_get_ratio_shift() argument 742 gsc_set_prescaler(struct gsc_context *ctx, struct gsc_scaler *sc, struct drm_exynos_ipp_task_rect *src, struct drm_exynos_ipp_task_rect *dst) gsc_set_prescaler() argument 795 gsc_set_h_coef(struct gsc_context *ctx, unsigned long main_hratio) gsc_set_h_coef() argument 821 gsc_set_v_coef(struct gsc_context *ctx, unsigned long main_vratio) gsc_set_v_coef() argument 847 gsc_set_scaler(struct gsc_context *ctx, struct gsc_scaler *sc) gsc_set_scaler() argument 863 gsc_dst_set_size(struct gsc_context *ctx, struct exynos_drm_ipp_buffer *buf) gsc_dst_set_size() argument 907 gsc_dst_get_buf_seq(struct gsc_context *ctx) gsc_dst_get_buf_seq() argument 923 gsc_dst_set_buf_seq(struct gsc_context *ctx, u32 buf_id, bool enqueue) gsc_dst_set_buf_seq() argument 949 gsc_dst_set_addr(struct gsc_context *ctx, u32 buf_id, struct exynos_drm_ipp_buffer *buf) gsc_dst_set_addr() argument 960 gsc_get_src_buf_index(struct gsc_context *ctx) gsc_get_src_buf_index() argument 990 gsc_get_dst_buf_index(struct gsc_context *ctx) gsc_get_dst_buf_index() argument 1022 struct gsc_context *ctx = dev_id; gsc_irq_handler() local 1063 gsc_reset(struct gsc_context *ctx) gsc_reset() argument 1082 gsc_start(struct gsc_context *ctx) gsc_start() argument 1116 struct gsc_context *ctx = container_of(ipp, struct gsc_context, ipp); gsc_commit() local 1150 struct gsc_context *ctx = gsc_abort() local 1171 struct gsc_context *ctx = dev_get_drvdata(dev); gsc_bind() local 1192 struct gsc_context *ctx = dev_get_drvdata(dev); gsc_unbind() local 1222 struct gsc_context *ctx; gsc_probe() local 1324 struct gsc_context *ctx = get_gsc_context(dev); gsc_runtime_suspend() local 1337 struct gsc_context *ctx = get_gsc_context(dev); gsc_runtime_resume() local [all...] |
/kernel/linux/linux-6.6/mm/damon/ |
H A D | core.c | 91 * @ctx: monitoring context to use the operations. 95 * @ctx to use it. 99 int damon_select_ops(struct damon_ctx *ctx, enum damon_ops_id id) in damon_select_ops() argument 110 ctx->ops = damon_registered_ops[id]; in damon_select_ops() 337 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s) in damon_add_scheme() argument 339 list_add_tail(&s->list, &ctx->schemes); in damon_add_scheme() 383 void damon_add_target(struct damon_ctx *ctx, struct damon_target *t) in damon_add_target() argument 385 list_add_tail(&t->list, &ctx->adaptive_targets); in damon_add_target() 388 bool damon_targets_empty(struct damon_ctx *ctx) in damon_targets_empty() argument 390 return list_empty(&ctx in damon_targets_empty() 420 struct damon_ctx *ctx; damon_new_ctx() local 448 damon_destroy_targets(struct damon_ctx *ctx) damon_destroy_targets() argument 461 damon_destroy_ctx(struct damon_ctx *ctx) damon_destroy_ctx() argument 518 damon_update_monitoring_results(struct damon_ctx *ctx, struct damon_attrs *new_attrs) damon_update_monitoring_results() argument 547 damon_set_attrs(struct damon_ctx *ctx, struct damon_attrs *attrs) damon_set_attrs() argument 578 damon_set_schemes(struct damon_ctx *ctx, struct damos **schemes, ssize_t nr_schemes) damon_set_schemes() argument 605 damon_region_sz_limit(struct damon_ctx *ctx) damon_region_sz_limit() argument 634 __damon_start(struct damon_ctx *ctx) __damon_start() argument 702 __damon_stop(struct damon_ctx *ctx) __damon_stop() argument 858 __damos_filter_out(struct damon_ctx *ctx, struct damon_target *t, struct damon_region *r, struct damos_filter *filter) __damos_filter_out() argument 906 damos_filter_out(struct damon_ctx *ctx, struct damon_target *t, struct damon_region *r, struct damos *s) damos_filter_out() argument 1196 kdamond_split_regions(struct damon_ctx *ctx) kdamond_split_regions() argument 1228 kdamond_need_stop(struct damon_ctx *ctx) kdamond_need_stop() argument 1304 kdamond_wait_activation(struct damon_ctx *ctx) kdamond_wait_activation() argument 1331 kdamond_init_intervals_sis(struct damon_ctx *ctx) kdamond_init_intervals_sis() argument 1347 struct damon_ctx *ctx = data; kdamond_fn() local [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | bbox.c | 40 GET_CURRENT_CONTEXT(ctx); in _mesa_PrimitiveBoundingBox() 42 ctx->PrimitiveBoundingBox[0] = minX; in _mesa_PrimitiveBoundingBox() 43 ctx->PrimitiveBoundingBox[1] = minY; in _mesa_PrimitiveBoundingBox() 44 ctx->PrimitiveBoundingBox[2] = minZ; in _mesa_PrimitiveBoundingBox() 45 ctx->PrimitiveBoundingBox[3] = minW; in _mesa_PrimitiveBoundingBox() 46 ctx->PrimitiveBoundingBox[4] = maxX; in _mesa_PrimitiveBoundingBox() 47 ctx->PrimitiveBoundingBox[5] = maxY; in _mesa_PrimitiveBoundingBox() 48 ctx->PrimitiveBoundingBox[6] = maxZ; in _mesa_PrimitiveBoundingBox() 49 ctx->PrimitiveBoundingBox[7] = maxW; in _mesa_PrimitiveBoundingBox() 53 _mesa_init_bbox(struct gl_context *ctx) in _mesa_init_bbox() argument [all...] |
H A D | texstate.h | 41 _mesa_get_tex_unit(struct gl_context *ctx, GLuint unit) in _mesa_get_tex_unit() argument 43 assert(unit < ARRAY_SIZE(ctx->Texture.Unit)); in _mesa_get_tex_unit() 44 return &(ctx->Texture.Unit[unit]); in _mesa_get_tex_unit() 52 _mesa_get_current_tex_unit(struct gl_context *ctx) in _mesa_get_current_tex_unit() argument 54 return _mesa_get_tex_unit(ctx, ctx->Texture.CurrentUnit); in _mesa_get_current_tex_unit() 64 _mesa_get_fixedfunc_tex_unit(struct gl_context *ctx, GLuint unit) in _mesa_get_fixedfunc_tex_unit() argument 66 if (unit >= ARRAY_SIZE(ctx->Texture.FixedFuncUnit)) in _mesa_get_fixedfunc_tex_unit() 69 return &ctx->Texture.FixedFuncUnit[unit]; in _mesa_get_fixedfunc_tex_unit() 74 _mesa_max_tex_unit(struct gl_context *ctx) in _mesa_max_tex_unit() argument [all...] |
H A D | barrier.c | 38 memory_barrier(struct gl_context *ctx, GLbitfield barriers) in memory_barrier() argument 40 struct pipe_context *pipe = ctx->pipe; in memory_barrier() 102 GET_CURRENT_CONTEXT(ctx); in _mesa_TextureBarrierNV() 104 if (!ctx->Extensions.NV_texture_barrier) { in _mesa_TextureBarrierNV() 105 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_TextureBarrierNV() 110 ctx->pipe->texture_barrier(ctx->pipe, PIPE_TEXTURE_BARRIER_SAMPLER); in _mesa_TextureBarrierNV() 116 GET_CURRENT_CONTEXT(ctx); in _mesa_MemoryBarrier() 118 memory_barrier(ctx, barriers); in _mesa_MemoryBarrier() 122 memory_barrier_by_region(struct gl_context *ctx, GLbitfiel argument [all...] |
/third_party/libwebsockets/lib/misc/cache-ttl/ |
H A D | file.c | 430 struct nsc_lookup_ctx *ctx = (struct nsc_lookup_ctx *)opaque; in nsc_lookup_cb() local 436 if (ctx->match) in nsc_lookup_cb() 437 ctx->match->payload_size += size; in nsc_lookup_cb() 448 ctx->match = NULL; /* new SOL means stop tracking payload len */ in nsc_lookup_cb() 454 ctx->wildcard_key, tag, 1)) in nsc_lookup_cb() 464 ctx->match = lws_fi(&cache->cache.info.cx->fic, "cache_lookup_oom") ? NULL : in nsc_lookup_cb() 465 lws_malloc(sizeof(*ctx->match) + (unsigned int)tl + 1u, in nsc_lookup_cb() 467 if (!ctx->match) in nsc_lookup_cb() 471 ctx->match->payload_size = size; in nsc_lookup_cb() 472 ctx in nsc_lookup_cb() 488 struct nsc_lookup_ctx ctx; lws_cache_nscookiejar_lookup() local 543 struct nsc_regen_ctx *ctx = (struct nsc_regen_ctx *)opaque; nsc_regen_cb() local 602 struct nsc_regen_ctx ctx; nsc_regen() local 745 struct nsc_get_ctx *ctx = (struct nsc_get_ctx *)opaque; nsc_get_cb() local 832 struct nsc_get_ctx ctx; lws_cache_nscookiejar_get() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_conf.c | 22 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, 26 X509V3_CTX *ctx); 31 static unsigned char *generic_asn1(const char *value, X509V3_CTX *ctx, 34 static X509_EXTENSION *X509V3_EXT_nconf_int(CONF *conf, X509V3_CTX *ctx, in X509V3_EXT_nconf_int() argument 44 return v3_generic_extension(name, value, crit, ext_type, ctx); in X509V3_EXT_nconf_int() 45 ret = do_ext_nconf(conf, ctx, OBJ_sn2nid(name), crit, value); in X509V3_EXT_nconf_int() 58 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, const char *name, in X509V3_EXT_nconf() argument 61 return X509V3_EXT_nconf_int(conf, ctx, NULL, name, value); in X509V3_EXT_nconf() 64 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, in X509V3_EXT_nconf_nid() argument 73 value, crit, ext_type, ctx); in X509V3_EXT_nconf_nid() 79 do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, int crit, const char *value) do_ext_nconf() argument 234 v3_generic_extension(const char *ext, const char *value, int crit, int gen_type, X509V3_CTX *ctx) v3_generic_extension() argument 280 generic_asn1(const char *value, X509V3_CTX *ctx, long *ext_len) generic_asn1() argument 309 X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, const char *section, STACK_OF(X509_EXTENSION) **sk) X509V3_EXT_add_nconf_sk() argument 341 X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, X509 *cert) X509V3_EXT_add_nconf() argument 354 X509V3_EXT_CRL_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, X509_CRL *crl) X509V3_EXT_CRL_add_nconf() argument 367 X509V3_EXT_REQ_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, X509_REQ *req) X509V3_EXT_REQ_add_nconf() argument 381 X509V3_get_string(X509V3_CTX *ctx, const char *name, const char *section) X509V3_get_string() argument 403 X509V3_string_free(X509V3_CTX *ctx, char *str) X509V3_string_free() argument 411 X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section) X509V3_section_free() argument 436 X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf) X509V3_set_nconf() argument 446 X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subj, X509_REQ *req, X509_CRL *crl, int flags) X509V3_set_ctx() argument 464 X509V3_set_issuer_pkey(X509V3_CTX *ctx, EVP_PKEY *pkey) X509V3_set_issuer_pkey() argument 527 X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash) X509V3_set_conf_lhash() argument [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_conf.c | 22 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, 26 X509V3_CTX *ctx); 31 static unsigned char *generic_asn1(const char *value, X509V3_CTX *ctx, 34 static X509_EXTENSION *X509V3_EXT_nconf_int(CONF *conf, X509V3_CTX *ctx, in X509V3_EXT_nconf_int() argument 44 return v3_generic_extension(name, value, crit, ext_type, ctx); in X509V3_EXT_nconf_int() 45 ret = do_ext_nconf(conf, ctx, OBJ_sn2nid(name), crit, value); in X509V3_EXT_nconf_int() 58 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, const char *name, in X509V3_EXT_nconf() argument 61 return X509V3_EXT_nconf_int(conf, ctx, NULL, name, value); in X509V3_EXT_nconf() 64 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, in X509V3_EXT_nconf_nid() argument 73 value, crit, ext_type, ctx); in X509V3_EXT_nconf_nid() 79 do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, int crit, const char *value) do_ext_nconf() argument 234 v3_generic_extension(const char *ext, const char *value, int crit, int gen_type, X509V3_CTX *ctx) v3_generic_extension() argument 280 generic_asn1(const char *value, X509V3_CTX *ctx, long *ext_len) generic_asn1() argument 309 X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, const char *section, STACK_OF(X509_EXTENSION) **sk) X509V3_EXT_add_nconf_sk() argument 341 X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, X509 *cert) X509V3_EXT_add_nconf() argument 354 X509V3_EXT_CRL_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, X509_CRL *crl) X509V3_EXT_CRL_add_nconf() argument 367 X509V3_EXT_REQ_add_nconf(CONF *conf, X509V3_CTX *ctx, const char *section, X509_REQ *req) X509V3_EXT_REQ_add_nconf() argument 381 X509V3_get_string(X509V3_CTX *ctx, const char *name, const char *section) X509V3_get_string() argument 403 X509V3_string_free(X509V3_CTX *ctx, char *str) X509V3_string_free() argument 411 X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section) X509V3_section_free() argument 436 X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf) X509V3_set_nconf() argument 446 X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subj, X509_REQ *req, X509_CRL *crl, int flags) X509V3_set_ctx() argument 464 X509V3_set_issuer_pkey(X509V3_CTX *ctx, EVP_PKEY *pkey) X509V3_set_issuer_pkey() argument 527 X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash) X509V3_set_conf_lhash() argument [all...] |
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | evp.h | 122 int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)); 124 int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, 128 int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, 134 int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx)); 136 int EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd, 143 int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx); 145 int (*EVP_MD_meth_get_update(const EVP_MD *md))(EVP_MD_CTX *ctx, 148 int (*EVP_MD_meth_get_final(const EVP_MD *md))(EVP_MD_CTX *ctx, 154 int (*EVP_MD_meth_get_cleanup(const EVP_MD *md))(EVP_MD_CTX *ctx); 156 int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, in [all...] |
/third_party/openssl/include/openssl/ |
H A D | evp.h | 120 int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)); 122 int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, 126 int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, 132 int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx)); 134 int EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd, 141 int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx); 143 int (*EVP_MD_meth_get_update(const EVP_MD *md))(EVP_MD_CTX *ctx, 146 int (*EVP_MD_meth_get_final(const EVP_MD *md))(EVP_MD_CTX *ctx, 152 int (*EVP_MD_meth_get_cleanup(const EVP_MD *md))(EVP_MD_CTX *ctx); 154 int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, in [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/ |
H A D | avctp_br_l2cap.h | 27 void *ctx; member 35 void *ctx; member 42 void *ctx; member 49 void *ctx; member 55 void *ctx; member 60 void *ctx; member 66 void *ctx; member 72 void *ctx; member 78 void *ctx; member 90 uint16_t lcid, uint8_t id, const L2capConnectionInfo *info, uint16_t lpsm, void *ctx); [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
H A D | hantro_hw.h | 136 int (*init)(struct hantro_ctx *ctx); 137 void (*exit)(struct hantro_ctx *ctx); 138 void (*run)(struct hantro_ctx *ctx); 139 void (*done)(struct hantro_ctx *ctx); 140 void (*reset)(struct hantro_ctx *ctx); 163 void hantro_run(struct hantro_ctx *ctx); 166 void hantro_start_prepare_run(struct hantro_ctx *ctx); 167 void hantro_end_prepare_run(struct hantro_ctx *ctx); 169 void hantro_h1_jpeg_enc_run(struct hantro_ctx *ctx); 170 void rk3399_vpu_jpeg_enc_run(struct hantro_ctx *ctx); [all...] |
/third_party/musl/porting/liteos_a/user/src/network/ |
H A D | if_nameindex.c | 28 struct ifnameindexctx *ctx = pctx; in netlink_msg_to_nameindex() local 53 i = ctx->hash[bucket]; in netlink_msg_to_nameindex() 55 map = &ctx->list[i-1]; in netlink_msg_to_nameindex() 63 if (ctx->num >= ctx->allocated) { in netlink_msg_to_nameindex() 64 size_t a = ctx->allocated ? ctx->allocated * 2 + 1 : 8; in netlink_msg_to_nameindex() 66 map = realloc(ctx->list, a * sizeof *map); in netlink_msg_to_nameindex() 68 ctx->list = map; in netlink_msg_to_nameindex() 69 ctx in netlink_msg_to_nameindex() 86 struct ifnameindexctx _ctx, *ctx = &_ctx; if_nameindex() local [all...] |
/third_party/musl/src/network/ |
H A D | if_nameindex.c | 27 struct ifnameindexctx *ctx = pctx; in netlink_msg_to_nameindex() local 52 i = ctx->hash[bucket]; in netlink_msg_to_nameindex() 54 map = &ctx->list[i-1]; in netlink_msg_to_nameindex() 62 if (ctx->num >= ctx->allocated) { in netlink_msg_to_nameindex() 63 size_t a = ctx->allocated ? ctx->allocated * 2 + 1 : 8; in netlink_msg_to_nameindex() 65 map = realloc(ctx->list, a * sizeof *map); in netlink_msg_to_nameindex() 67 ctx->list = map; in netlink_msg_to_nameindex() 68 ctx in netlink_msg_to_nameindex() 85 struct ifnameindexctx _ctx, *ctx = &_ctx; if_nameindex() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_hw.c | 17 PROV_CHACHA20_CTX *ctx = (PROV_CHACHA20_CTX *)bctx; in chacha20_initkey() local 22 ctx->key.d[i / 4] = CHACHA_U8TOU32(key + i); in chacha20_initkey() 24 ctx->partial_len = 0; in chacha20_initkey() 30 PROV_CHACHA20_CTX *ctx = (PROV_CHACHA20_CTX *)bctx; in chacha20_initiv() local 35 ctx->counter[i / 4] = CHACHA_U8TOU32(bctx->oiv + i); in chacha20_initiv() 37 ctx->partial_len = 0; in chacha20_initiv() 44 PROV_CHACHA20_CTX *ctx = (PROV_CHACHA20_CTX *)bctx; in chacha20_cipher() local 47 n = ctx->partial_len; in chacha20_cipher() 50 *out++ = *in++ ^ ctx->buf[n++]; in chacha20_cipher() 53 ctx in chacha20_cipher() [all...] |