• Home
  • Raw
  • Download

Lines Matching refs:iter_priv

45 	struct bpf_iter_priv_data *iter_priv;  in bpf_iter_inc_seq_num()  local
47 iter_priv = container_of(seq->private, struct bpf_iter_priv_data, in bpf_iter_inc_seq_num()
49 iter_priv->seq_num++; in bpf_iter_inc_seq_num()
54 struct bpf_iter_priv_data *iter_priv; in bpf_iter_dec_seq_num() local
56 iter_priv = container_of(seq->private, struct bpf_iter_priv_data, in bpf_iter_dec_seq_num()
58 iter_priv->seq_num--; in bpf_iter_dec_seq_num()
63 struct bpf_iter_priv_data *iter_priv; in bpf_iter_done_stop() local
65 iter_priv = container_of(seq->private, struct bpf_iter_priv_data, in bpf_iter_done_stop()
67 iter_priv->done_stop = true; in bpf_iter_done_stop()
72 struct bpf_iter_priv_data *iter_priv; in bpf_iter_support_resched() local
74 iter_priv = container_of(seq->private, struct bpf_iter_priv_data, in bpf_iter_support_resched()
76 return iter_priv->tinfo->reg_info->feature & BPF_ITER_RESCHED; in bpf_iter_support_resched()
255 struct bpf_iter_priv_data *iter_priv; in iter_release() local
262 iter_priv = container_of(seq->private, struct bpf_iter_priv_data, in iter_release()
265 if (iter_priv->seq_info->fini_seq_private) in iter_release()
266 iter_priv->seq_info->fini_seq_private(seq->private); in iter_release()
268 bpf_prog_put(iter_priv->prog); in iter_release()
269 seq->private = iter_priv; in iter_release()
662 struct bpf_iter_priv_data *iter_priv; in bpf_iter_get_info() local
671 iter_priv = container_of(seq_priv, struct bpf_iter_priv_data, in bpf_iter_get_info()
674 if (in_stop && iter_priv->done_stop) in bpf_iter_get_info()
677 meta->session_id = iter_priv->session_id; in bpf_iter_get_info()
678 meta->seq_num = iter_priv->seq_num; in bpf_iter_get_info()
680 return iter_priv->prog; in bpf_iter_get_info()