Searched refs:ctx (Results 451 - 475 of 3477) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_attach_probe.c37 int handle_uprobe_ref_ctr(struct pt_regs *ctx) argument
43 int handle_uretprobe_ref_ctr(struct pt_regs *ctx) argument
49 int handle_uprobe_byname(struct pt_regs *ctx) argument
57 int handle_uretprobe_byname(struct pt_regs *ctx) argument
91 int handle_uprobe_byname3_sleepable(struct pt_regs *ctx) argument
103 int handle_uprobe_byname3(struct pt_regs *ctx) argument
110 int handle_uretprobe_byname3_sleepable(struct pt_regs *ctx) argument
118 int handle_uretprobe_byname3(struct pt_regs *ctx) argument
H A Dbpf_iter_tasks.c14 int dump_task(struct bpf_iter__task *ctx) argument
16 struct seq_file *seq = ctx->meta->seq;
17 struct task_struct *task = ctx->task;
30 if (ctx->meta->seq_num == 0)
41 int dump_task_sleepable(struct bpf_iter__task *ctx) argument
43 struct seq_file *seq = ctx->meta->seq;
44 struct task_struct *task = ctx->task;
83 if (ctx->meta->seq_num == 0)
H A Diters_state_safety.c19 int force_clang_to_emit_btf_for_externs(void *ctx) argument
34 int create_and_destroy(void *ctx) argument
57 int create_and_forget_to_destroy_fail(void *ctx) argument
77 int destroy_without_creating_fail(void *ctx) argument
95 int compromise_iter_w_direct_write_fail(void *ctx) argument
122 int compromise_iter_w_direct_write_and_skip_destroy_fail(void *ctx) argument
147 int compromise_iter_w_helper_write_fail(void *ctx) argument
190 int leak_iter_from_subprog_fail(void *ctx) argument
200 int valid_stack_reuse(void *ctx) argument
234 int double_create_fail(void *ctx) argument
262 double_destroy_fail(void *ctx) argument
288 next_without_new_fail(void *ctx) argument
309 next_after_destroy_fail(void *ctx) argument
[all...]
H A Dsock_destroy_prog.c28 int sock_connect(struct bpf_sock_addr *ctx) argument
34 if (ctx->family != AF_INET6 || ctx->user_family != AF_INET6)
37 sock_cookie = bpf_get_socket_cookie(ctx);
38 if (ctx->protocol == IPPROTO_TCP)
40 else if (ctx->protocol == IPPROTO_UDP)
49 int iter_tcp6_client(struct bpf_iter__tcp *ctx) argument
51 struct sock_common *sk_common = ctx->sk_common;
74 int iter_tcp6_server(struct bpf_iter__tcp *ctx) argument
76 struct sock_common *sk_common = ctx
105 iter_udp6_client(struct bpf_iter__udp *ctx) argument
127 iter_udp6_server(struct bpf_iter__udp *ctx) argument
[all...]
H A Dperf_event_stackmap.c31 int oncpu(void *ctx) argument
37 val = bpf_get_stackid(ctx, &stackmap, 0);
40 val = bpf_get_stackid(ctx, &stackmap, BPF_F_USER_STACK);
48 val = bpf_get_stack(ctx, trace, sizeof(stack_trace_t), 0);
52 val = bpf_get_stack(ctx, trace, sizeof(stack_trace_t), BPF_F_USER_STACK);
H A Dtest_verif_scale2.c9 int balancer_ingress(struct __sk_buff *ctx) argument
11 void *data_end = (void *)(long)ctx->data_end;
12 void *data = (void *)(long)ctx->data;
24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
H A Dtest_verif_scale1.c9 int balancer_ingress(struct __sk_buff *ctx) argument
11 void *data_end = (void *)(long)ctx->data_end;
12 void *data = (void *)(long)ctx->data;
24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
H A Dtest_verif_scale3.c9 int balancer_ingress(struct __sk_buff *ctx) argument
11 void *data_end = (void *)(long)ctx->data_end;
12 void *data = (void *)(long)ctx->data;
24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
/linux-master/fs/smb/common/
H A Darc4.h20 int cifs_arc4_setkey(struct arc4_ctx *ctx, const u8 *in_key, unsigned int key_len);
21 void cifs_arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len);
/linux-master/io_uring/
H A Dwaitid.h12 int io_waitid_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd,
14 bool io_waitid_remove_all(struct io_ring_ctx *ctx, struct task_struct *task,
/linux-master/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c63 struct rotate_ctx *ctx = priv; local
64 struct rotate_dev *dev = ctx->dev;
70 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx);
71 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx);
76 if (ctx->hflip)
78 if (ctx->vflip)
80 val |= ROTATE_GLB_CTL_ROTATION(ctx->rotate / 90);
81 if (ctx->rotate != 90 && ctx->rotate != 270)
87 fmt = rotate_find_format(ctx
143 struct rotate_ctx *ctx; local
258 rotate_set_cap_format(struct rotate_ctx *ctx, struct v4l2_pix_format *f, u32 rotate) argument
291 struct rotate_ctx *ctx = rotate_file2ctx(file); local
301 struct rotate_ctx *ctx = rotate_file2ctx(file); local
311 struct rotate_ctx *ctx = rotate_file2ctx(file); local
342 struct rotate_ctx *ctx = rotate_file2ctx(file); local
362 struct rotate_ctx *ctx = rotate_file2ctx(file); local
428 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); local
450 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); local
469 struct rotate_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); local
476 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); local
493 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); local
511 struct rotate_ctx *ctx = vb2_get_drv_priv(vq); local
532 struct rotate_ctx *ctx = priv; local
570 struct rotate_ctx *ctx = container_of(ctrl->handler, local
613 rotate_setup_ctrls(struct rotate_ctx *ctx) argument
641 struct rotate_ctx *ctx = NULL; local
696 struct rotate_ctx *ctx = container_of(file->private_data, local
[all...]
/linux-master/fs/xfs/
H A Dxfs_log_cil.c101 struct xfs_cil_ctx *ctx; local
103 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL | __GFP_NOFAIL);
104 INIT_LIST_HEAD(&ctx->committing);
105 INIT_LIST_HEAD(&ctx->busy_extents.extent_list);
106 INIT_LIST_HEAD(&ctx->log_items);
107 INIT_LIST_HEAD(&ctx->lv_chain);
108 INIT_WORK(&ctx->push_work, xlog_cil_push_work);
109 return ctx;
121 struct xfs_cil_ctx *ctx)
119 xlog_cil_push_pcp_aggregate( struct xfs_cil *cil, struct xfs_cil_ctx *ctx) argument
155 xlog_cil_insert_pcp_aggregate( struct xfs_cil *cil, struct xfs_cil_ctx *ctx) argument
187 xlog_cil_ctx_switch( struct xfs_cil *cil, struct xfs_cil_ctx *ctx) argument
556 struct xfs_cil_ctx *ctx = cil->xc_ctx; local
716 xlog_cil_committed( struct xfs_cil_ctx *ctx) argument
763 struct xfs_cil_ctx *ctx; local
779 xlog_cil_set_ctx_write_state( struct xfs_cil_ctx *ctx, struct xlog_in_core *iclog) argument
859 struct xfs_cil_ctx *ctx; local
908 xlog_cil_write_chain( struct xfs_cil_ctx *ctx, uint32_t chain_len) argument
928 xlog_cil_write_commit_record( struct xfs_cil_ctx *ctx) argument
984 xlog_cil_build_trans_hdr( struct xfs_cil_ctx *ctx, struct xlog_cil_trans_hdr *hdr, struct xfs_log_vec *lvhdr, int num_iovecs) argument
1059 xlog_cil_build_lv_chain( struct xfs_cil_ctx *ctx, struct list_head *whiteouts, uint32_t *num_iovecs, uint32_t *num_bytes) argument
1131 struct xfs_cil_ctx *ctx = local
1664 struct xfs_cil_ctx *ctx; local
1757 struct xfs_cil_ctx *ctx; local
[all...]
/linux-master/drivers/staging/media/imx/
H A Dimx-media-csc-scaler.c69 static struct ipu_csc_scaler_q_data *get_q_data(struct ipu_csc_scaler_ctx *ctx, argument
73 return &ctx->q_data[V4L2_M2M_SRC];
75 return &ctx->q_data[V4L2_M2M_DST];
84 struct ipu_csc_scaler_ctx *ctx = _ctx; local
86 if (ctx->icc)
87 ipu_image_convert_abort(ctx->icc);
92 struct ipu_csc_scaler_ctx *ctx = _ctx; local
93 struct ipu_csc_scaler_priv *priv = ctx->priv;
96 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx);
97 dst_buf = v4l2_m2m_dst_buf_remove(ctx
115 struct ipu_csc_scaler_ctx *ctx = _ctx; local
182 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); local
195 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); local
244 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); local
299 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); local
337 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(priv); local
424 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(vq); local
450 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(vq); local
483 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); local
505 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(q); local
552 struct ipu_csc_scaler_ctx *ctx = vb2_get_drv_priv(q); local
584 struct ipu_csc_scaler_ctx *ctx = priv; local
618 struct ipu_csc_scaler_ctx *ctx = container_of(ctrl->handler, local
709 ipu_csc_scaler_init_controls(struct ipu_csc_scaler_ctx *ctx) argument
755 struct ipu_csc_scaler_ctx *ctx = NULL; local
802 struct ipu_csc_scaler_ctx *ctx = fh_to_ctx(file->private_data); local
[all...]
/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_cmd.h26 int (*open_inst_cmd)(struct s5p_mfc_ctx *ctx);
27 int (*close_inst_cmd)(struct s5p_mfc_ctx *ctx);
H A Ds5p_mfc_cmd_v6.c67 static int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx) argument
69 struct s5p_mfc_dev *dev = ctx->dev;
73 mfc_debug(2, "Requested codec mode: %d\n", ctx->codec_mode);
74 dev->curr_ctx = ctx->num;
75 switch (ctx->codec_mode) {
128 mfc_write(dev, ctx->ctx.dma, S5P_FIMV_CONTEXT_MEM_ADDR_V6);
129 mfc_write(dev, ctx->ctx.size, S5P_FIMV_CONTEXT_MEM_SIZE_V6);
137 static int s5p_mfc_close_inst_cmd_v6(struct s5p_mfc_ctx *ctx) argument
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_hevc_req_multi_if.c346 * @ctx: point to mtk_vcodec_dec_ctx
361 struct mtk_vcodec_dec_ctx *ctx; member in struct:vdec_hevc_slice_inst
382 static void *vdec_hevc_get_ctrl_ptr(struct mtk_vcodec_dec_ctx *ctx, int id) argument
384 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, id);
392 static void vdec_hevc_fill_dpb_info(struct mtk_vcodec_dec_ctx *ctx, argument
401 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE);
409 dev_err(&ctx->dev->plat_dev->dev,
418 if (ctx->q_data[MTK_Q_DATA_DST].fmt->num_planes == 2)
422 hevc_dpb_info[index].y_dma_addr + ctx->picinfo.fb_sz[0];
598 vdec_hevc_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_HEVC_DECODE_PARAM
681 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; local
800 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; local
855 vdec_hevc_slice_init(struct mtk_vcodec_dec_ctx *ctx) argument
926 struct mtk_vcodec_dec_ctx *ctx = lat_buf->ctx; local
[all...]
/linux-master/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c121 static inline u32 sec_alloc_queue_id(struct sec_ctx *ctx, struct sec_req *req) argument
124 return (u32)atomic_inc_return(&ctx->enc_qcyclic) %
125 ctx->hlf_q_num;
127 return (u32)atomic_inc_return(&ctx->dec_qcyclic) % ctx->hlf_q_num +
128 ctx->hlf_q_num;
131 static inline void sec_free_queue_id(struct sec_ctx *ctx, struct sec_req *req) argument
134 atomic_dec(&ctx->enc_qcyclic);
136 atomic_dec(&ctx->dec_qcyclic);
147 dev_err(req->ctx
206 struct sec_ctx *ctx = req->ctx; local
239 struct sec_ctx *ctx; local
277 sec_bd_send(struct sec_ctx *ctx, struct sec_req *req) argument
434 sec_alg_resource_alloc(struct sec_ctx *ctx, struct sec_qp_ctx *qp_ctx) argument
475 sec_alg_resource_free(struct sec_ctx *ctx, struct sec_qp_ctx *qp_ctx) argument
488 sec_alloc_qp_ctx_resource(struct sec_ctx *ctx, struct sec_qp_ctx *qp_ctx) argument
532 sec_free_qp_ctx_resource(struct sec_ctx *ctx, struct sec_qp_ctx *qp_ctx) argument
543 sec_create_qp_ctx(struct sec_ctx *ctx, int qp_ctx_id) argument
579 sec_release_qp_ctx(struct sec_ctx *ctx, struct sec_qp_ctx *qp_ctx) argument
587 sec_ctx_base_init(struct sec_ctx *ctx) argument
631 sec_ctx_base_uninit(struct sec_ctx *ctx) argument
642 sec_cipher_init(struct sec_ctx *ctx) argument
654 sec_cipher_uninit(struct sec_ctx *ctx) argument
663 sec_auth_init(struct sec_ctx *ctx) argument
675 sec_auth_uninit(struct sec_ctx *ctx) argument
687 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); local
708 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); local
742 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); local
753 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); local
824 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); local
886 sec_cipher_pbuf_map(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src) argument
924 sec_cipher_pbuf_unmap(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *dst) argument
964 sec_cipher_map(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src, struct scatterlist *dst) argument
1034 sec_cipher_unmap(struct sec_ctx *ctx, struct sec_req *req, struct scatterlist *src, struct scatterlist *dst) argument
1050 sec_skcipher_sgl_map(struct sec_ctx *ctx, struct sec_req *req) argument
1057 sec_skcipher_sgl_unmap(struct sec_ctx *ctx, struct sec_req *req) argument
1086 sec_aead_auth_set_key(struct sec_auth_ctx *ctx, struct crypto_authenc_keys *keys) argument
1118 struct sec_ctx *ctx = crypto_tfm_ctx(tfm); local
1143 struct sec_ctx *ctx = crypto_aead_ctx(tfm); local
1225 sec_aead_sgl_map(struct sec_ctx *ctx, struct sec_req *req) argument
1232 sec_aead_sgl_unmap(struct sec_ctx *ctx, struct sec_req *req) argument
1239 sec_request_transfer(struct sec_ctx *ctx, struct sec_req *req) argument
1260 sec_request_untransfer(struct sec_ctx *ctx, struct sec_req *req) argument
1265 sec_skcipher_copy_iv(struct sec_ctx *ctx, struct sec_req *req) argument
1273 sec_skcipher_bd_fill(struct sec_ctx *ctx, struct sec_req *req) argument
1324 sec_skcipher_bd_fill_v3(struct sec_ctx *ctx, struct sec_req *req) argument
1422 sec_back_req_clear(struct sec_ctx *ctx, struct sec_qp_ctx *qp_ctx) argument
1440 sec_skcipher_callback(struct sec_ctx *ctx, struct sec_req *req, int err) argument
1468 set_aead_auth_iv(struct sec_ctx *ctx, struct sec_req *req) argument
1511 sec_aead_set_iv(struct sec_ctx *ctx, struct sec_req *req) argument
1538 sec_auth_bd_fill_xcm(struct sec_auth_ctx *ctx, int dir, struct sec_req *req, struct sec_sqe *sec_sqe) argument
1564 sec_auth_bd_fill_xcm_v3(struct sec_auth_ctx *ctx, int dir, struct sec_req *req, struct sec_sqe3 *sqe3) argument
1589 sec_auth_bd_fill_ex(struct sec_auth_ctx *ctx, int dir, struct sec_req *req, struct sec_sqe *sec_sqe) argument
1622 sec_aead_bd_fill(struct sec_ctx *ctx, struct sec_req *req) argument
1643 sec_auth_bd_fill_ex_v3(struct sec_auth_ctx *ctx, int dir, struct sec_req *req, struct sec_sqe3 *sqe3) argument
1677 sec_aead_bd_fill_v3(struct sec_ctx *ctx, struct sec_req *req) argument
1744 sec_request_uninit(struct sec_ctx *ctx, struct sec_req *req) argument
1750 sec_request_init(struct sec_ctx *ctx, struct sec_req *req) argument
1768 sec_process(struct sec_ctx *ctx, struct sec_req *req) argument
1854 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); local
1879 struct sec_ctx *ctx = crypto_aead_ctx(tfm); local
1921 struct sec_ctx *ctx = crypto_aead_ctx(tfm); local
1930 struct sec_ctx *ctx = crypto_aead_ctx(tfm); local
1952 struct sec_ctx *ctx = crypto_aead_ctx(tfm); local
1961 struct sec_ctx *ctx = crypto_aead_ctx(tfm); local
1987 struct sec_ctx *ctx = crypto_aead_ctx(tfm); local
2008 sec_skcipher_cryptlen_check(struct sec_ctx *ctx, struct sec_req *sreq) argument
2043 sec_skcipher_param_check(struct sec_ctx *ctx, struct sec_req *sreq) argument
2076 sec_skcipher_soft_crypto(struct sec_ctx *ctx, struct skcipher_request *sreq, bool encrypt) argument
2110 struct sec_ctx *ctx = crypto_skcipher_ctx(tfm); local
2230 sec_aead_spec_check(struct sec_ctx *ctx, struct sec_req *sreq) argument
2278 sec_aead_param_check(struct sec_ctx *ctx, struct sec_req *sreq) argument
2317 sec_aead_soft_crypto(struct sec_ctx *ctx, struct aead_request *aead_req, bool encrypt) argument
2356 struct sec_ctx *ctx = crypto_aead_ctx(tfm); local
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c112 struct qat_alg_aead_ctx *ctx,
116 SHASH_DESC_ON_STACK(shash, ctx->hash_tfm);
117 int block_size = crypto_shash_blocksize(ctx->hash_tfm);
118 int digest_size = crypto_shash_digestsize(ctx->hash_tfm);
123 memset(ctx->ipad, 0, block_size);
124 memset(ctx->opad, 0, block_size);
125 shash->tfm = ctx->hash_tfm;
129 auth_keylen, ctx->ipad);
133 memcpy(ctx->opad, ctx
111 qat_alg_do_precomputes(struct icp_qat_hw_auth_algo_blk *hash, struct qat_alg_aead_ctx *ctx, const u8 *auth_key, unsigned int auth_keylen) argument
241 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); local
322 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); local
409 qat_alg_skcipher_init_com(struct qat_alg_skcipher_ctx *ctx, struct icp_qat_fw_la_bulk_req *req, struct icp_qat_hw_cipher_algo_blk *cd, const u8 *key, unsigned int keylen) argument
451 qat_alg_skcipher_init_enc(struct qat_alg_skcipher_ctx *ctx, int alg, const u8 *key, unsigned int keylen, int mode) argument
486 qat_alg_skcipher_init_dec(struct qat_alg_skcipher_ctx *ctx, int alg, const u8 *key, unsigned int keylen, int mode) argument
574 qat_alg_skcipher_init_sessions(struct qat_alg_skcipher_ctx *ctx, const u8 *key, unsigned int keylen, int mode) argument
592 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); local
606 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); local
658 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); local
669 struct qat_alg_aead_ctx *ctx = qat_req->aead_ctx; local
718 struct qat_alg_skcipher_ctx *ctx = qat_req->skcipher_ctx; local
739 struct qat_alg_skcipher_ctx *ctx = qat_req->skcipher_ctx; local
787 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); local
833 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); local
875 qat_alg_skcipher_rekey(struct qat_alg_skcipher_ctx *ctx, const u8 *key, unsigned int keylen, int mode) argument
887 qat_alg_skcipher_newkey(struct qat_alg_skcipher_ctx *ctx, const u8 *key, unsigned int keylen, int mode) argument
942 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); local
969 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); local
1003 struct qat_alg_skcipher_ctx *ctx = qat_req->skcipher_ctx; local
1021 struct qat_alg_skcipher_ctx *ctx = crypto_tfm_ctx(tfm); local
1069 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(stfm); local
1088 struct qat_alg_skcipher_ctx *ctx = crypto_tfm_ctx(tfm); local
1137 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(stfm); local
1156 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); local
1183 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); local
1214 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); local
1238 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); local
1265 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm); local
[all...]
/linux-master/drivers/crypto/aspeed/
H A Daspeed-acry.c149 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); local
152 akcipher_request_set_tfm(req, ctx->fallback_tfm);
154 if (ctx->enc)
167 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); local
169 return ctx->key.n_sz > ASPEED_ACRY_RSA_MAX_KEY_LEN;
187 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); local
188 struct aspeed_acry_dev *acry_dev = ctx->acry_dev;
193 return ctx->trigger(acry_dev);
351 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); local
354 if (!ctx
416 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); local
428 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); local
442 aspeed_rsa_set_n(struct aspeed_acry_ctx *ctx, u8 *value, size_t len) argument
453 aspeed_rsa_set_e(struct aspeed_acry_ctx *ctx, u8 *value, size_t len) argument
464 aspeed_rsa_set_d(struct aspeed_acry_ctx *ctx, u8 *value, size_t len) argument
475 aspeed_rsa_key_free(struct aspeed_acry_ctx *ctx) argument
488 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); local
536 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); local
550 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); local
562 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); local
572 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); local
594 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); local
[all...]
/linux-master/net/tls/
H A Dtls_toe.c49 struct tls_context *ctx = tls_get_ctx(sk); local
51 ctx->sk_destruct(sk);
52 /* Free ctx */
54 tls_ctx_free(sk, ctx);
60 struct tls_context *ctx; local
66 ctx = tls_ctx_create(sk);
67 if (!ctx)
70 ctx->sk_destruct = sk->sk_destruct;
72 ctx->rx_conf = TLS_HW_RECORD;
73 ctx
86 struct tls_context *ctx = tls_get_ctx(sk); local
105 struct tls_context *ctx = tls_get_ctx(sk); local
[all...]
/linux-master/drivers/acpi/
H A Dacpi_pcc.c37 struct acpi_pcc_info ctx; member in struct:pcc_data
54 struct acpi_pcc_info *ctx = handler_context; local
64 data->ctx.length = ctx->length;
65 data->ctx.subspace_id = ctx->subspace_id;
66 data->ctx.internal_buffer = ctx->internal_buffer;
69 data->pcc_chan = pcc_mbox_request_channel(&data->cl, ctx->subspace_id);
72 ctx
[all...]
/linux-master/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-m2m.c82 mxc_isi_m2m_ctx_qdata(struct mxc_isi_m2m_ctx *ctx, enum v4l2_buf_type type) argument
85 return &ctx->queues.out;
87 return &ctx->queues.cap;
98 struct mxc_isi_m2m_ctx *ctx; local
100 ctx = v4l2_m2m_get_curr_priv(m2m->m2m_dev);
101 if (!ctx) {
107 src_vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx);
108 dst_vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx);
112 src_vbuf->sequence = ctx->queues.out.sequence++;
113 dst_vbuf->sequence = ctx
123 struct mxc_isi_m2m_ctx *ctx = priv; local
197 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(q); local
209 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(vb2->vb2_queue); local
222 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(vq); local
233 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(vb2->vb2_queue); local
241 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(q); local
252 struct mxc_isi_m2m_ctx *ctx = vb2_get_drv_priv(q); local
281 struct mxc_isi_m2m_ctx *ctx = priv; local
324 struct mxc_isi_m2m_ctx *ctx = ctrl_to_mxc_isi_m2m_ctx(ctrl); local
347 mxc_isi_m2m_ctx_ctrls_create(struct mxc_isi_m2m_ctx *ctx) argument
372 mxc_isi_m2m_ctx_ctrls_delete(struct mxc_isi_m2m_ctx *ctx) argument
412 __mxc_isi_m2m_try_fmt_vid(struct mxc_isi_m2m_ctx *ctx, struct v4l2_pix_format_mplane *pix, const enum mxc_isi_video_type type) argument
431 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(fh); local
441 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(fh); local
456 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(fh); local
488 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(fh); local
571 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(fh); local
635 mxc_isi_m2m_init_format(struct mxc_isi_m2m_ctx *ctx, struct mxc_isi_m2m_ctx_queue_data *qdata, enum mxc_isi_video_type type) argument
650 struct mxc_isi_m2m_ctx *ctx; local
700 struct mxc_isi_m2m_ctx *ctx = to_isi_m2m_ctx(file->private_data); local
[all...]
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_rename.c8 static struct ctx { struct
12 } ctx; variable in typeref:struct:ctx
32 err = write(ctx.fd, buf, sizeof(buf));
37 atomic_inc(&ctx.hits.value);
43 res->hits = atomic_swap(&ctx.hits.value, 0);
50 ctx.skel = test_overhead__open_and_load();
51 if (!ctx.skel) {
56 ctx.fd = open("/proc/self/comm", O_WRONLY|O_TRUNC);
57 if (ctx.fd < 0) {
82 attach_bpf(ctx
[all...]
/linux-master/crypto/
H A Decdsa.c94 static int _ecdsa_verify(struct ecc_ctx *ctx, const u64 *hash, const u64 *r, const u64 *s) argument
96 const struct ecc_curve *curve = ctx->curve;
121 ecc_point_mult_shamir(&res, u1, &curve->g, u2, &ctx->pub_key, curve);
140 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local
141 size_t keylen = ctx->curve->g.ndigits * sizeof(u64);
143 .curve = ctx->curve,
151 if (unlikely(!ctx->pub_key_set))
178 ecc_swap_digits((u64 *)rawhash, hash, ctx->curve->g.ndigits);
180 ret = _ecdsa_verify(ctx, hash, sig_ctx.r, sig_ctx.s);
188 static int ecdsa_ecc_ctx_init(struct ecc_ctx *ctx, unsigne argument
199 ecdsa_ecc_ctx_deinit(struct ecc_ctx *ctx) argument
204 ecdsa_ecc_ctx_reset(struct ecc_ctx *ctx) argument
224 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local
256 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local
263 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local
270 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local
292 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local
314 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); local
[all...]
/linux-master/drivers/gpu/host1x/
H A Ddebug.h16 void (*fn)(void *ctx, const char *str, size_t len, bool cont);
17 void *ctx; member in struct:output
21 static inline void write_to_seqfile(void *ctx, const char *str, size_t len, argument
24 seq_write((struct seq_file *)ctx, str, len);
27 static inline void write_to_printk(void *ctx, const char *str, size_t len, argument

Completed in 226 milliseconds

<<11121314151617181920>>