Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A 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/tools/lib/bpf/
H A Dlibbpf.c609 } kcfg; member
2053 switch (ext->kcfg.type) { in set_kcfg_value_tri()
2090 if (ext->kcfg.type != KCFG_CHAR_ARR) { in set_kcfg_value_str()
2105 if (len >= ext->kcfg.sz) { in set_kcfg_value_str()
2107 ext->name, value, len, ext->kcfg.sz - 1); in set_kcfg_value_str()
2108 len = ext->kcfg.sz - 1; in set_kcfg_value_str()
2137 int bit_sz = ext->kcfg.sz * 8; in is_kcfg_value_in_range()
2139 if (ext->kcfg.sz == 8) in is_kcfg_value_in_range()
2154 if (ext->kcfg.is_signed) in is_kcfg_value_in_range()
2163 if (ext->kcfg.type != KCFG_INT && ext->kcfg.type != KCFG_CHAR && in set_kcfg_value_num()
[all …]