Home
last modified time | relevance | path

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

/linux-6.12.1/crypto/asymmetric_keys/
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()
Dverify_pefile.h36 extern int mscode_parse(void *_ctx, const void *content_data, size_t data_len,
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c180 const struct mlx5e_xdp_buff *_ctx = (void *)ctx; in mlx5e_xdp_rx_timestamp() local
182 if (unlikely(!mlx5e_rx_hw_stamp(_ctx->rq->tstamp))) in mlx5e_xdp_rx_timestamp()
185 *timestamp = mlx5e_cqe_ts_to_ns(_ctx->rq->ptp_cyc2time, in mlx5e_xdp_rx_timestamp()
186 _ctx->rq->clock, get_cqe_ts(_ctx->cqe)); in mlx5e_xdp_rx_timestamp()
240 const struct mlx5e_xdp_buff *_ctx = (void *)ctx; in mlx5e_xdp_rx_hash() local
241 const struct mlx5_cqe64 *cqe = _ctx->cqe; in mlx5e_xdp_rx_hash()
244 if (unlikely(!(_ctx->xdp.rxq->dev->features & NETIF_F_RXHASH))) in mlx5e_xdp_rx_hash()
262 const struct mlx5e_xdp_buff *_ctx = (void *)ctx; in mlx5e_xdp_rx_vlan_tag() local
263 const struct mlx5_cqe64 *cqe = _ctx->cqe; in mlx5e_xdp_rx_vlan_tag()
/linux-6.12.1/drivers/scsi/cxlflash/
Dsuperpipe.h82 #define ENCODE_CTXID(_ctx, _id) (((((u64)_ctx) & 0xFFFFFFFF0ULL) << 28) | _id) argument
/linux-6.12.1/crypto/
Daria_generic.c250 void aria_encrypt(void *_ctx, u8 *out, const u8 *in) in aria_encrypt() argument
252 struct aria_ctx *ctx = (struct aria_ctx *)_ctx; in aria_encrypt()
258 void aria_decrypt(void *_ctx, u8 *out, const u8 *in) in aria_decrypt() argument
260 struct aria_ctx *ctx = (struct aria_ctx *)_ctx; in aria_decrypt()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dcgroup_getset_retval_hooks.c8 int name(struct ctx *_ctx) \
/linux-6.12.1/drivers/clk/samsung/
Dclk-exynos5-subcmu.c58 void exynos5_subcmus_init(struct samsung_clk_provider *_ctx, int _nr_cmus, in exynos5_subcmus_init() argument
61 ctx = _ctx; in exynos5_subcmus_init()
/linux-6.12.1/include/linux/
Dfilter.h1598 struct bpf_sk_lookup_kern *_ctx = &(ctx); \
1610 _ctx->selected_sk = _selected_sk; \
1611 _ctx->no_reuseport = _no_reuseport; \
1613 _ret = func(_prog, _ctx); \
1614 if (_ret == SK_PASS && _ctx->selected_sk) { \
1616 _selected_sk = _ctx->selected_sk; \
1617 _no_reuseport = _ctx->no_reuseport; \
1623 _ctx->selected_sk = _selected_sk; \
1624 _ctx->no_reuseport = _no_reuseport; \
/linux-6.12.1/drivers/staging/media/imx/
Dimx-media-csc-scaler.c82 static void job_abort(void *_ctx) in job_abort() argument
84 struct ipu_csc_scaler_ctx *ctx = _ctx; in job_abort()
90 static void ipu_ic_pp_complete(struct ipu_image_convert_run *run, void *_ctx) in ipu_ic_pp_complete() argument
92 struct ipu_csc_scaler_ctx *ctx = _ctx; in ipu_ic_pp_complete()
113 static void device_run(void *_ctx) in device_run() argument
115 struct ipu_csc_scaler_ctx *ctx = _ctx; in device_run()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c677 struct mlx4_en_xdp_buff *_ctx = (void *)ctx; in mlx4_en_xdp_rx_timestamp() local
679 if (unlikely(_ctx->ring->hwtstamp_rx_filter != HWTSTAMP_FILTER_ALL)) in mlx4_en_xdp_rx_timestamp()
682 *timestamp = mlx4_en_get_hwtstamp(_ctx->mdev, in mlx4_en_xdp_rx_timestamp()
683 mlx4_en_get_cqe_ts(_ctx->cqe)); in mlx4_en_xdp_rx_timestamp()
690 struct mlx4_en_xdp_buff *_ctx = (void *)ctx; in mlx4_en_xdp_rx_hash() local
691 struct mlx4_cqe *cqe = _ctx->cqe; in mlx4_en_xdp_rx_hash()
695 if (unlikely(!(_ctx->dev->features & NETIF_F_RXHASH))) in mlx4_en_xdp_rx_hash()
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_dfs.c541 #define QLA_DFS_ROOT_CREATE_FILE(_name, _perm, _ctx) \ argument
545 _perm, qla2x00_dfs_root, _ctx, \
557 #define QLA_DFS_CREATE_FILE(_struct, _name, _perm, _parent, _ctx) \ argument
560 _perm, _parent, _ctx, \
/linux-6.12.1/drivers/net/
Dveth.c1616 struct veth_xdp_buff *_ctx = (void *)ctx; in veth_xdp_rx_timestamp() local
1618 if (!_ctx->skb) in veth_xdp_rx_timestamp()
1621 *timestamp = skb_hwtstamps(_ctx->skb)->hwtstamp; in veth_xdp_rx_timestamp()
1628 struct veth_xdp_buff *_ctx = (void *)ctx; in veth_xdp_rx_hash() local
1629 struct sk_buff *skb = _ctx->skb; in veth_xdp_rx_hash()
1643 const struct veth_xdp_buff *_ctx = (void *)ctx; in veth_xdp_rx_vlan_tag() local
1644 const struct sk_buff *skb = _ctx->skb; in veth_xdp_rx_vlan_tag()
Dvirtio_net.c6333 static int virtnet_xdp_rx_hash(const struct xdp_md *_ctx, u32 *hash, in virtnet_xdp_rx_hash() argument
6336 const struct xdp_buff *xdp = (void *)_ctx; in virtnet_xdp_rx_hash()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c192 #define for_each_cmdbuf_ctx(_man, _i, _ctx) \ argument
193 for (_i = 0, _ctx = &(_man)->ctx[0]; (_i) < (_man)->num_contexts; \
194 ++(_i), ++(_ctx))
/linux-6.12.1/drivers/infiniband/hw/mlx4/
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-6.12.1/drivers/net/wireless/ath/ath9k/
Dath9k.h447 #define ath_for_each_chanctx(_sc, _ctx) \ argument
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den.h1079 int fn##_ctx(struct mlx5e_priv *priv, void *context) \
/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_main.c6866 static int igc_xdp_rx_hash(const struct xdp_md *_ctx, u32 *hash, in igc_xdp_rx_hash() argument
6869 const struct igc_xdp_buff *ctx = (void *)_ctx; in igc_xdp_rx_hash()
6880 static int igc_xdp_rx_timestamp(const struct xdp_md *_ctx, u64 *timestamp) in igc_xdp_rx_timestamp() argument
6882 const struct igc_xdp_buff *ctx = (void *)_ctx; in igc_xdp_rx_timestamp()
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/
Dchip.c2581 void *_ctx) in mv88e6xxx_port_broadcast_sync_vlan() argument
2583 struct mv88e6xxx_port_broadcast_sync_ctx *ctx = _ctx; in mv88e6xxx_port_broadcast_sync_vlan()
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c7437 static int stmmac_xdp_rx_timestamp(const struct xdp_md *_ctx, u64 *timestamp) in stmmac_xdp_rx_timestamp() argument
7439 const struct stmmac_xdp_buff *ctx = (void *)_ctx; in stmmac_xdp_rx_timestamp()
/linux-6.12.1/kernel/events/
Dcore.c722 #define for_each_epc(_epc, _ctx, _pmu, _cgroup) \ argument
723 list_for_each_entry(_epc, &((_ctx)->pmu_ctx_list), pmu_ctx_entry) \