Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dskeleton.c23 struct test_skeleton__kconfig *kcfg; in test_skeleton() local
98 kcfg = skel->kconfig; in test_skeleton()
117 CHECK(bss->bpf_syscall != kcfg->CONFIG_BPF_SYSCALL, "ext1", in test_skeleton()
118 "got %d != exp %d\n", bss->bpf_syscall, kcfg->CONFIG_BPF_SYSCALL); in test_skeleton()
119 CHECK(bss->kern_ver != kcfg->LINUX_KERNEL_VERSION, "ext2", in test_skeleton()
120 "got %d != exp %d\n", bss->kern_ver, kcfg->LINUX_KERNEL_VERSION); in test_skeleton()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c608 } kcfg; member
2033 switch (ext->kcfg.type) { in set_kcfg_value_tri()
2070 if (ext->kcfg.type != KCFG_CHAR_ARR) { in set_kcfg_value_str()
2085 if (len >= ext->kcfg.sz) { in set_kcfg_value_str()
2087 ext->name, value, len, ext->kcfg.sz - 1); in set_kcfg_value_str()
2088 len = ext->kcfg.sz - 1; in set_kcfg_value_str()
2117 int bit_sz = ext->kcfg.sz * 8; in is_kcfg_value_in_range()
2119 if (ext->kcfg.sz == 8) in is_kcfg_value_in_range()
2134 if (ext->kcfg.is_signed) in is_kcfg_value_in_range()
2143 if (ext->kcfg.type != KCFG_INT && ext->kcfg.type != KCFG_CHAR && in set_kcfg_value_num()
[all …]