Searched refs:ctx_ptr (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
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_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_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.6.21/arch/arm/kernel/ |
D | suspend.c | 111 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/ |
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.6.21/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() 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()
|
D | ipoib.h | 483 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/ |
D | mtk_eth_soc.c | 73 .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()
|
D | mtk_eth_soc.h | 1122 u32 ctx_ptr; /* tx acquire cpu pointer */ member
|