/linux/drivers/net/ |
A D | gtp.c | 477 pktinfo->pctx = pctx; in gtp_set_pktinfo_ipv4() 955 if (pctx) in gtp_pdp_add() 981 pctx->u.v0.tid, pctx); in gtp_pdp_add() 984 pctx->u.v1.i_tei, pctx->u.v1.o_tei, pctx); in gtp_pdp_add() 990 pctx = kmalloc(sizeof(*pctx), GFP_ATOMIC); in gtp_pdp_add() 1020 pctx->u.v0.tid, &pctx->peer_addr_ip4, in gtp_pdp_add() 1021 &pctx->ms_addr_ip4, pctx); in gtp_pdp_add() 1025 pctx->u.v1.i_tei, pctx->u.v1.o_tei, in gtp_pdp_add() 1026 &pctx->peer_addr_ip4, &pctx->ms_addr_ip4, pctx); in gtp_pdp_add() 1173 pctx->u.v0.tid, pctx); in gtp_genl_del_pdp() [all …]
|
/linux/drivers/media/platform/sti/delta/ |
A D | delta-mjpeg-dec.c | 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() 220 "%s %s\n", pctx->name, in delta_mjpeg_ipc_open() 284 "%s %s\n", pctx->name, in delta_mjpeg_ipc_decode() 304 pctx->decoded_frames++; in delta_mjpeg_ipc_decode() 330 pctx->priv = ctx; in delta_mjpeg_open() 385 pctx->stream_errors++; in delta_mjpeg_decode() 392 pctx->name, in delta_mjpeg_decode() [all …]
|
A D | delta-ipc.c | 124 pctx->name); 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() 189 pctx->name, in delta_ipc_open() 199 pctx->name, in delta_ipc_open() 209 pctx->name, in delta_ipc_open() 261 pctx->name, in delta_ipc_set_stream() 269 pctx->name, in delta_ipc_set_stream() [all …]
|
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->name, size); in delta_mjpeg_read_header()
|
A D | delta-mjpeg.h | 30 int delta_mjpeg_read_header(struct delta_ctx *pctx,
|
A D | delta.h | 557 int delta_recycle_default(struct delta_ctx *pctx,
|
A D | delta-v4l2.c | 1210 int delta_recycle_default(struct delta_ctx *pctx, in delta_recycle_default() argument
|
/linux/drivers/media/platform/sti/hva/ |
A D | hva-h264.c | 582 pctx->name, type); in hva_h264_fill_sei_nal() 620 pctx->frame_errors++; in hva_h264_prepare_task() 730 pctx->name); in hva_h264_prepare_task() 731 pctx->frame_errors++; in hva_h264_prepare_task() 756 pctx->frame_errors++; in hva_h264_prepare_task() 929 pctx->name); in hva_h264_open() 940 pctx->name); in hva_h264_open() 952 pctx->name); in hva_h264_open() 964 pctx->name); in hva_h264_open() 981 pctx->sys_errors++; in hva_h264_open() [all …]
|
/linux/crypto/ |
A D | algif_rng.c | 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() 225 if (unlikely(!pctx)) in rng_release() 229 kfree_sensitive(pctx); in rng_release() 263 ctx->drng = pctx->drng; in rng_accept_parent() 296 if (pctx->entropy) in rng_setentropy() 308 crypto_rng_alg(pctx->drng)->set_ent(pctx->drng, kentropy, len); in rng_setentropy() [all …]
|
A D | gcm.c | 158 memset(pctx->auth_tag, 0, sizeof(pctx->auth_tag)); 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() 165 if (sg != pctx->src + 1) in crypto_gcm_init_common() 166 sg_chain(pctx->src, 2, sg); in crypto_gcm_init_common() 170 sg_set_buf(pctx->dst, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 172 if (sg != pctx->dst + 1) in crypto_gcm_init_common() 186 dst = req->src == req->dst ? pctx->src : pctx->dst; in crypto_gcm_init_crypt() 191 pctx->iv); in crypto_gcm_init_crypt() 233 sg_init_one(&pctx->sg, pctx->iauth_tag, 16); in gcm_hash_len() [all …]
|
A D | ccm.c | 177 u8 *odata = pctx->odata; in crypto_ccm_auth() 178 u8 *idata = pctx->idata; in crypto_ccm_auth() 232 u8 *odata = pctx->odata; in crypto_ccm_encrypt_done() 305 dst = pctx->src; in crypto_ccm_encrypt() 307 dst = pctx->dst; in crypto_ccm_encrypt() 333 pctx->flags = 0; in crypto_ccm_decrypt_done() 335 dst = sg_next(req->src == req->dst ? pctx->src : pctx->dst); in crypto_ccm_decrypt_done() 339 if (!err && crypto_memneq(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done() 356 u8 *iv = pctx->idata; in crypto_ccm_decrypt() 368 dst = pctx->src; in crypto_ccm_decrypt() [all …]
|
/linux/fs/ceph/ |
A D | super.c | 1076 fsc = create_fs_client(pctx->opts, pctx->copts); in ceph_get_tree() 1077 pctx->opts = NULL; in ceph_get_tree() 1078 pctx->copts = NULL; in ceph_get_tree() 1141 if (pctx) { in ceph_free_fc() 1144 kfree(pctx); in ceph_free_fc() 1178 pctx = kzalloc(sizeof(*pctx), GFP_KERNEL); in ceph_init_fs_context() 1179 if (!pctx) in ceph_init_fs_context() 1183 if (!pctx->copts) in ceph_init_fs_context() 1186 pctx->opts = kzalloc(sizeof(*pctx->opts), GFP_KERNEL); in ceph_init_fs_context() 1187 if (!pctx->opts) in ceph_init_fs_context() [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_rc6.c | 307 struct drm_i915_gem_object *pctx; in vlv_rc6_init() local 321 if (IS_ERR(pctx)) in vlv_rc6_init() 322 return PTR_ERR(pctx); in vlv_rc6_init() 338 if (IS_ERR(pctx)) { in vlv_rc6_init() 341 return PTR_ERR(pctx); in vlv_rc6_init() 346 pctx->stolen->start, in vlv_rc6_init() 352 rc6->pctx = pctx; in vlv_rc6_init() 670 struct drm_i915_gem_object *pctx; in intel_rc6_fini() local 674 pctx = fetch_and_zero(&rc6->pctx); in intel_rc6_fini() 675 if (pctx) in intel_rc6_fini() [all …]
|
A D | intel_rc6_types.h | 22 struct drm_i915_gem_object *pctx; member
|
/linux/tools/perf/util/ |
A D | metricgroup.c | 132 struct expr_parse_ctx *pctx; member 203 m->pctx = expr__ctx_new(); in metric__new() 204 if (!m->pctx) { in metric__new() 213 expr__ctx_free(m->pctx); in metric__new() 218 m->pctx->runtime = runtime; in metric__new() 229 expr__ctx_free(m->pctx); in metric__free() 912 expr__del_id(root_metric->pctx, pending[i].key); in resolve_metric() 1124 return hashmap__size(right->pctx->ids) - hashmap__size(left->pctx->ids); in metric_list_cmp() 1428 if (expr__subset_of_ids(n->pctx, m->pctx)) { in parse_groups() 1438 ret = parse_ids(fake_pmu, m->pctx, m->modifier, in parse_groups() [all …]
|
A D | stat-shadow.c | 820 struct expr_parse_ctx *pctx, in prepare_metric() argument 882 struct expr_parse_ctx *pctx; in generic_metric() local 887 pctx = expr__ctx_new(); in generic_metric() 888 if (!pctx) in generic_metric() 891 pctx->runtime = runtime; in generic_metric() 894 expr__ctx_free(pctx); in generic_metric() 934 expr__ctx_free(pctx); in generic_metric() 939 struct expr_parse_ctx *pctx; in test_generic_metric() local 942 pctx = expr__ctx_new(); in test_generic_metric() 943 if (!pctx) in test_generic_metric() [all …]
|
/linux/net/netfilter/ |
A D | nft_immediate.c | 153 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_immediate_validate() local 165 pctx->level++; in nft_immediate_validate() 169 pctx->level--; in nft_immediate_validate()
|
A D | nft_lookup.c | 207 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_lookup_validate_setelem() local 219 pctx->level++; in nft_lookup_validate_setelem() 223 pctx->level--; in nft_lookup_validate_setelem()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | ftm-responder.c | 384 struct ieee80211_chanctx_conf ctx, *pctx; in iwl_mvm_ftm_start_responder() local 403 pctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_ftm_start_responder() 407 ctx = *pctx; in iwl_mvm_ftm_start_responder() 408 phy_ctxt_id = (u16 *)pctx->drv_priv; in iwl_mvm_ftm_start_responder()
|
/linux/drivers/block/ |
A D | rbd.c | 6445 if (!pctx.spec) in rbd_add_parse_args() 6449 if (!pctx.spec->pool_name) in rbd_add_parse_args() 6457 if (!pctx.spec->image_name) in rbd_add_parse_args() 6483 if (!pctx.copts) in rbd_add_parse_args() 6488 pctx.opts = kzalloc(sizeof(*pctx.opts), GFP_KERNEL); in rbd_add_parse_args() 6489 if (!pctx.opts) in rbd_add_parse_args() 6508 *ceph_opts = pctx.copts; in rbd_add_parse_args() 6509 *opts = pctx.opts; in rbd_add_parse_args() 6510 *rbd_spec = pctx.spec; in rbd_add_parse_args() 6517 kfree(pctx.opts); in rbd_add_parse_args() [all …]
|
/linux/tools/perf/tests/ |
A D | pmu-events.c | 837 static int resolve_metric_simple(struct expr_parse_ctx *pctx, in resolve_metric_simple() argument 850 hashmap__for_each_entry_safe(pctx->ids, cur, cur_tmp, bkt) { in resolve_metric_simple() 867 expr__del_id(pctx, cur->key); in resolve_metric_simple() 880 rc = expr__find_ids(pe->metric_expr, NULL, pctx); in resolve_metric_simple()
|
/linux/fs/cifs/ |
A D | smb2pdu.c | 703 struct smb2_neg_context *pctx; in smb311_decode_neg_context() local 726 pctx = (struct smb2_neg_context *)(offset + (char *)rsp); in smb311_decode_neg_context() 727 clen = le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context() 733 (struct smb2_preauth_neg_context *)pctx); in smb311_decode_neg_context() 734 else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) in smb311_decode_neg_context() 736 (struct smb2_encryption_neg_context *)pctx); in smb311_decode_neg_context() 737 else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES) in smb311_decode_neg_context() 739 (struct smb2_compression_capabilities_context *)pctx); in smb311_decode_neg_context() 742 else if (pctx->ContextType == SMB2_SIGNING_CAPABILITIES) in smb311_decode_neg_context() 744 (struct smb2_signing_capabilities *)pctx); in smb311_decode_neg_context() [all …]
|
/linux/fs/ksmbd/ |
A D | smb2pdu.c | 976 struct smb2_neg_context *pctx = (struct smb2_neg_context *)req; in deassemble_neg_contexts() local 1000 pctx = (struct smb2_neg_context *)((char *)pctx + offset); in deassemble_neg_contexts() 1001 clen = le16_to_cpu(pctx->DataLength); in deassemble_neg_contexts() 1005 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES) { in deassemble_neg_contexts() 1012 (struct smb2_preauth_neg_context *)pctx); in deassemble_neg_contexts() 1015 } else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) { in deassemble_neg_contexts() 1022 (struct smb2_encryption_neg_context *)pctx, in deassemble_neg_contexts() 1024 } else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES) { in deassemble_neg_contexts() 1031 (struct smb2_compression_capabilities_context *)pctx); in deassemble_neg_contexts() 1039 } else if (pctx->ContextType == SMB2_SIGNING_CAPABILITIES) { in deassemble_neg_contexts() [all …]
|