Searched refs:ctx_ptr (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A 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()
|
A 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()
|
A 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()
|
A 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.3-rc2/arch/arm/kernel/ |
A 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.3-rc2/drivers/crypto/cavium/nitrox/ |
A 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.3-rc2/drivers/infiniband/ulp/ipoib/ |
A 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()
|
A 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.3-rc2/drivers/net/ethernet/mediatek/ |
A D | mtk_eth_soc.c | 70 .ctx_ptr = 0x1b00, 133 .ctx_ptr = 0x4700, 1424 mtk_w32(eth, txd->txd2, soc->reg_map->qdma.ctx_ptr); in mtk_tx_map() 1790 mtk_w32(eth, txd->txd2, soc->reg_map->qdma.ctx_ptr); in mtk_xdp_submit_frame() 2428 mtk_w32(eth, ring->phys, soc->reg_map->qdma.ctx_ptr); in mtk_tx_alloc()
|
A D | mtk_eth_soc.h | 1002 u32 ctx_ptr; /* tx acquire cpu pointer */ member
|
Completed in 52 milliseconds