Lines Matching refs:fp
342 static inline void bpf_prog_lock_ro(struct bpf_prog *fp) in bpf_prog_lock_ro() argument
344 set_memory_ro((unsigned long)fp, fp->pages); in bpf_prog_lock_ro()
347 static inline void bpf_prog_unlock_ro(struct bpf_prog *fp) in bpf_prog_unlock_ro() argument
349 set_memory_rw((unsigned long)fp, fp->pages); in bpf_prog_unlock_ro()
352 static inline void bpf_prog_lock_ro(struct bpf_prog *fp) in bpf_prog_lock_ro() argument
356 static inline void bpf_prog_unlock_ro(struct bpf_prog *fp) in bpf_prog_unlock_ro() argument
363 void bpf_prog_select_runtime(struct bpf_prog *fp);
364 void bpf_prog_free(struct bpf_prog *fp);
372 void __bpf_prog_free(struct bpf_prog *fp);
374 static inline void bpf_prog_unlock_free(struct bpf_prog *fp) in bpf_prog_unlock_free() argument
376 bpf_prog_unlock_ro(fp); in bpf_prog_unlock_free()
377 __bpf_prog_free(fp); in bpf_prog_unlock_free()
381 void bpf_prog_destroy(struct bpf_prog *fp);
390 bool sk_filter_charge(struct sock *sk, struct sk_filter *fp);
391 void sk_filter_uncharge(struct sock *sk, struct sk_filter *fp);
394 void bpf_int_jit_compile(struct bpf_prog *fp);
405 void bpf_jit_compile(struct bpf_prog *fp);
406 void bpf_jit_free(struct bpf_prog *fp);
418 static inline void bpf_jit_compile(struct bpf_prog *fp) in bpf_jit_compile() argument
422 static inline void bpf_jit_free(struct bpf_prog *fp) in bpf_jit_free() argument
424 bpf_prog_unlock_free(fp); in bpf_jit_free()