Home
last modified time | relevance | path

Searched refs:KF_ITER_NEXT (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/bpf_testmod/
Dbpf_testmod.c344 BTF_ID_FLAGS(func, bpf_iter_testmod_seq_next, KF_ITER_NEXT | KF_RET_NULL)
/linux-6.6.21/include/linux/
Dbtf.h75 #define KF_ITER_NEXT (1 << 9) /* kfunc implements BPF iter next method */ macro
/linux-6.6.21/kernel/bpf/
Dbtf.c7575 u32 flags = func_flags & (KF_ITER_NEW | KF_ITER_NEXT | KF_ITER_DESTROY); in BTF_ID_LIST_GLOBAL()
7615 else if (flags & KF_ITER_NEXT) in BTF_ID_LIST_GLOBAL()
7628 if (flags & KF_ITER_NEXT) { in BTF_ID_LIST_GLOBAL()
7665 if (func_flags & (KF_ITER_NEW | KF_ITER_NEXT | KF_ITER_DESTROY)) { in btf_check_kfunc_protos()
Dhelpers.c2507 BTF_ID_FLAGS(func, bpf_iter_num_next, KF_ITER_NEXT | KF_RET_NULL)
Dverifier.c7660 return meta->kfunc_flags & (KF_ITER_NEW | KF_ITER_NEXT | KF_ITER_DESTROY); in is_iter_kfunc()
7670 return meta->kfunc_flags & KF_ITER_NEXT; in is_iter_next_kfunc()