Home
last modified time | relevance | path

Searched refs:_ctx (Results 1 – 14 of 14) sorted by relevance

/linux/crypto/asymmetric_keys/
H A Dmscode_parser.c20 int mscode_parse(void *_ctx, const void *content_data, size_t data_len, in mscode_parse() argument
23 struct pefile_context *ctx = _ctx; in mscode_parse()
H A Dverify_pefile.h36 extern int mscode_parse(void *_ctx, const void *content_data, size_t data_len,
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c181 const struct mlx5e_xdp_buff *_ctx = (void *)ctx; in mlx5e_xdp_rx_timestamp() local
183 if (unlikely(!mlx5e_rx_hw_stamp(_ctx->rq->hwtstamp_config))) in mlx5e_xdp_rx_timestamp()
186 *timestamp = mlx5e_cqe_ts_to_ns(_ctx->rq->ptp_cyc2time, in mlx5e_xdp_rx_timestamp()
187 _ctx->rq->clock, get_cqe_ts(_ctx->cqe)); in mlx5e_xdp_rx_timestamp()
241 const struct mlx5e_xdp_buff *_ctx = (void *)ctx; in mlx5e_xdp_rx_hash() local
242 const struct mlx5_cqe64 *cqe = _ctx->cqe; in mlx5e_xdp_rx_hash()
245 if (unlikely(!(_ctx->xdp.rxq->dev->features & NETIF_F_RXHASH))) in mlx5e_xdp_rx_hash()
263 const struct mlx5e_xdp_buff *_ctx = (void *)ctx; in mlx5e_xdp_rx_vlan_tag() local
264 const struct mlx5_cqe64 *cqe = _ctx->cqe; in mlx5e_xdp_rx_vlan_tag()
/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_getset_retval_hooks.c8 int name(struct ctx *_ctx) \
/linux/drivers/staging/media/imx/
H A Dimx-media-csc-scaler.c85 static void job_abort(void *_ctx) in job_abort() argument
87 struct ipu_csc_scaler_ctx *ctx = _ctx; in job_abort()
93 static void ipu_ic_pp_complete(struct ipu_image_convert_run *run, void *_ctx) in ipu_ic_pp_complete() argument
95 struct ipu_csc_scaler_ctx *ctx = _ctx; in ipu_ic_pp_complete()
116 static void device_run(void *_ctx) in device_run() argument
118 struct ipu_csc_scaler_ctx *ctx = _ctx; in device_run()
/linux/include/linux/
H A Dfilter.h1678 struct bpf_sk_lookup_kern *_ctx = &(ctx); \
1690 _ctx->selected_sk = _selected_sk; \
1691 _ctx->no_reuseport = _no_reuseport; \
1693 _ret = func(_prog, _ctx); \
1694 if (_ret == SK_PASS && _ctx->selected_sk) { \
1696 _selected_sk = _ctx->selected_sk; \
1697 _no_reuseport = _ctx->no_reuseport; \
1703 _ctx->selected_sk = _selected_sk; \
1704 _ctx->no_reuseport = _no_reuseport; \
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c645 struct mlx4_en_xdp_buff *_ctx = (void *)ctx; in mlx4_en_xdp_rx_timestamp() local
647 if (unlikely(_ctx->ring->hwtstamp_rx_filter != HWTSTAMP_FILTER_ALL)) in mlx4_en_xdp_rx_timestamp()
650 *timestamp = mlx4_en_get_hwtstamp(_ctx->mdev, in mlx4_en_xdp_rx_timestamp()
651 mlx4_en_get_cqe_ts(_ctx->cqe)); in mlx4_en_xdp_rx_timestamp()
658 struct mlx4_en_xdp_buff *_ctx = (void *)ctx; in mlx4_en_xdp_rx_hash() local
659 struct mlx4_cqe *cqe = _ctx->cqe; in mlx4_en_xdp_rx_hash()
663 if (unlikely(!(_ctx->dev->features & NETIF_F_RXHASH))) in mlx4_en_xdp_rx_hash()
/linux/drivers/net/
H A Dveth.c1659 struct veth_xdp_buff *_ctx = (void *)ctx; in veth_xdp_rx_timestamp() local
1661 if (!_ctx->skb) in veth_xdp_rx_timestamp()
1664 *timestamp = skb_hwtstamps(_ctx->skb)->hwtstamp; in veth_xdp_rx_timestamp()
1671 struct veth_xdp_buff *_ctx = (void *)ctx; in veth_xdp_rx_hash() local
1672 struct sk_buff *skb = _ctx->skb; in veth_xdp_rx_hash()
1686 const struct veth_xdp_buff *_ctx = (void *)ctx; in veth_xdp_rx_vlan_tag() local
1687 const struct sk_buff *skb = _ctx->skb; in veth_xdp_rx_vlan_tag()
H A Dvirtio_net.c6695 static int virtnet_xdp_rx_hash(const struct xdp_md *_ctx, u32 *hash, in virtnet_xdp_rx_hash() argument
6698 const struct xdp_buff *xdp = (void *)_ctx; in virtnet_xdp_rx_hash()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf.c194 #define for_each_cmdbuf_ctx(_man, _i, _ctx) \ argument
195 for (_i = 0, _ctx = &(_man)->ctx[0]; (_i) < (_man)->num_contexts; \
196 ++(_i), ++(_ctx))
/linux/drivers/infiniband/hw/mlx4/
H A Dsysfs.c164 static int create_sysfs_entry(void *_ctx, struct mlx4_ib_iov_sysfs_attr *_dentry, in create_sysfs_entry() argument
177 vdentry->ctx = _ctx; in create_sysfs_entry()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_main.c7048 static int igc_xdp_rx_hash(const struct xdp_md *_ctx, u32 *hash, in igc_xdp_rx_hash() argument
7051 const struct igc_xdp_buff *ctx = (void *)_ctx; in igc_xdp_rx_hash()
7062 static int igc_xdp_rx_timestamp(const struct xdp_md *_ctx, u64 *timestamp) in igc_xdp_rx_timestamp() argument
7064 const struct igc_xdp_buff *ctx = (void *)_ctx; in igc_xdp_rx_timestamp()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c7638 static int stmmac_xdp_rx_timestamp(const struct xdp_md *_ctx, u64 *timestamp) in stmmac_xdp_rx_timestamp() argument
7640 const struct stmmac_xdp_buff *ctx = (void *)_ctx; in stmmac_xdp_rx_timestamp()
/linux/kernel/events/
H A Dcore.c820 #define for_each_epc(_epc, _ctx, _pmu, _event_type) \ argument
821 list_for_each_entry(_epc, &((_ctx)->pmu_ctx_list), pmu_ctx_entry) \