Home
last modified time | relevance | path

Searched refs:orig_ctx (Results 1 – 3 of 3) sorted by relevance

/linux/net/bpf/
H A Dtest_run.c91 struct xdp_buff orig_ctx; member
101 struct xdp_buff *orig_ctx; member
123 struct xdp_buff *new_ctx, *orig_ctx; in xdp_test_run_init_page() local
130 orig_ctx = xdp->orig_ctx; in xdp_test_run_init_page()
131 frm_len = orig_ctx->data_end - orig_ctx->data_meta; in xdp_test_run_init_page()
132 meta_len = orig_ctx->data - orig_ctx->data_meta; in xdp_test_run_init_page()
138 memcpy(data + headroom, orig_ctx->data_meta, frm_len); in xdp_test_run_init_page()
147 memcpy(&head->orig_ctx, new_ctx, sizeof(head->orig_ctx)); in xdp_test_run_init_page()
150 static int xdp_test_run_setup(struct xdp_test_data *xdp, struct xdp_buff *orig_ctx) in xdp_test_run_setup() argument
187 xdp_rxq_info_reg(&xdp->rxq, orig_ctx->rxq->dev, 0, 0); in xdp_test_run_setup()
[all …]
/linux/lib/crypto/tests/
H A Dsha256_kunit.c78 struct sha256_ctx orig_ctx; in test_sha256_finup_2x() local
82 orig_ctx = *ctx; in test_sha256_finup_2x()
86 test, ctx, &orig_ctx, sizeof(*ctx), in test_sha256_finup_2x()
91 sha256_update(&orig_ctx, data2, data_len); in test_sha256_finup_2x()
92 sha256_final(&orig_ctx, expected_hash2); in test_sha256_finup_2x()
/linux/fs/overlayfs/
H A Dreaddir.c741 struct dir_context *orig_ctx; member
756 struct dir_context *orig_ctx = rdt->orig_ctx; in ovl_fill_real() local
772 res = orig_ctx->actor(orig_ctx, name, namelen, offset, ino, d_type); in ovl_fill_real()
773 ctx->count = orig_ctx->count; in ovl_fill_real()
803 .orig_ctx = ctx, in ovl_iterate_real()