Lines Matching refs:fp

13 typedef int (*fprobe_entry_cb)(struct fprobe *fp, unsigned long entry_ip,
17 typedef void (*fprobe_exit_cb)(struct fprobe *fp, unsigned long entry_ip,
31 struct fprobe *fp; member
46 struct fprobe *fp; member
81 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled() argument
83 return (fp) ? fp->flags & FPROBE_FL_DISABLED : false; in fprobe_disabled()
86 static inline bool fprobe_shared_with_kprobes(struct fprobe *fp) in fprobe_shared_with_kprobes() argument
88 return (fp) ? fp->flags & FPROBE_FL_KPROBE_SHARED : false; in fprobe_shared_with_kprobes()
92 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter);
93 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num);
94 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num);
95 int unregister_fprobe(struct fprobe *fp);
96 bool fprobe_is_registered(struct fprobe *fp);
98 static inline int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter) in register_fprobe() argument
102 static inline int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num) in register_fprobe_ips() argument
106 static inline int register_fprobe_syms(struct fprobe *fp, const char **syms, int num) in register_fprobe_syms() argument
110 static inline int unregister_fprobe(struct fprobe *fp) in unregister_fprobe() argument
114 static inline bool fprobe_is_registered(struct fprobe *fp) in fprobe_is_registered() argument
127 static inline void disable_fprobe(struct fprobe *fp) in disable_fprobe() argument
129 if (fp) in disable_fprobe()
130 fp->flags |= FPROBE_FL_DISABLED; in disable_fprobe()
139 static inline void enable_fprobe(struct fprobe *fp) in enable_fprobe() argument
141 if (fp) in enable_fprobe()
142 fp->flags &= ~FPROBE_FL_DISABLED; in enable_fprobe()