| /linux/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 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 …]
|
| 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_size, in delta_ipc_open() [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->name, size); in delta_mjpeg_read_header()
|
| H A D | delta-mjpeg.h | 30 int delta_mjpeg_read_header(struct delta_ctx *pctx,
|
| H A D | delta.h | 557 int delta_recycle_default(struct delta_ctx *pctx,
|
| H A D | delta-v4l2.c | 1214 int delta_recycle_default(struct delta_ctx *pctx, in delta_recycle_default() argument
|
| /linux/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->name, type); in hva_h264_fill_sei_nal() [all …]
|
| /linux/crypto/ |
| H A D | algif_rng.c | 202 struct rng_parent_ctx *pctx; in rng_bind() local 205 pctx = kzalloc_obj(*pctx); 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 276 struct rng_parent_ctx *pctx = private; rng_setkey() local 287 struct rng_parent_ctx *pctx = private; rng_setentropy() local [all...] |
| /linux/tools/perf/util/ |
| H A D | stat-shadow.c | 47 struct expr_parse_ctx *pctx, in prepare_metric() 117 expr__add_id_val_source_count_aggr_nr(pctx, n, val, source_count, aggr_nr); in prepare_metric() 121 int ret = expr__add_ref(pctx, &metric_refs[j]); in prepare_metric() 143 struct expr_parse_ctx *pctx; in generic_metric() 149 pctx = expr__ctx_new(); in generic_metric() 150 if (!pctx) in generic_metric() 154 pctx->sctx.user_requested_cpu_list = strdup(config->user_requested_cpu_list); in generic_metric() 155 pctx->sctx.runtime = runtime; in generic_metric() 156 pctx->sctx.system_wide = config->system_wide; in generic_metric() 157 i = prepare_metric(config, mexp, evsel, pctx, aggr_id in generic_metric() 48 prepare_metric(struct perf_stat_config * config,const struct metric_expr * mexp,const struct evsel * evsel,struct expr_parse_ctx * pctx,int aggr_idx) prepare_metric() argument 140 struct expr_parse_ctx *pctx; generic_metric() local 208 struct expr_parse_ctx *pctx; test_generic_metric() local [all...] |
| H A D | metricgroup.c | 129 struct expr_parse_ctx *pctx; member 215 expr__ctx_free(m->pctx); in metric__free() 235 m->pctx = expr__ctx_new(); in metric__new() 236 if (!m->pctx) in metric__new() 251 m->pctx->sctx.user_requested_cpu_list = NULL; in metric__new() 253 m->pctx->sctx.user_requested_cpu_list = strdup(user_requested_cpu_list); in metric__new() 254 if (!m->pctx->sctx.user_requested_cpu_list) in metric__new() 257 m->pctx->sctx.runtime = runtime; in metric__new() 258 m->pctx->sctx.system_wide = system_wide; in metric__new() 763 hashmap__for_each_entry(root_metric->pctx in resolve_metric() [all...] |
| H A D | python.c | 1336 struct expr_parse_ctx *pctx, in prepare_metric() argument 1392 ret = expr__add_id_val_source_count(pctx, n, val, source_count); in prepare_metric() 1398 int ret = expr__add_ref(pctx, &metric_refs[i]); in prepare_metric() 1414 struct expr_parse_ctx *pctx; in pyrf_evlist__compute_metric() local 1461 pctx = expr__ctx_new(); in pyrf_evlist__compute_metric() 1462 if (!pctx) in pyrf_evlist__compute_metric() 1465 ret = prepare_metric(mexp, metric_evsel, pctx, cpu_idx, thread_idx); in pyrf_evlist__compute_metric() 1467 expr__ctx_free(pctx); in pyrf_evlist__compute_metric() 1472 if (expr__parse(&result, pctx, mexp->metric_expr)) in pyrf_evlist__compute_metric() 1475 expr__ctx_free(pctx); in pyrf_evlist__compute_metric()
|
| /linux/fs/ntfs/ |
| H A D | compress.c | 959 static void ntfs_best_match(struct compress_context *pctx, const int i, in ntfs_best_match() argument 962 const u8 * const inbuf = pctx->inbuf; in ntfs_best_match() 964 s16 * const prev = pctx->prev; in ntfs_best_match() 965 const int max_len = min(pctx->bufsize - i, pctx->mxsz); in ntfs_best_match() 979 cur_match = pctx->head[hash]; in ntfs_best_match() 981 pctx->head[hash] = i; in ntfs_best_match() 1055 pctx->size = best_len; in ntfs_best_match() 1056 pctx->rel = best_matchptr - strptr; /* given as a negative number! */ in ntfs_best_match() 1062 static void ntfs_skip_position(struct compress_context *pctx, const int i) in ntfs_skip_position() argument 1066 if (pctx->bufsize - i < 4) in ntfs_skip_position() [all …]
|
| /linux/fs/ceph/ |
| H A D | super.c | 257 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_old_source() local 258 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_old_source() 264 pctx->copts, fc->log.log, ','); in ceph_parse_old_source() 277 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_new_source() local 278 struct ceph_options *opts = pctx->copts; in ceph_parse_new_source() 279 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_new_source() 341 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_source() local 342 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_source() 393 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mon_addr() local 394 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mon_addr() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | ftm-responder.c | 342 struct ieee80211_chanctx_conf ctx, *pctx; in iwl_mvm_ftm_start_responder() 361 pctx = rcu_dereference(bss_conf->chanctx_conf); in iwl_mvm_ftm_start_responder() 365 ctx = *pctx; in iwl_mvm_ftm_start_responder() 366 phy_ctxt_id = (u16 *)pctx->drv_priv; in iwl_mvm_ftm_start_responder() 332 struct ieee80211_chanctx_conf ctx, *pctx; iwl_mvm_ftm_start_responder() local
|
| /linux/drivers/block/ |
| H A D | rbd.c | 6245 struct rbd_parse_opts_ctx *pctx) in dup_token() 6247 struct rbd_options *opt = pctx->opts; in rbd_parse_param() 6252 ret = ceph_parse_param(param, pctx->copts, NULL); in rbd_parse_param() 6285 kfree(pctx->spec->pool_ns); in rbd_parse_param() 6286 pctx->spec->pool_ns = param->string; in rbd_parse_param() 6341 static int rbd_parse_options(char *options, struct rbd_parse_opts_ctx *pctx) 6369 ret = rbd_parse_param(¶m, pctx); in rbd_parse_options() 6430 struct rbd_parse_opts_ctx pctx = { 0 }; in rbd_add_parse_args() 6453 pctx.spec = rbd_spec_alloc(); in rbd_add_parse_args() 6454 if (!pctx in rbd_add_parse_args() 6248 rbd_parse_param(struct fs_parameter * param,struct rbd_parse_opts_ctx * pctx) rbd_parse_param() argument 6344 rbd_parse_options(char * options,struct rbd_parse_opts_ctx * pctx) rbd_parse_options() argument 6433 struct rbd_parse_opts_ctx pctx = { 0 }; rbd_add_parse_args() local [all...] |
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_rc6_types.h | 34 struct drm_i915_gem_object *pctx; member
|
| /linux/security/apparmor/ |
| H A D | af_unix.c | 762 struct aa_sk_ctx *pctx = aa_sock(peer_sk); in aa_unix_file_perm() local 765 plabel = aa_get_label_rcu(&pctx->label); in aa_unix_file_perm() 786 update_peer_ctx(peer_sk, pctx, label); in aa_unix_file_perm()
|
| /linux/fs/smb/client/ |
| H A D | smb2pdu.c | 973 struct smb2_neg_context *pctx; in smb311_decode_neg_context() 993 pctx = (struct smb2_neg_context *)(offset + (char *)rsp); in smb311_decode_neg_context() 995 + le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context() 1006 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES) 1008 (struct smb2_preauth_neg_context *)pctx); in create_posix_buf() 1009 else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) in create_posix_buf() 1011 (struct smb2_encryption_neg_context *)pctx); in create_posix_buf() 1012 else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES) in create_posix_buf() 1014 (struct smb2_compression_capabilities_context *)pctx); in create_posix_buf() 1015 else if (pctx in create_posix_buf() 947 struct smb2_neg_context *pctx; smb311_decode_neg_context() local [all...] |
| /linux/fs/smb/server/ |
| H A D | smb2pdu.c | 1109 struct smb2_neg_context *pctx = (struct smb2_neg_context *)req; in smb2_handle_negotiate() 1130 pctx = (struct smb2_neg_context *)((char *)pctx + offset); in smb2_handle_negotiate() 1131 clen = le16_to_cpu(pctx->DataLength); in smb2_handle_negotiate() 1137 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES) { in smb2_handle_negotiate() 1144 (struct smb2_preauth_neg_context *)pctx, in smb2_handle_negotiate() 1148 } else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) { in smb2_handle_negotiate() 1155 (struct smb2_encryption_neg_context *)pctx, in smb2_handle_negotiate() 1157 } else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES) { in smb2_handle_negotiate() 1167 pctx, ctxt_le in smb2_handle_negotiate() 1018 struct smb2_neg_context *pctx = (struct smb2_neg_context *)req; deassemble_neg_contexts() local [all...] |
| /linux/net/netfilter/ |
| H A D | nf_tables_api.c | 4247 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_setelem_validate() 4262 pctx->level++; in nft_setelem_validate() 4266 pctx->level--; in nft_setelem_validate() 4243 struct nft_ctx *pctx = (struct nft_ctx *)ctx; nft_setelem_validate() local
|