Searched refs:kcfg (Results 1 – 2 of 2) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | skeleton.c | 22 struct test_skeleton__kconfig *kcfg; in test_skeleton() local 96 kcfg = skel->kconfig; in test_skeleton() 115 CHECK(bss->bpf_syscall != kcfg->CONFIG_BPF_SYSCALL, "ext1", in test_skeleton() 116 "got %d != exp %d\n", bss->bpf_syscall, kcfg->CONFIG_BPF_SYSCALL); in test_skeleton() 117 CHECK(bss->kern_ver != kcfg->LINUX_KERNEL_VERSION, "ext2", in test_skeleton() 118 "got %d != exp %d\n", bss->kern_ver, kcfg->LINUX_KERNEL_VERSION); in test_skeleton()
|
/external/libbpf/src/ |
D | libbpf.c | 428 } kcfg; member 1642 switch (ext->kcfg.type) { in set_kcfg_value_tri() 1679 if (ext->kcfg.type != KCFG_CHAR_ARR) { in set_kcfg_value_str() 1693 if (len >= ext->kcfg.sz) { in set_kcfg_value_str() 1695 ext->name, value, len, ext->kcfg.sz - 1); in set_kcfg_value_str() 1696 len = ext->kcfg.sz - 1; in set_kcfg_value_str() 1725 int bit_sz = ext->kcfg.sz * 8; in is_kcfg_value_in_range() 1727 if (ext->kcfg.sz == 8) in is_kcfg_value_in_range() 1742 if (ext->kcfg.is_signed) in is_kcfg_value_in_range() 1751 if (ext->kcfg.type != KCFG_INT && ext->kcfg.type != KCFG_CHAR) { in set_kcfg_value_num() [all …]
|