Lines Matching refs:bpf_mprog_entry
139 struct bpf_mprog_entry { struct
145 struct bpf_mprog_entry a; argument
146 struct bpf_mprog_entry b;
158 static inline struct bpf_mprog_entry *
159 bpf_mprog_peer(const struct bpf_mprog_entry *entry) in bpf_mprog_peer()
179 static inline void bpf_mprog_inc(struct bpf_mprog_entry *entry) in bpf_mprog_inc()
184 static inline void bpf_mprog_dec(struct bpf_mprog_entry *entry) in bpf_mprog_dec()
191 return ARRAY_SIZE(((struct bpf_mprog_entry *)NULL)->fp_items) - 1; in bpf_mprog_max()
194 static inline int bpf_mprog_total(struct bpf_mprog_entry *entry) in bpf_mprog_total()
202 static inline bool bpf_mprog_exists(struct bpf_mprog_entry *entry, in bpf_mprog_exists()
215 static inline void bpf_mprog_mark_for_release(struct bpf_mprog_entry *entry, in bpf_mprog_mark_for_release()
223 static inline void bpf_mprog_complete_release(struct bpf_mprog_entry *entry) in bpf_mprog_complete_release()
237 static inline void bpf_mprog_revision_new(struct bpf_mprog_entry *entry) in bpf_mprog_revision_new()
242 static inline void bpf_mprog_commit(struct bpf_mprog_entry *entry) in bpf_mprog_commit()
248 static inline u64 bpf_mprog_revision(struct bpf_mprog_entry *entry) in bpf_mprog_revision()
253 static inline void bpf_mprog_entry_copy(struct bpf_mprog_entry *dst, in bpf_mprog_entry_copy()
254 struct bpf_mprog_entry *src) in bpf_mprog_entry_copy()
259 static inline void bpf_mprog_entry_clear(struct bpf_mprog_entry *dst) in bpf_mprog_entry_clear()
264 static inline void bpf_mprog_clear_all(struct bpf_mprog_entry *entry, in bpf_mprog_clear_all()
265 struct bpf_mprog_entry **entry_new) in bpf_mprog_clear_all()
267 struct bpf_mprog_entry *peer; in bpf_mprog_clear_all()
275 static inline void bpf_mprog_entry_grow(struct bpf_mprog_entry *entry, int idx) in bpf_mprog_entry_grow()
288 static inline void bpf_mprog_entry_shrink(struct bpf_mprog_entry *entry, int idx) in bpf_mprog_entry_shrink()
304 static inline void bpf_mprog_read(struct bpf_mprog_entry *entry, u32 idx, in bpf_mprog_read()
320 int bpf_mprog_attach(struct bpf_mprog_entry *entry,
321 struct bpf_mprog_entry **entry_new,
326 int bpf_mprog_detach(struct bpf_mprog_entry *entry,
327 struct bpf_mprog_entry **entry_new,
332 struct bpf_mprog_entry *entry);