/kernel/linux/linux-5.10/drivers/net/ |
H A D | gtp.c | 86 static void pdp_context_delete(struct pdp_ctx *pctx); 153 static bool gtp_check_ms_ipv4(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms_ipv4() argument 164 return iph->daddr == pctx->ms_addr_ip4.s_addr; in gtp_check_ms_ipv4() 166 return iph->saddr == pctx->ms_addr_ip4.s_addr; in gtp_check_ms_ipv4() 172 static bool gtp_check_ms(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms() argument 177 return gtp_check_ms_ipv4(skb, pctx, hdrlen, role); in gtp_check_ms() 182 static int gtp_rx(struct pdp_ctx *pctx, struct sk_buff *skb, in gtp_rx() argument 185 if (!gtp_check_ms(skb, pctx, hdrlen, role)) { in gtp_rx() 186 netdev_dbg(pctx->dev, "No PDP ctx for this MS\n"); in gtp_rx() 192 !net_eq(sock_net(pctx in gtp_rx() 217 struct pdp_ctx *pctx; gtp0_udp_encap_recv() local 244 struct pdp_ctx *pctx; gtp1u_udp_encap_recv() local 400 gtp0_push_header(struct sk_buff *skb, struct pdp_ctx *pctx) gtp0_push_header() argument 417 gtp1_push_header(struct sk_buff *skb, struct pdp_ctx *pctx) gtp1_push_header() argument 445 struct pdp_ctx *pctx; global() member 464 gtp_set_pktinfo_ipv4(struct gtp_pktinfo *pktinfo, struct sock *sk, struct iphdr *iph, struct pdp_ctx *pctx, struct rtable *rt, struct flowi4 *fl4, struct net_device *dev) gtp_set_pktinfo_ipv4() argument 482 struct pdp_ctx *pctx; gtp_build_skb_ip4() local 706 struct pdp_ctx *pctx; gtp_dellink() local 903 ipv4_pdp_fill(struct pdp_ctx *pctx, struct genl_info *info) ipv4_pdp_fill() argument 933 struct pdp_ctx *pctx, *pctx_tid = NULL; gtp_pdp_add() local 1025 struct pdp_ctx *pctx = container_of(head, struct pdp_ctx, rcu_head); pdp_context_free() local 1031 pdp_context_delete(struct pdp_ctx *pctx) pdp_context_delete() argument 1043 struct pdp_ctx *pctx; gtp_genl_new_pdp() local 1132 struct pdp_ctx *pctx; gtp_find_pdp() local 1147 struct pdp_ctx *pctx; gtp_genl_del_pdp() local 1186 gtp_genl_fill_info(struct sk_buff *skb, u32 snd_portid, u32 snd_seq, int flags, u32 type, struct pdp_ctx *pctx) gtp_genl_fill_info() argument 1223 gtp_tunnel_notify(struct pdp_ctx *pctx, u8 cmd, gfp_t allocation) gtp_tunnel_notify() argument 1245 struct pdp_ctx *pctx = NULL; gtp_genl_get_pdp() local 1287 struct pdp_ctx *pctx; gtp_genl_dump_pdp() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
H A D | delta-mjpeg-dec.c | 171 static bool delta_mjpeg_check_status(struct delta_ctx *pctx, in delta_mjpeg_check_status() argument 174 struct delta_dev *delta = pctx->dev; in delta_mjpeg_check_status() 183 pctx->name, pctx->decoded_frames, in delta_mjpeg_check_status() 185 pctx->stream_errors++; in delta_mjpeg_check_status() 189 pctx->name, pctx->decoded_frames, in delta_mjpeg_check_status() 191 pctx->decode_errors++; in delta_mjpeg_check_status() 197 "%s firmware: decoding time(us)=%d\n", pctx->name, in delta_mjpeg_check_status() 203 static int delta_mjpeg_ipc_open(struct delta_ctx *pctx) in delta_mjpeg_ipc_open() argument 242 delta_mjpeg_ipc_decode(struct delta_ctx *pctx, struct delta_au *au) delta_mjpeg_ipc_decode() argument 323 delta_mjpeg_open(struct delta_ctx *pctx) delta_mjpeg_open() argument 335 delta_mjpeg_close(struct delta_ctx *pctx) delta_mjpeg_close() argument 349 delta_mjpeg_get_streaminfo(struct delta_ctx *pctx, struct delta_streaminfo *streaminfo) delta_mjpeg_get_streaminfo() argument 372 delta_mjpeg_decode(struct delta_ctx *pctx, struct delta_au *pau) delta_mjpeg_decode() argument 429 delta_mjpeg_get_frame(struct delta_ctx *pctx, struct delta_frame **frame) delta_mjpeg_get_frame() argument [all...] |
H A D | delta-ipc.c | 110 int delta_ipc_open(struct delta_ctx *pctx, const char *name, in delta_ipc_open() argument 114 struct delta_dev *delta = pctx->dev; in delta_ipc_open() 116 struct delta_ipc_ctx *ctx = &pctx->ipc_ctx; in delta_ipc_open() 124 pctx->name); in delta_ipc_open() 125 pctx->sys_errors++; in delta_ipc_open() 132 pctx->name); in delta_ipc_open() 139 pctx->name); in delta_ipc_open() 146 pctx->name); in delta_ipc_open() 153 pctx->name, in delta_ipc_open() 166 ret = hw_alloc(pctx, ipc_buf_siz in delta_ipc_open() 232 struct delta_ctx *pctx = to_pctx(ctx); delta_ipc_set_stream() local 323 struct delta_ctx *pctx = to_pctx(ctx); delta_ipc_decode() local 436 struct delta_ctx *pctx = to_pctx(ctx); delta_ipc_close() local [all...] |
H A D | delta-mjpeg-hdr.c | 40 static int delta_mjpeg_read_sof(struct delta_ctx *pctx, in delta_mjpeg_read_sof() argument 44 struct delta_dev *delta = pctx->dev; in delta_mjpeg_read_sof() 65 pctx->name, header->nb_of_components, in delta_mjpeg_read_sof() 79 pctx->name, size); in delta_mjpeg_read_sof() 83 int delta_mjpeg_read_header(struct delta_ctx *pctx, in delta_mjpeg_read_header() argument 88 struct delta_dev *delta = pctx->dev; in delta_mjpeg_read_header() 112 pctx->name); in delta_mjpeg_read_header() 116 ret = delta_mjpeg_read_sof(pctx, in delta_mjpeg_read_header() 136 "%s found header @ offset %d:\n%s", pctx->name, in delta_mjpeg_read_header() 144 pctx in delta_mjpeg_read_header() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/delta/ |
H A D | delta-mjpeg-dec.c | 171 static bool delta_mjpeg_check_status(struct delta_ctx *pctx, in delta_mjpeg_check_status() argument 174 struct delta_dev *delta = pctx->dev; in delta_mjpeg_check_status() 183 pctx->name, pctx->decoded_frames, in delta_mjpeg_check_status() 185 pctx->stream_errors++; in delta_mjpeg_check_status() 189 pctx->name, pctx->decoded_frames, in delta_mjpeg_check_status() 191 pctx->decode_errors++; in delta_mjpeg_check_status() 197 "%s firmware: decoding time(us)=%d\n", pctx->name, in delta_mjpeg_check_status() 203 static int delta_mjpeg_ipc_open(struct delta_ctx *pctx) in delta_mjpeg_ipc_open() argument 242 delta_mjpeg_ipc_decode(struct delta_ctx *pctx, struct delta_au *au) delta_mjpeg_ipc_decode() argument 323 delta_mjpeg_open(struct delta_ctx *pctx) delta_mjpeg_open() argument 335 delta_mjpeg_close(struct delta_ctx *pctx) delta_mjpeg_close() argument 349 delta_mjpeg_get_streaminfo(struct delta_ctx *pctx, struct delta_streaminfo *streaminfo) delta_mjpeg_get_streaminfo() argument 372 delta_mjpeg_decode(struct delta_ctx *pctx, struct delta_au *pau) delta_mjpeg_decode() argument 429 delta_mjpeg_get_frame(struct delta_ctx *pctx, struct delta_frame **frame) delta_mjpeg_get_frame() argument [all...] |
H A D | delta-ipc.c | 110 int delta_ipc_open(struct delta_ctx *pctx, const char *name, in delta_ipc_open() argument 114 struct delta_dev *delta = pctx->dev; in delta_ipc_open() 116 struct delta_ipc_ctx *ctx = &pctx->ipc_ctx; in delta_ipc_open() 124 pctx->name); in delta_ipc_open() 125 pctx->sys_errors++; in delta_ipc_open() 132 pctx->name); in delta_ipc_open() 139 pctx->name); in delta_ipc_open() 146 pctx->name); in delta_ipc_open() 153 pctx->name, in delta_ipc_open() 166 ret = hw_alloc(pctx, ipc_buf_siz in delta_ipc_open() 231 struct delta_ctx *pctx = to_pctx(ctx); delta_ipc_set_stream() local 322 struct delta_ctx *pctx = to_pctx(ctx); delta_ipc_decode() local 435 struct delta_ctx *pctx = to_pctx(ctx); delta_ipc_close() local [all...] |
H A D | delta-mjpeg-hdr.c | 40 static int delta_mjpeg_read_sof(struct delta_ctx *pctx, in delta_mjpeg_read_sof() argument 44 struct delta_dev *delta = pctx->dev; in delta_mjpeg_read_sof() 65 pctx->name, header->nb_of_components, in delta_mjpeg_read_sof() 79 pctx->name, size); in delta_mjpeg_read_sof() 83 int delta_mjpeg_read_header(struct delta_ctx *pctx, in delta_mjpeg_read_header() argument 88 struct delta_dev *delta = pctx->dev; in delta_mjpeg_read_header() 112 pctx->name); in delta_mjpeg_read_header() 116 ret = delta_mjpeg_read_sof(pctx, in delta_mjpeg_read_header() 136 "%s found header @ offset %d:\n%s", pctx->name, in delta_mjpeg_read_header() 144 pctx in delta_mjpeg_read_header() [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | gtp.c | 106 static void pdp_context_delete(struct pdp_ctx *pctx); 173 static bool gtp_check_ms_ipv4(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms_ipv4() argument 184 return iph->daddr == pctx->ms_addr_ip4.s_addr; in gtp_check_ms_ipv4() 186 return iph->saddr == pctx->ms_addr_ip4.s_addr; in gtp_check_ms_ipv4() 192 static bool gtp_check_ms(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms() argument 197 return gtp_check_ms_ipv4(skb, pctx, hdrlen, role); in gtp_check_ms() 202 static int gtp_rx(struct pdp_ctx *pctx, struct sk_buff *skb, in gtp_rx() argument 205 if (!gtp_check_ms(skb, pctx, hdrlen, role)) { in gtp_rx() 206 netdev_dbg(pctx->dev, "No PDP ctx for this MS\n"); in gtp_rx() 212 !net_eq(sock_net(pctx in gtp_rx() 413 struct pdp_ctx *pctx; gtp0_udp_encap_recv() local 575 struct pdp_ctx *pctx; gtp1u_udp_encap_recv() local 735 gtp0_push_header(struct sk_buff *skb, struct pdp_ctx *pctx) gtp0_push_header() argument 752 gtp1_push_header(struct sk_buff *skb, struct pdp_ctx *pctx) gtp1_push_header() argument 780 struct pdp_ctx *pctx; global() member 799 gtp_set_pktinfo_ipv4(struct gtp_pktinfo *pktinfo, struct sock *sk, struct iphdr *iph, struct pdp_ctx *pctx, struct rtable *rt, struct flowi4 *fl4, struct net_device *dev) gtp_set_pktinfo_ipv4() argument 817 struct pdp_ctx *pctx; gtp_build_skb_ip4() local 1114 struct pdp_ctx *pctx; gtp_dellink() local 1311 ipv4_pdp_fill(struct pdp_ctx *pctx, struct genl_info *info) ipv4_pdp_fill() argument 1341 struct pdp_ctx *pctx, *pctx_tid = NULL; gtp_pdp_add() local 1433 struct pdp_ctx *pctx = container_of(head, struct pdp_ctx, rcu_head); pdp_context_free() local 1439 pdp_context_delete(struct pdp_ctx *pctx) pdp_context_delete() argument 1451 struct pdp_ctx *pctx; gtp_genl_new_pdp() local 1540 struct pdp_ctx *pctx; gtp_find_pdp() local 1555 struct pdp_ctx *pctx; gtp_genl_del_pdp() local 1584 gtp_genl_fill_info(struct sk_buff *skb, u32 snd_portid, u32 snd_seq, int flags, u32 type, struct pdp_ctx *pctx) gtp_genl_fill_info() argument 1621 gtp_tunnel_notify(struct pdp_ctx *pctx, u8 cmd, gfp_t allocation) gtp_tunnel_notify() argument 1643 struct pdp_ctx *pctx = NULL; gtp_genl_get_pdp() local 1685 struct pdp_ctx *pctx; gtp_genl_dump_pdp() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/ |
H A D | hva-h264.c | 415 static int hva_h264_fill_slice_header(struct hva_ctx *pctx, in hva_h264_fill_slice_header() argument 429 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_slice_header() 482 pctx->name, __func__, frame_order, idr_pic_id, *header_size); in hva_h264_fill_slice_header() 486 static int hva_h264_fill_data_nal(struct hva_ctx *pctx, in hva_h264_fill_data_nal() argument 490 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_data_nal() 493 dev_dbg(dev, "%s %s stuffing bytes %d\n", pctx->name, __func__, in hva_h264_fill_data_nal() 498 pctx->name, __func__, stuffing_bytes); in hva_h264_fill_data_nal() 519 static int hva_h264_fill_sei_nal(struct hva_ctx *pctx, in hva_h264_fill_sei_nal() argument 523 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_sei_nal() 580 pctx in hva_h264_fill_sei_nal() 585 hva_h264_prepare_task(struct hva_ctx *pctx, struct hva_h264_task *task, struct hva_frame *frame, struct hva_stream *stream) hva_h264_prepare_task() argument 887 hva_h264_open(struct hva_ctx *pctx) hva_h264_open() argument 983 hva_h264_close(struct hva_ctx *pctx) hva_h264_close() argument 1005 hva_h264_encode(struct hva_ctx *pctx, struct hva_frame *frame, struct hva_stream *stream) hva_h264_encode() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/hva/ |
H A D | hva-h264.c | 415 static int hva_h264_fill_slice_header(struct hva_ctx *pctx, in hva_h264_fill_slice_header() argument 429 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_slice_header() 484 pctx->name, __func__, frame_order, idr_pic_id, *header_size); in hva_h264_fill_slice_header() 488 static int hva_h264_fill_data_nal(struct hva_ctx *pctx, in hva_h264_fill_data_nal() argument 492 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_data_nal() 495 dev_dbg(dev, "%s %s stuffing bytes %d\n", pctx->name, __func__, in hva_h264_fill_data_nal() 500 pctx->name, __func__, stuffing_bytes); in hva_h264_fill_data_nal() 521 static int hva_h264_fill_sei_nal(struct hva_ctx *pctx, in hva_h264_fill_sei_nal() argument 525 struct device *dev = ctx_to_dev(pctx); in hva_h264_fill_sei_nal() 582 pctx in hva_h264_fill_sei_nal() 587 hva_h264_prepare_task(struct hva_ctx *pctx, struct hva_h264_task *task, struct hva_frame *frame, struct hva_stream *stream) hva_h264_prepare_task() argument 889 hva_h264_open(struct hva_ctx *pctx) hva_h264_open() argument 985 hva_h264_close(struct hva_ctx *pctx) hva_h264_close() argument 1007 hva_h264_encode(struct hva_ctx *pctx, struct hva_frame *frame, struct hva_stream *stream) hva_h264_encode() argument [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | algif_rng.c | 204 struct rng_parent_ctx *pctx; in rng_bind() local 207 pctx = kzalloc(sizeof(*pctx), GFP_KERNEL); in rng_bind() 208 if (!pctx) in rng_bind() 213 kfree(pctx); in rng_bind() 217 pctx->drng = rng; in rng_bind() 218 return pctx; in rng_bind() 223 struct rng_parent_ctx *pctx = private; in rng_release() local 225 if (unlikely(!pctx)) in rng_release() 227 crypto_free_rng(pctx in rng_release() 245 struct rng_parent_ctx *pctx = private; rng_accept_parent() local 279 struct rng_parent_ctx *pctx = private; rng_setkey() local 290 struct rng_parent_ctx *pctx = private; rng_setentropy() local [all...] |
H A D | gcm.c | 154 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); in crypto_gcm_init_common() local 158 memset(pctx->auth_tag, 0, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 159 memcpy(pctx->iv, req->iv, GCM_AES_IV_SIZE); in crypto_gcm_init_common() 160 memcpy(pctx->iv + GCM_AES_IV_SIZE, &counter, 4); in crypto_gcm_init_common() 162 sg_init_table(pctx->src, 3); in crypto_gcm_init_common() 163 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 164 sg = scatterwalk_ffwd(pctx in crypto_gcm_init_common() 182 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); crypto_gcm_init_crypt() local 207 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash_update() local 225 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash_len() local 243 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash_len_continue() local 288 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash_crypt_continue() local 318 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash_assoc_remain_continue() local 400 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash() local 413 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_enc_copy_hash() local 426 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_encrypt_continue() local 453 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); crypto_gcm_encrypt() local 467 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); crypto_gcm_verify() local 492 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_dec_hash_continue() local 504 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); crypto_gcm_decrypt() local [all...] |
H A D | ccm.c | 170 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); in crypto_ccm_auth() local 173 struct ahash_request *ahreq = &pctx->ahreq; in crypto_ccm_auth() 176 u8 *odata = pctx->odata; in crypto_ccm_auth() 177 u8 *idata = pctx->idata; in crypto_ccm_auth() 199 ahash_request_set_callback(ahreq, pctx->flags, NULL, NULL); in crypto_ccm_auth() 220 ahash_request_set_crypt(ahreq, plain, pctx->odata, cryptlen); in crypto_ccm_auth() 230 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); in crypto_ccm_encrypt_done() local 231 u8 *odata = pctx->odata; in crypto_ccm_encrypt_done() 251 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); in crypto_ccm_init_crypt() local 260 pctx in crypto_ccm_init_crypt() 288 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); crypto_ccm_encrypt() local 326 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); crypto_ccm_decrypt_done() local 348 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); crypto_ccm_decrypt() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | algif_rng.c | 202 struct rng_parent_ctx *pctx; in rng_bind() local 205 pctx = kzalloc(sizeof(*pctx), GFP_KERNEL); in rng_bind() 206 if (!pctx) in rng_bind() 211 kfree(pctx); in rng_bind() 215 pctx->drng = rng; in rng_bind() 216 return pctx; in rng_bind() 221 struct rng_parent_ctx *pctx = private; in rng_release() local 223 if (unlikely(!pctx)) in rng_release() 225 crypto_free_rng(pctx in rng_release() 243 struct rng_parent_ctx *pctx = private; rng_accept_parent() local 277 struct rng_parent_ctx *pctx = private; rng_setkey() local 288 struct rng_parent_ctx *pctx = private; rng_setentropy() local [all...] |
H A D | gcm.c | 154 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); in crypto_gcm_init_common() local 158 memset(pctx->auth_tag, 0, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 159 memcpy(pctx->iv, req->iv, GCM_AES_IV_SIZE); in crypto_gcm_init_common() 160 memcpy(pctx->iv + GCM_AES_IV_SIZE, &counter, 4); in crypto_gcm_init_common() 162 sg_init_table(pctx->src, 3); in crypto_gcm_init_common() 163 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 164 sg = scatterwalk_ffwd(pctx in crypto_gcm_init_common() 182 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); crypto_gcm_init_crypt() local 207 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash_update() local 225 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash_len() local 243 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash_len_continue() local 287 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash_crypt_continue() local 317 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash_assoc_remain_continue() local 398 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_hash() local 411 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_enc_copy_hash() local 424 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_encrypt_continue() local 451 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); crypto_gcm_encrypt() local 465 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); crypto_gcm_verify() local 490 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); gcm_dec_hash_continue() local 502 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); crypto_gcm_decrypt() local [all...] |
H A D | ccm.c | 171 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); in crypto_ccm_auth() local 174 struct ahash_request *ahreq = &pctx->ahreq; in crypto_ccm_auth() 177 u8 *odata = pctx->odata; in crypto_ccm_auth() 178 u8 *idata = pctx->idata; in crypto_ccm_auth() 200 ahash_request_set_callback(ahreq, pctx->flags, NULL, NULL); in crypto_ccm_auth() 231 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); in crypto_ccm_encrypt_done() local 232 u8 *odata = pctx->odata; in crypto_ccm_encrypt_done() 252 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); in crypto_ccm_init_crypt() local 261 pctx->flags = aead_request_flags(req); in crypto_ccm_init_crypt() 268 sg_init_table(pctx in crypto_ccm_init_crypt() 289 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); crypto_ccm_encrypt() local 326 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); crypto_ccm_decrypt_done() local 348 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); crypto_ccm_decrypt() local [all...] |
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | super.c | 263 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_old_source() local 264 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_old_source() 270 pctx->copts, fc->log.log, ','); in ceph_parse_old_source() 283 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_new_source() local 284 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_new_source() 339 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_source() local 340 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_source() 391 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mon_addr() local 392 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mon_addr() 399 pctx in ceph_parse_mon_addr() 405 struct ceph_parse_opts_ctx *pctx = fc->fs_private; ceph_parse_mount_param() local 1285 struct ceph_parse_opts_ctx *pctx = fc->fs_private; ceph_get_tree() local 1365 struct ceph_parse_opts_ctx *pctx = fc->fs_private; ceph_free_fc() local 1377 struct ceph_parse_opts_ctx *pctx = fc->fs_private; ceph_reconfigure_fc() local 1419 struct ceph_parse_opts_ctx *pctx; ceph_init_fs_context() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | stat-shadow.c | 360 struct expr_parse_ctx *pctx, in prepare_metric() 425 expr__add_id_val_source_count(pctx, n, val, source_count); in prepare_metric() 429 int ret = expr__add_ref(pctx, &metric_refs[j]); in prepare_metric() 451 struct expr_parse_ctx *pctx; in generic_metric() local 457 pctx = expr__ctx_new(); in generic_metric() 458 if (!pctx) in generic_metric() 462 pctx->sctx.user_requested_cpu_list = strdup(config->user_requested_cpu_list); in generic_metric() 463 pctx->sctx.runtime = runtime; in generic_metric() 464 pctx->sctx.system_wide = config->system_wide; in generic_metric() 465 i = prepare_metric(metric_events, metric_refs, pctx, aggr_id in generic_metric() 358 prepare_metric(struct evsel **metric_events, struct metric_ref *metric_refs, struct expr_parse_ctx *pctx, int aggr_idx) prepare_metric() argument 519 struct expr_parse_ctx *pctx; test_generic_metric() local [all...] |
H A D | metricgroup.c | 126 struct expr_parse_ctx *pctx; member 203 expr__ctx_free(m->pctx); in metric__free() 222 m->pctx = expr__ctx_new(); in metric__new() 223 if (!m->pctx) in metric__new() 238 m->pctx->sctx.user_requested_cpu_list = NULL; in metric__new() 240 m->pctx->sctx.user_requested_cpu_list = strdup(user_requested_cpu_list); in metric__new() 241 if (!m->pctx->sctx.user_requested_cpu_list) in metric__new() 244 m->pctx->sctx.runtime = runtime; in metric__new() 245 m->pctx->sctx.system_wide = system_wide; in metric__new() 867 hashmap__for_each_entry(root_metric->pctx in resolve_metric() [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | super.c | 241 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_source() local 242 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_source() 275 pctx->copts, fc->log.log); in ceph_parse_source() 287 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mount_param() local 288 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mount_param() 293 ret = ceph_parse_param(param, pctx->copts, fc->log.log); in ceph_parse_mount_param() 1057 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_get_tree() local 1071 fsc = create_fs_client(pctx->opts, pctx->copts); in ceph_get_tree() 1072 pctx in ceph_get_tree() 1134 struct ceph_parse_opts_ctx *pctx = fc->fs_private; ceph_free_fc() local 1145 struct ceph_parse_opts_ctx *pctx = fc->fs_private; ceph_reconfigure_fc() local 1170 struct ceph_parse_opts_ctx *pctx; ceph_init_fs_context() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_rc6.c | 296 struct drm_i915_gem_object *pctx; in vlv_rc6_init() local 307 pctx = i915_gem_object_create_stolen_for_preallocated(i915, in vlv_rc6_init() 310 if (IS_ERR(pctx)) in vlv_rc6_init() 311 return PTR_ERR(pctx); in vlv_rc6_init() 326 pctx = i915_gem_object_create_stolen(i915, pctx_size); in vlv_rc6_init() 327 if (IS_ERR(pctx)) { in vlv_rc6_init() 330 return PTR_ERR(pctx); in vlv_rc6_init() 335 pctx->stolen->start, in vlv_rc6_init() 337 pctx_paddr = i915->dsm.start + pctx->stolen->start; in vlv_rc6_init() 341 rc6->pctx in vlv_rc6_init() 655 struct drm_i915_gem_object *pctx; intel_rc6_fini() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_rc6.c | 319 struct drm_i915_gem_object *pctx; in vlv_rc6_init() local 330 pctx = i915_gem_object_create_region_at(i915->mm.stolen_region, in vlv_rc6_init() 334 if (IS_ERR(pctx)) in vlv_rc6_init() 335 return PTR_ERR(pctx); in vlv_rc6_init() 350 pctx = i915_gem_object_create_stolen(i915, pctx_size); in vlv_rc6_init() 351 if (IS_ERR(pctx)) { in vlv_rc6_init() 354 return PTR_ERR(pctx); in vlv_rc6_init() 359 pctx->stolen->start, in vlv_rc6_init() 361 pctx_paddr = i915->dsm.stolen.start + pctx->stolen->start; in vlv_rc6_init() 365 rc6->pctx in vlv_rc6_init() 736 struct drm_i915_gem_object *pctx; intel_rc6_fini() local [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | metricgroup.c | 121 struct expr_parse_ctx pctx; member 173 * @pctx: the parse context for the metric expression. 184 struct expr_parse_ctx *pctx, in find_evsel_group() 193 const int idnum = (int)hashmap__size(&pctx->ids); in find_evsel_group() 201 hashmap__find(&pctx->ids, "duration_time", (void **)&val_ptr)) in find_evsel_group() 237 if (hashmap__find(&pctx->ids, ev->name, (void **)&val_ptr)) in find_evsel_group() 316 hashmap__size(&m->pctx.ids) + 1); in metricgroup__setup_events() 321 evsel = find_evsel_group(perf_evlist, &m->pctx, in metricgroup__setup_events() 706 expr__ctx_init(&m->pctx); in __add_metric() 754 m->pctx in __add_metric() 183 find_evsel_group(struct evlist *perf_evlist, struct expr_parse_ctx *pctx, bool metric_no_merge, bool has_constraint, struct evsel **metric_events, unsigned long *evlist_used) find_evsel_group() argument [all...] |
H A D | stat-shadow.c | 788 struct expr_parse_ctx *pctx, in prepare_metric() 796 expr__ctx_init(pctx); in prepare_metric() 830 expr__add_id_val(pctx, n, metric_total); in prepare_metric() 832 expr__add_id_val(pctx, n, avg_stats(stats)*scale); in prepare_metric() 836 ret = expr__add_ref(pctx, &metric_refs[j]); in prepare_metric() 857 struct expr_parse_ctx pctx; in generic_metric() local 862 i = prepare_metric(metric_events, metric_refs, &pctx, cpu, st); in generic_metric() 867 if (expr__parse(&ratio, &pctx, metric_expr, runtime) == 0) { in generic_metric() 903 expr__ctx_clear(&pctx); in generic_metric() 908 struct expr_parse_ctx pctx; in test_generic_metric() local 786 prepare_metric(struct evsel **metric_events, struct metric_ref *metric_refs, struct expr_parse_ctx *pctx, int cpu, struct runtime_stat *st) prepare_metric() argument [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_lookup.c | 172 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_lookup_validate_setelem() local 184 pctx->level++; in nft_lookup_validate_setelem() 188 pctx->level--; in nft_lookup_validate_setelem()
|