tools/testing/selftests/bpf/verifier/scale.c

Source file repositories/reference/linux-study-clean/tools/testing/selftests/bpf/verifier/scale.c

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/bpf/verifier/scale.c
Extension
.c
Size
324 bytes
Lines
19
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

{
	"scale: scale test 1",
	.insns = { },
	.data = { },
	.fill_helper = bpf_fill_scale,
	.prog_type = BPF_PROG_TYPE_SCHED_CLS,
	.result = ACCEPT,
	.retval = 1,
},
{
	"scale: scale test 2",
	.insns = { },
	.data = { },
	.fill_helper = bpf_fill_scale,
	.prog_type = BPF_PROG_TYPE_SCHED_CLS,
	.result = ACCEPT,
	.retval = 2,
},

Annotation

Implementation Notes