Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/scsi/cxlflash/
Dsuperpipe.h82 #define ENCODE_CTXID(_ctx, _id) (((((u64)_ctx) & 0xFFFFFFFF0ULL) << 28) | _id) argument
/Linux-v6.6/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-v6.6/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()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dcgroup_getset_retval_hooks.c8 int name(struct ctx *_ctx) \
/Linux-v6.6/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-v6.6/include/linux/
Dfilter.h1391 struct bpf_sk_lookup_kern *_ctx = &(ctx); \
1403 _ctx->selected_sk = _selected_sk; \
1404 _ctx->no_reuseport = _no_reuseport; \
1406 _ret = func(_prog, _ctx); \
1407 if (_ret == SK_PASS && _ctx->selected_sk) { \
1409 _selected_sk = _ctx->selected_sk; \
1410 _no_reuseport = _ctx->no_reuseport; \
1416 _ctx->selected_sk = _selected_sk; \
1417 _ctx->no_reuseport = _no_reuseport; \
/Linux-v6.6/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-v6.6/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c674 struct mlx4_en_xdp_buff *_ctx = (void *)ctx; in mlx4_en_xdp_rx_timestamp() local
676 if (unlikely(_ctx->ring->hwtstamp_rx_filter != HWTSTAMP_FILTER_ALL)) in mlx4_en_xdp_rx_timestamp()
679 *timestamp = mlx4_en_get_hwtstamp(_ctx->mdev, in mlx4_en_xdp_rx_timestamp()
680 mlx4_en_get_cqe_ts(_ctx->cqe)); in mlx4_en_xdp_rx_timestamp()
687 struct mlx4_en_xdp_buff *_ctx = (void *)ctx; in mlx4_en_xdp_rx_hash() local
688 struct mlx4_cqe *cqe = _ctx->cqe; in mlx4_en_xdp_rx_hash()
692 if (unlikely(!(_ctx->dev->features & NETIF_F_RXHASH))) in mlx4_en_xdp_rx_hash()
/Linux-v6.6/drivers/scsi/qla2xxx/
Dqla_dfs.c570 #define QLA_DFS_ROOT_CREATE_FILE(_name, _perm, _ctx) \ argument
574 _perm, qla2x00_dfs_root, _ctx, \
586 #define QLA_DFS_CREATE_FILE(_struct, _name, _perm, _parent, _ctx) \ argument
589 _perm, _parent, _ctx, \
/Linux-v6.6/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-v6.6/drivers/net/
Dveth.c1715 struct veth_xdp_buff *_ctx = (void *)ctx; in veth_xdp_rx_timestamp() local
1717 if (!_ctx->skb) in veth_xdp_rx_timestamp()
1720 *timestamp = skb_hwtstamps(_ctx->skb)->hwtstamp; in veth_xdp_rx_timestamp()
1727 struct veth_xdp_buff *_ctx = (void *)ctx; in veth_xdp_rx_hash() local
1728 struct sk_buff *skb = _ctx->skb; in veth_xdp_rx_hash()
/Linux-v6.6/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-v6.6/drivers/net/wireless/ath/ath9k/
Dath9k.h446 #define ath_for_each_chanctx(_sc, _ctx) \ argument
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den.h1057 int fn##_ctx(struct mlx5e_priv *priv, void *context) \
/Linux-v6.6/drivers/net/ethernet/intel/igc/
Digc_main.c6668 static int igc_xdp_rx_hash(const struct xdp_md *_ctx, u32 *hash, in igc_xdp_rx_hash() argument
6671 const struct igc_xdp_buff *ctx = (void *)_ctx; in igc_xdp_rx_hash()
6682 static int igc_xdp_rx_timestamp(const struct xdp_md *_ctx, u64 *timestamp) in igc_xdp_rx_timestamp() argument
6684 const struct igc_xdp_buff *ctx = (void *)_ctx; in igc_xdp_rx_timestamp()
/Linux-v6.6/drivers/net/dsa/mv88e6xxx/
Dchip.c2373 void *_ctx) in mv88e6xxx_port_broadcast_sync_vlan() argument
2375 struct mv88e6xxx_port_broadcast_sync_ctx *ctx = _ctx; in mv88e6xxx_port_broadcast_sync_vlan()
/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c7271 static int stmmac_xdp_rx_timestamp(const struct xdp_md *_ctx, u64 *timestamp) in stmmac_xdp_rx_timestamp() argument
7273 const struct stmmac_xdp_buff *ctx = (void *)_ctx; in stmmac_xdp_rx_timestamp()