Searched refs:ctx_ptr (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_tc_neigh_fib.c | 17 #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()
|
D | test_xdp_meta.c | 9 #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()
|
D | test_tc_neigh.c | 17 #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()
|
D | test_tc_dtime.c | 27 #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.12.1/arch/arm/kernel/ |
D | suspend.c | 119 void *ctx_ptr; in cpu_suspend_alloc_sp() local 121 ctx_ptr = kcalloc(mpidr_hash_size(), sizeof(u32), GFP_KERNEL); in cpu_suspend_alloc_sp() 123 if (WARN_ON(!ctx_ptr)) in cpu_suspend_alloc_sp() 125 sleep_save_sp.save_ptr_stash = ctx_ptr; in cpu_suspend_alloc_sp() 126 sleep_save_sp.save_ptr_stash_phys = virt_to_phys(ctx_ptr); in cpu_suspend_alloc_sp()
|
/linux-6.12.1/drivers/crypto/cavium/nitrox/ |
D | nitrox_reqmgr.c | 417 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.12.1/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ib.c | 527 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() 549 void ipoib_ib_tx_completion(struct ib_cq *cq, void *ctx_ptr) in ipoib_ib_tx_completion() argument 551 struct ipoib_dev_priv *priv = ctx_ptr; in ipoib_ib_tx_completion()
|
D | ipoib.h | 485 void ipoib_ib_rx_completion(struct ib_cq *cq, void *ctx_ptr); 486 void ipoib_ib_tx_completion(struct ib_cq *cq, void *ctx_ptr);
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_base.c | 502 void *ctx_ptr = &ring->pkt_ctx; in ice_xsk_pool_fill_cb() local 506 desc.src = &ctx_ptr; in ice_xsk_pool_fill_cb() 509 desc.bytes = sizeof(ctx_ptr); in ice_xsk_pool_fill_cb()
|
/linux-6.12.1/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 73 .ctx_ptr = 0x1b00, 138 .ctx_ptr = 0x4700, 189 .ctx_ptr = 0x4700, 1527 mtk_w32(eth, txd->txd2, soc->reg_map->qdma.ctx_ptr); in mtk_tx_map() 1893 mtk_w32(eth, txd->txd2, soc->reg_map->qdma.ctx_ptr); in mtk_xdp_submit_frame() 2540 mtk_w32(eth, ring->phys, soc->reg_map->qdma.ctx_ptr); in mtk_tx_alloc()
|
D | mtk_eth_soc.h | 1110 u32 ctx_ptr; /* tx acquire cpu pointer */ member
|