Home
last modified time | relevance | path

Searched refs:ctx_val (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dkfunc_call_test.c180 struct ctx_val { struct
188 __type(value, struct ctx_val); argument
202 struct ctx_val *ctx_val = bpf_map_lookup_elem(&ctx_map, &key); in kfunc_call_ctx() local
207 if (ctx_val) in kfunc_call_ctx()
208 ctx = bpf_kptr_xchg(&ctx_val->ctx, ctx); in kfunc_call_ctx()
/linux-6.12.1/drivers/gpu/drm/ttm/tests/
Dttm_bo_validate_test.c231 struct ttm_operation_ctx ctx_init = { }, ctx_val = { }; in ttm_bo_validate_basic() local
257 err = ttm_bo_validate(bo, snd_placement, &ctx_val); in ttm_bo_validate_basic()
261 KUNIT_EXPECT_EQ(test, ctx_val.bytes_moved, bo->base.size); in ttm_bo_validate_basic()
376 struct ttm_operation_ctx ctx_init = { }, ctx_val = { }; in ttm_bo_validate_same_placement() local
400 err = ttm_bo_validate(bo, placement, &ctx_val); in ttm_bo_validate_same_placement()
404 KUNIT_EXPECT_EQ(test, ctx_val.bytes_moved, 0); in ttm_bo_validate_same_placement()
415 struct ttm_operation_ctx ctx_init = { }, ctx_val = { }; in ttm_bo_validate_busy_placement() local
445 err = ttm_bo_validate(bo, placement_val, &ctx_val); in ttm_bo_validate_busy_placement()
451 KUNIT_EXPECT_EQ(test, ctx_val.bytes_moved, bo->base.size); in ttm_bo_validate_busy_placement()
463 struct ttm_operation_ctx ctx_init = { }, ctx_val = { }; in ttm_bo_validate_multihop() local
[all …]