Lines Matching refs:fp
37 int (*entry_handler)(struct fprobe *fp, unsigned long entry_ip,
40 void (*exit_handler)(struct fprobe *fp, unsigned long entry_ip,
54 static inline bool fprobe_disabled(struct fprobe *fp)
56 return (fp) ? fp->flags & FPROBE_FL_DISABLED : false;
59 static inline bool fprobe_shared_with_kprobes(struct fprobe *fp)
61 return (fp) ? fp->flags & FPROBE_FL_KPROBE_SHARED : false;
65 int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter);
66 int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num);
67 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num);
68 int unregister_fprobe(struct fprobe *fp);
69 bool fprobe_is_registered(struct fprobe *fp);
71 static inline int register_fprobe(struct fprobe *fp, const char *filter, const char *notfilter)
75 static inline int register_fprobe_ips(struct fprobe *fp, unsigned long *addrs, int num)
79 static inline int register_fprobe_syms(struct fprobe *fp, const char **syms, int num)
83 static inline int unregister_fprobe(struct fprobe *fp)
87 static inline bool fprobe_is_registered(struct fprobe *fp)
95 * @fp: The fprobe to be disabled.
97 * This will soft-disable @fp. Note that this doesn't remove the ftrace
100 static inline void disable_fprobe(struct fprobe *fp)
102 if (fp)
103 fp->flags |= FPROBE_FL_DISABLED;
108 * @fp: The fprobe to be enabled.
110 * This will soft-enable @fp.
112 static inline void enable_fprobe(struct fprobe *fp)
114 if (fp)
115 fp->flags &= ~FPROBE_FL_DISABLED;