/Linux-v4.19/drivers/net/ |
D | gtp.c | 91 static void pdp_context_delete(struct pdp_ctx *pctx); 158 static bool gtp_check_ms_ipv4(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms_ipv4() argument 169 return iph->daddr == pctx->ms_addr_ip4.s_addr; in gtp_check_ms_ipv4() 171 return iph->saddr == pctx->ms_addr_ip4.s_addr; in gtp_check_ms_ipv4() 177 static bool gtp_check_ms(struct sk_buff *skb, struct pdp_ctx *pctx, in gtp_check_ms() argument 182 return gtp_check_ms_ipv4(skb, pctx, hdrlen, role); in gtp_check_ms() 187 static int gtp_rx(struct pdp_ctx *pctx, struct sk_buff *skb, in gtp_rx() argument 192 if (!gtp_check_ms(skb, pctx, hdrlen, role)) { in gtp_rx() 193 netdev_dbg(pctx->dev, "No PDP ctx for this MS\n"); in gtp_rx() 199 !net_eq(sock_net(pctx->sk), dev_net(pctx->dev)))) in gtp_rx() [all …]
|
/Linux-v4.19/drivers/media/platform/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 | 1211 int delta_recycle_default(struct delta_ctx *pctx, in delta_recycle_default() argument
|
/Linux-v4.19/drivers/media/platform/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() 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->name, type); in hva_h264_fill_sei_nal() [all …]
|
/Linux-v4.19/crypto/ |
D | gcm.c | 176 struct crypto_gcm_req_priv_ctx *pctx = crypto_gcm_reqctx(req); in crypto_gcm_init_common() local 180 memset(pctx->auth_tag, 0, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 181 memcpy(pctx->iv, req->iv, GCM_AES_IV_SIZE); in crypto_gcm_init_common() 182 memcpy(pctx->iv + GCM_AES_IV_SIZE, &counter, 4); in crypto_gcm_init_common() 184 sg_init_table(pctx->src, 3); in crypto_gcm_init_common() 185 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 186 sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); in crypto_gcm_init_common() 187 if (sg != pctx->src + 1) in crypto_gcm_init_common() 188 sg_chain(pctx->src, 2, sg); in crypto_gcm_init_common() 191 sg_init_table(pctx->dst, 3); in crypto_gcm_init_common() [all …]
|
D | ccm.c | 181 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); in crypto_ccm_auth() local 187 u8 *odata = pctx->odata; in crypto_ccm_auth() 188 u8 *idata = pctx->idata; in crypto_ccm_auth() 210 ahash_request_set_callback(ahreq, pctx->flags, NULL, NULL); in crypto_ccm_auth() 231 ahash_request_set_crypt(ahreq, plain, pctx->odata, cryptlen); in crypto_ccm_auth() 241 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); in crypto_ccm_encrypt_done() local 242 u8 *odata = pctx->odata; in crypto_ccm_encrypt_done() 262 struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req); in crypto_ccm_init_crypt() local 271 pctx->flags = aead_request_flags(req); in crypto_ccm_init_crypt() 278 sg_init_table(pctx->src, 3); in crypto_ccm_init_crypt() [all …]
|
/Linux-v4.19/net/netfilter/ |
D | nft_immediate.c | 101 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_immediate_validate() local 113 pctx->level++; in nft_immediate_validate() 117 pctx->level--; in nft_immediate_validate()
|
D | nft_lookup.c | 158 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_lookup_validate_setelem() local 170 pctx->level++; in nft_lookup_validate_setelem() 174 pctx->level--; in nft_lookup_validate_setelem()
|
/Linux-v4.19/drivers/block/ |
D | rbd.c | 789 struct parse_rbd_opts_ctx *pctx = private; in parse_rbd_opts_token() local 813 pctx->opts->queue_depth = intval; in parse_rbd_opts_token() 821 pctx->opts->lock_timeout = msecs_to_jiffies(intval * 1000); in parse_rbd_opts_token() 824 kfree(pctx->spec->pool_ns); in parse_rbd_opts_token() 825 pctx->spec->pool_ns = match_strdup(argstr); in parse_rbd_opts_token() 826 if (!pctx->spec->pool_ns) in parse_rbd_opts_token() 830 pctx->opts->read_only = true; in parse_rbd_opts_token() 833 pctx->opts->read_only = false; in parse_rbd_opts_token() 836 pctx->opts->lock_on_read = true; in parse_rbd_opts_token() 839 pctx->opts->exclusive = true; in parse_rbd_opts_token() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | stat-shadow.c | 711 struct parse_ctx pctx; in generic_metric() local 716 expr__ctx_init(&pctx); in generic_metric() 717 expr__add_id(&pctx, name, avg); in generic_metric() 734 expr__add_id(&pctx, metric_events[i]->name, avg_stats(stats)*scale); in generic_metric() 739 if (expr__parse(&ratio, &pctx, &p) == 0) in generic_metric()
|
/Linux-v4.19/fs/cifs/ |
D | smb2pdu.c | 478 struct smb2_neg_context *pctx; in smb311_decode_neg_context() local 501 pctx = (struct smb2_neg_context *)(offset + (char *)rsp); in smb311_decode_neg_context() 502 clen = le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context() 506 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES) in smb311_decode_neg_context() 508 (struct smb2_preauth_neg_context *)pctx); in smb311_decode_neg_context() 509 else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) in smb311_decode_neg_context() 511 (struct smb2_encryption_neg_context *)pctx); in smb311_decode_neg_context() 512 else if (pctx->ContextType == SMB2_POSIX_EXTENSIONS_AVAILABLE) in smb311_decode_neg_context() 516 le16_to_cpu(pctx->ContextType)); in smb311_decode_neg_context()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_pm.c | 7334 struct drm_i915_gem_object *pctx; in valleyview_setup_pctx() local 7345 pctx = i915_gem_object_create_stolen_for_preallocated(dev_priv, in valleyview_setup_pctx() 7362 pctx = i915_gem_object_create_stolen(dev_priv, pctx_size); in valleyview_setup_pctx() 7363 if (!pctx) { in valleyview_setup_pctx() 7370 pctx->stolen->start, in valleyview_setup_pctx() 7372 pctx_paddr = dev_priv->dsm.start + pctx->stolen->start; in valleyview_setup_pctx() 7377 dev_priv->vlv_pctx = pctx; in valleyview_setup_pctx() 7382 struct drm_i915_gem_object *pctx; in valleyview_cleanup_pctx() local 7384 pctx = fetch_and_zero(&dev_priv->vlv_pctx); in valleyview_cleanup_pctx() 7385 if (pctx) in valleyview_cleanup_pctx() [all …]
|