Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dskeleton.c20 struct test_skeleton__kconfig *kcfg; in test_skeleton() local
72 kcfg = skel->kconfig; in test_skeleton()
91 CHECK(bss->bpf_syscall != kcfg->CONFIG_BPF_SYSCALL, "ext1", in test_skeleton()
92 "got %d != exp %d\n", bss->bpf_syscall, kcfg->CONFIG_BPF_SYSCALL); in test_skeleton()
93 CHECK(bss->kern_ver != kcfg->LINUX_KERNEL_VERSION, "ext2", in test_skeleton()
94 "got %d != exp %d\n", bss->kern_ver, kcfg->LINUX_KERNEL_VERSION); in test_skeleton()
/tools/lib/bpf/
Dlibbpf.c390 } kcfg; member
1463 switch (ext->kcfg.type) { in set_kcfg_value_tri()
1500 if (ext->kcfg.type != KCFG_CHAR_ARR) { in set_kcfg_value_str()
1514 if (len >= ext->kcfg.sz) { in set_kcfg_value_str()
1516 ext->name, value, len, ext->kcfg.sz - 1); in set_kcfg_value_str()
1517 len = ext->kcfg.sz - 1; in set_kcfg_value_str()
1546 int bit_sz = ext->kcfg.sz * 8; in is_kcfg_value_in_range()
1548 if (ext->kcfg.sz == 8) in is_kcfg_value_in_range()
1563 if (ext->kcfg.is_signed) in is_kcfg_value_in_range()
1572 if (ext->kcfg.type != KCFG_INT && ext->kcfg.type != KCFG_CHAR) { in set_kcfg_value_num()
[all …]