/Linux-v6.1/drivers/media/platform/st/sti/delta/ |
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 205 struct delta_dev *delta = pctx->dev; in delta_mjpeg_ipc_open() 206 struct delta_mjpeg_ctx *ctx = to_ctx(pctx); in delta_mjpeg_ipc_open() [all …]
|
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_size, in delta_ipc_open() [all …]
|
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()
|
D | delta-mjpeg.h | 30 int delta_mjpeg_read_header(struct delta_ctx *pctx,
|
D | delta.h | 557 int delta_recycle_default(struct delta_ctx *pctx,
|
D | delta-v4l2.c | 1210 int delta_recycle_default(struct delta_ctx *pctx, in delta_recycle_default() argument
|
/Linux-v6.1/drivers/net/ |
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->sk), dev_net(pctx->dev)))) { in gtp_rx() [all …]
|
/Linux-v6.1/drivers/media/platform/st/sti/hva/ |
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->name, type); in hva_h264_fill_sei_nal() [all …]
|
/Linux-v6.1/crypto/ |
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->drng); in rng_release() 228 kfree_sensitive(pctx->entropy); in rng_release() [all …]
|
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->src + 1, req->src, req->assoclen); 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() 169 sg_init_table(pctx->dst, 3); in crypto_gcm_init_common() [all …]
|
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() 221 ahash_request_set_crypt(ahreq, plain, pctx->odata, cryptlen); 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() [all …]
|
/Linux-v6.1/fs/ceph/ |
D | super.c | 256 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_old_source() local 257 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_old_source() 263 pctx->copts, fc->log.log, ','); in ceph_parse_old_source() 276 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_new_source() local 277 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_new_source() 332 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_source() local 333 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_source() 384 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mon_addr() local 385 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mon_addr() 392 pctx->copts, fc->log.log, '/'); in ceph_parse_mon_addr() [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/gt/ |
D | intel_rc6.c | 318 struct drm_i915_gem_object *pctx; in vlv_rc6_init() local 329 pctx = i915_gem_object_create_region_at(i915->mm.stolen_region, in vlv_rc6_init() 333 if (IS_ERR(pctx)) in vlv_rc6_init() 334 return PTR_ERR(pctx); in vlv_rc6_init() 349 pctx = i915_gem_object_create_stolen(i915, pctx_size); in vlv_rc6_init() 350 if (IS_ERR(pctx)) { in vlv_rc6_init() 353 return PTR_ERR(pctx); in vlv_rc6_init() 358 pctx->stolen->start, in vlv_rc6_init() 360 pctx_paddr = i915->dsm.start + pctx->stolen->start; in vlv_rc6_init() 364 rc6->pctx = pctx; in vlv_rc6_init() [all …]
|
D | intel_rc6_types.h | 22 struct drm_i915_gem_object *pctx; member
|
/Linux-v6.1/tools/perf/util/ |
D | metricgroup.c | 122 struct expr_parse_ctx *pctx; member 188 expr__ctx_free(m->pctx); in metric__free() 207 m->pctx = expr__ctx_new(); in metric__new() 208 if (!m->pctx) in metric__new() 220 m->pctx->sctx.user_requested_cpu_list = NULL; in metric__new() 222 m->pctx->sctx.user_requested_cpu_list = strdup(user_requested_cpu_list); in metric__new() 223 if (!m->pctx->sctx.user_requested_cpu_list) in metric__new() 226 m->pctx->sctx.runtime = runtime; in metric__new() 227 m->pctx->sctx.system_wide = system_wide; in metric__new() 945 hashmap__for_each_entry(root_metric->pctx->ids, cur, bkt) { in resolve_metric() [all …]
|
D | stat-shadow.c | 810 struct expr_parse_ctx *pctx, in prepare_metric() argument 871 expr__add_id_val_source_count(pctx, n, in prepare_metric() 877 ret = expr__add_ref(pctx, &metric_refs[j]); in prepare_metric() 898 struct expr_parse_ctx *pctx; in generic_metric() local 903 pctx = expr__ctx_new(); in generic_metric() 904 if (!pctx) in generic_metric() 908 pctx->sctx.user_requested_cpu_list = strdup(config->user_requested_cpu_list); in generic_metric() 909 pctx->sctx.runtime = runtime; in generic_metric() 910 pctx->sctx.system_wide = config->system_wide; in generic_metric() 911 i = prepare_metric(metric_events, metric_refs, pctx, map_idx, st); in generic_metric() [all …]
|
/Linux-v6.1/net/netfilter/ |
D | nft_immediate.c | 169 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_immediate_validate() local 181 pctx->level++; in nft_immediate_validate() 185 pctx->level--; in nft_immediate_validate()
|
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-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ftm-responder.c | 382 struct ieee80211_chanctx_conf ctx, *pctx; in iwl_mvm_ftm_start_responder() local 401 pctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_ftm_start_responder() 405 ctx = *pctx; in iwl_mvm_ftm_start_responder() 406 phy_ctxt_id = (u16 *)pctx->drv_priv; in iwl_mvm_ftm_start_responder()
|
/Linux-v6.1/drivers/block/ |
D | rbd.c | 6232 struct rbd_parse_opts_ctx *pctx) in rbd_parse_param() argument 6234 struct rbd_options *opt = pctx->opts; in rbd_parse_param() 6239 ret = ceph_parse_param(param, pctx->copts, NULL); in rbd_parse_param() 6272 kfree(pctx->spec->pool_ns); in rbd_parse_param() 6273 pctx->spec->pool_ns = param->string; in rbd_parse_param() 6328 static int rbd_parse_options(char *options, struct rbd_parse_opts_ctx *pctx) in rbd_parse_options() argument 6356 ret = rbd_parse_param(¶m, pctx); in rbd_parse_options() 6417 struct rbd_parse_opts_ctx pctx = { 0 }; in rbd_add_parse_args() local 6440 pctx.spec = rbd_spec_alloc(); in rbd_add_parse_args() 6441 if (!pctx.spec) in rbd_add_parse_args() [all …]
|
/Linux-v6.1/fs/cifs/ |
D | smb2pdu.c | 730 struct smb2_neg_context *pctx; in smb311_decode_neg_context() local 753 pctx = (struct smb2_neg_context *)(offset + (char *)rsp); in smb311_decode_neg_context() 754 clen = le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context() 758 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES) in smb311_decode_neg_context() 760 (struct smb2_preauth_neg_context *)pctx); in smb311_decode_neg_context() 761 else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) in smb311_decode_neg_context() 763 (struct smb2_encryption_neg_context *)pctx); in smb311_decode_neg_context() 764 else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES) in smb311_decode_neg_context() 766 (struct smb2_compression_capabilities_context *)pctx); in smb311_decode_neg_context() 767 else if (pctx->ContextType == SMB2_POSIX_EXTENSIONS_AVAILABLE) in smb311_decode_neg_context() [all …]
|
/Linux-v6.1/fs/ksmbd/ |
D | smb2pdu.c | 980 struct smb2_neg_context *pctx = (struct smb2_neg_context *)req; in deassemble_neg_contexts() local 1004 pctx = (struct smb2_neg_context *)((char *)pctx + offset); in deassemble_neg_contexts() 1005 clen = le16_to_cpu(pctx->DataLength); in deassemble_neg_contexts() 1009 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES) { in deassemble_neg_contexts() 1016 (struct smb2_preauth_neg_context *)pctx); in deassemble_neg_contexts() 1019 } else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) { in deassemble_neg_contexts() 1026 (struct smb2_encryption_neg_context *)pctx, in deassemble_neg_contexts() 1028 } else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES) { in deassemble_neg_contexts() 1035 (struct smb2_compression_capabilities_context *)pctx); in deassemble_neg_contexts() 1036 } else if (pctx->ContextType == SMB2_NETNAME_NEGOTIATE_CONTEXT_ID) { in deassemble_neg_contexts() [all …]
|