Lines Matching refs:it
66 int bpf_iter_scx_dsq_new(struct bpf_iter_scx_dsq *it, u64 dsq_id, u64 flags) __ksym __weak;
67 struct task_struct *bpf_iter_scx_dsq_next(struct bpf_iter_scx_dsq *it) __ksym __weak;
68 void bpf_iter_scx_dsq_destroy(struct bpf_iter_scx_dsq *it) __ksym __weak;
330 extern int bpf_iter_css_new(struct bpf_iter_css *it,
334 bpf_iter_css_next(struct bpf_iter_css *it) __weak __ksym;
335 extern void bpf_iter_css_destroy(struct bpf_iter_css *it) __weak __ksym;
367 int bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign, u32 nr_words) __ksym;
368 int *bpf_iter_bits_next(struct bpf_iter_bits *it) __ksym;
369 void bpf_iter_bits_destroy(struct bpf_iter_bits *it) __ksym;
373 struct bpf_iter_bits it; \
379 struct bpf_iter_##name *it, const u64 *unsafe_ptr__ign, u32 nr_words) \
381 it->bitmap = scx_bpf_get_##name##_cpumask(); \
382 return bpf_iter_bits_new(&it->it, (const u64 *)it->bitmap, \
387 static inline int *bpf_iter_##name##_next(struct bpf_iter_##name *it) { \
388 return bpf_iter_bits_next(&it->it); \
392 static inline void bpf_iter_##name##_destroy(struct bpf_iter_##name *it) { \
393 scx_bpf_put_cpumask(it->bitmap); \
394 bpf_iter_bits_destroy(&it->it); \