Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
80 void *data_end = ctx_ptr(skb->data_end); in tc_chk()
81 void *data = ctx_ptr(skb->data); in tc_chk()
127 void *data_end = ctx_ptr(skb->data_end); in tc_redir()
128 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
51 void *data_end = ctx_ptr(skb->data_end); in is_remote_ep_v4()
52 void *data = ctx_ptr(skb->data); in is_remote_ep_v4()
68 void *data_end = ctx_ptr(skb->data_end); in is_remote_ep_v6()
69 void *data = ctx_ptr(skb->data); in is_remote_ep_v6()
91 void *data_end = ctx_ptr(skb->data_end); in tc_chk()
92 void *data = ctx_ptr(skb->data); in tc_chk()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
Dnitrox_reqmgr.c412 u8 *ctx_ptr; in nitrox_process_se_request() local
414 ctx_ptr = (u8 *)(uintptr_t)req->ctx_handle; in nitrox_process_se_request()
415 hdr = (struct ctx_hdr *)(ctx_ptr - sizeof(struct ctx_hdr)); in nitrox_process_se_request()
/kernel/linux/linux-5.10/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);