Home
last modified time | relevance | path

Searched refs:ctx_ptr (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_xdp_meta.c9 #define ctx_ptr(ctx, mem) (void *)(unsigned long)ctx->mem macro
17 data_meta = ctx_ptr(ctx, data_meta); in ing_cls()
18 data_end = ctx_ptr(ctx, data_end); in ing_cls()
19 data = ctx_ptr(ctx, data); in ing_cls()
41 data_meta = ctx_ptr(ctx, data_meta); in ing_xdp()
42 data_end = ctx_ptr(ctx, data_end); in ing_xdp()
43 data = ctx_ptr(ctx, data); in ing_xdp()
Dtest_tc_neigh_fib.c17 #ifndef ctx_ptr
18 # define ctx_ptr(field) (void *)(long)(field) macro
27 void *data_end = ctx_ptr(skb->data_end); in fill_fib_params_v4()
28 void *data = ctx_ptr(skb->data); in fill_fib_params_v4()
55 void *data_end = ctx_ptr(skb->data_end); in fill_fib_params_v6()
56 void *data = ctx_ptr(skb->data); in fill_fib_params_v6()
81 void *data_end = ctx_ptr(skb->data_end); in tc_chk()
82 void *data = ctx_ptr(skb->data); in tc_chk()
128 void *data_end = ctx_ptr(skb->data_end); in tc_redir()
129 struct ethhdr *eth = ctx_ptr(skb->data); in tc_redir()
Dtest_tc_neigh.c17 #ifndef ctx_ptr
18 # define ctx_ptr(field) (void *)(long)(field) macro
42 void *data_end = ctx_ptr(skb->data_end); in is_remote_ep_v4()
43 void *data = ctx_ptr(skb->data); in is_remote_ep_v4()
59 void *data_end = ctx_ptr(skb->data_end); in is_remote_ep_v6()
60 void *data = ctx_ptr(skb->data); in is_remote_ep_v6()
76 void *data_end = ctx_ptr(skb->data_end); in tc_chk()
77 void *data = ctx_ptr(skb->data); in tc_chk()
Dtest_tc_dtime.c27 #define ctx_ptr(field) (void *)(long)(field) macro
140 void *data_end = ctx_ptr(skb->data_end); in skb_get_type()
141 void *data = ctx_ptr(skb->data); in skb_get_type()
/linux-6.6.21/arch/arm/kernel/
Dsuspend.c111 void *ctx_ptr; in cpu_suspend_alloc_sp() local
113 ctx_ptr = kcalloc(mpidr_hash_size(), sizeof(u32), GFP_KERNEL); in cpu_suspend_alloc_sp()
115 if (WARN_ON(!ctx_ptr)) in cpu_suspend_alloc_sp()
117 sleep_save_sp.save_ptr_stash = ctx_ptr; in cpu_suspend_alloc_sp()
118 sleep_save_sp.save_ptr_stash_phys = virt_to_phys(ctx_ptr); in cpu_suspend_alloc_sp()
/linux-6.6.21/drivers/crypto/cavium/nitrox/
Dnitrox_reqmgr.c417 u8 *ctx_ptr; in nitrox_process_se_request() local
419 ctx_ptr = (u8 *)(uintptr_t)req->ctx_handle; in nitrox_process_se_request()
420 hdr = (struct ctx_hdr *)(ctx_ptr - sizeof(struct ctx_hdr)); in nitrox_process_se_request()
/linux-6.6.21/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c527 void ipoib_ib_rx_completion(struct ib_cq *cq, void *ctx_ptr) in ipoib_ib_rx_completion() argument
529 struct ipoib_dev_priv *priv = ctx_ptr; in ipoib_ib_rx_completion()
534 void ipoib_ib_tx_completion(struct ib_cq *cq, void *ctx_ptr) in ipoib_ib_tx_completion() argument
536 struct ipoib_dev_priv *priv = ctx_ptr; in ipoib_ib_tx_completion()
Dipoib.h483 void ipoib_ib_rx_completion(struct ib_cq *cq, void *ctx_ptr);
484 void ipoib_ib_tx_completion(struct ib_cq *cq, void *ctx_ptr);
/linux-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c73 .ctx_ptr = 0x1b00,
136 .ctx_ptr = 0x4700,
184 .ctx_ptr = 0x4700,
1509 mtk_w32(eth, txd->txd2, soc->reg_map->qdma.ctx_ptr); in mtk_tx_map()
1875 mtk_w32(eth, txd->txd2, soc->reg_map->qdma.ctx_ptr); in mtk_xdp_submit_frame()
2520 mtk_w32(eth, ring->phys, soc->reg_map->qdma.ctx_ptr); in mtk_tx_alloc()
Dmtk_eth_soc.h1122 u32 ctx_ptr; /* tx acquire cpu pointer */ member