Home
last modified time | relevance | path

Searched refs:notifier_block (Results 1 – 25 of 69) sorted by relevance

123

/include/linux/
Dprofile.h18 struct notifier_block;
80 int task_handoff_register(struct notifier_block * n);
81 int task_handoff_unregister(struct notifier_block * n);
83 int profile_event_register(enum profile_type, struct notifier_block * n);
84 int profile_event_unregister(enum profile_type, struct notifier_block * n);
112 static inline int task_handoff_register(struct notifier_block * n) in task_handoff_register()
117 static inline int task_handoff_unregister(struct notifier_block * n) in task_handoff_unregister()
122 static inline int profile_event_register(enum profile_type t, struct notifier_block * n) in profile_event_register()
127 static inline int profile_event_unregister(enum profile_type t, struct notifier_block * n) in profile_event_unregister()
Dnotifier.h50 typedef int (*notifier_fn_t)(struct notifier_block *nb,
53 struct notifier_block { struct
55 struct notifier_block __rcu *next; argument
61 struct notifier_block __rcu *head; argument
66 struct notifier_block __rcu *head;
70 struct notifier_block __rcu *head;
76 struct notifier_block __rcu *head;
119 struct notifier_block *nb);
121 struct notifier_block *nb);
123 struct notifier_block *nb);
[all …]
Dcpu.h47 struct notifier_block;
114 static struct notifier_block fn##_nb = \
120 static struct notifier_block fn##_nb = \
130 extern int register_cpu_notifier(struct notifier_block *nb);
131 extern int __register_cpu_notifier(struct notifier_block *nb);
132 extern void unregister_cpu_notifier(struct notifier_block *nb);
133 extern void __unregister_cpu_notifier(struct notifier_block *nb);
137 extern int register_cpu_notifier(struct notifier_block *nb);
138 extern int __register_cpu_notifier(struct notifier_block *nb);
140 static inline int register_cpu_notifier(struct notifier_block *nb) in register_cpu_notifier()
[all …]
Dmemory.h69 struct notifier_block;
84 static inline int register_memory_notifier(struct notifier_block *nb) in register_memory_notifier()
88 static inline void unregister_memory_notifier(struct notifier_block *nb) in unregister_memory_notifier()
95 static inline int register_memory_isolate_notifier(struct notifier_block *nb) in register_memory_isolate_notifier()
99 static inline void unregister_memory_isolate_notifier(struct notifier_block *nb) in unregister_memory_isolate_notifier()
107 extern int register_memory_notifier(struct notifier_block *nb);
108 extern void unregister_memory_notifier(struct notifier_block *nb);
109 extern int register_memory_isolate_notifier(struct notifier_block *nb);
110 extern void unregister_memory_isolate_notifier(struct notifier_block *nb);
126 static __meminitdata struct notifier_block fn##_mem_nb =\
Dcpu_pm.h70 int cpu_pm_register_notifier(struct notifier_block *nb);
71 int cpu_pm_unregister_notifier(struct notifier_block *nb);
79 static inline int cpu_pm_register_notifier(struct notifier_block *nb) in cpu_pm_register_notifier()
84 static inline int cpu_pm_unregister_notifier(struct notifier_block *nb) in cpu_pm_unregister_notifier()
Dkeyboard.h6 struct notifier_block;
18 extern int register_keyboard_notifier(struct notifier_block *nb);
19 extern int unregister_keyboard_notifier(struct notifier_block *nb);
Dkdebug.h6 struct notifier_block;
16 int register_die_notifier(struct notifier_block *nb);
17 int unregister_die_notifier(struct notifier_block *nb);
Dreboot.h38 extern int register_reboot_notifier(struct notifier_block *);
39 extern int unregister_reboot_notifier(struct notifier_block *);
41 extern int register_restart_handler(struct notifier_block *);
42 extern int unregister_restart_handler(struct notifier_block *);
Dpvclock_gtod.h13 extern int pvclock_gtod_register_notifier(struct notifier_block *nb);
14 extern int pvclock_gtod_unregister_notifier(struct notifier_block *nb);
Dfsl_hypervisor.h55 int fsl_hv_failover_register(struct notifier_block *nb);
61 int fsl_hv_failover_unregister(struct notifier_block *nb);
Dpl320-ipc.h16 int pl320_ipc_register_notifier(struct notifier_block *nb);
17 int pl320_ipc_unregister_notifier(struct notifier_block *nb);
Dextcon.h173 struct notifier_block internal_nb;
174 struct notifier_block *user_nb;
242 struct notifier_block *nb);
253 struct notifier_block *nb);
255 struct notifier_block *nb);
346 struct notifier_block *nb) in extcon_register_notifier()
352 struct notifier_block *nb) in extcon_unregister_notifier()
360 struct notifier_block *nb) in extcon_register_interest()
Dpm_qos.h132 int pm_qos_add_notifier(int pm_qos_class, struct notifier_block *notifier);
133 int pm_qos_remove_notifier(int pm_qos_class, struct notifier_block *notifier);
147 struct notifier_block *notifier);
149 struct notifier_block *notifier);
150 int dev_pm_qos_add_global_notifier(struct notifier_block *notifier);
151 int dev_pm_qos_remove_global_notifier(struct notifier_block *notifier);
179 struct notifier_block *notifier) in dev_pm_qos_add_notifier()
182 struct notifier_block *notifier) in dev_pm_qos_remove_notifier()
185 struct notifier_block *notifier) in dev_pm_qos_add_global_notifier()
188 struct notifier_block *notifier) in dev_pm_qos_remove_global_notifier()
Domap-mailbox.h21 struct omap_mbox *omap_mbox_get(const char *, struct notifier_block *nb);
22 void omap_mbox_put(struct omap_mbox *mbox, struct notifier_block *nb);
Doom.h11 struct notifier_block;
73 extern int register_oom_notifier(struct notifier_block *nb);
74 extern int unregister_oom_notifier(struct notifier_block *nb);
Dbacklight.h107 struct notifier_block fb_notif;
141 extern int backlight_register_notifier(struct notifier_block *nb);
142 extern int backlight_unregister_notifier(struct notifier_block *nb);
Dpadata.h154 struct notifier_block cpu_notifier;
186 struct notifier_block *nblock);
188 struct notifier_block *nblock);
Ddca.h29 void dca_register_notify(struct notifier_block *nb);
30 void dca_unregister_notify(struct notifier_block *nb);
/include/acpi/
Dbutton.h7 extern int acpi_lid_notifier_register(struct notifier_block *nb);
8 extern int acpi_lid_notifier_unregister(struct notifier_block *nb);
11 static inline int acpi_lid_notifier_register(struct notifier_block *nb) in acpi_lid_notifier_register()
15 static inline int acpi_lid_notifier_unregister(struct notifier_block *nb) in acpi_lid_notifier_unregister()
Dhed.h15 int register_acpi_hed_notifier(struct notifier_block *nb);
16 void unregister_acpi_hed_notifier(struct notifier_block *nb);
/include/net/
Ddcbevent.h27 int register_dcbevent_notifier(struct notifier_block *nb);
28 int unregister_dcbevent_notifier(struct notifier_block *nb);
32 register_dcbevent_notifier(struct notifier_block *nb) in register_dcbevent_notifier()
37 static inline int unregister_dcbevent_notifier(struct notifier_block *nb) in unregister_dcbevent_notifier()
Dnetevent.h29 int register_netevent_notifier(struct notifier_block *nb);
30 int unregister_netevent_notifier(struct notifier_block *nb);
Dflowcache.h20 struct notifier_block hotcpu_notifier;
/include/xen/
Dxen-ops.h17 void xen_resume_notifier_register(struct notifier_block *nb);
18 void xen_resume_notifier_unregister(struct notifier_block *nb);
/include/linux/mfd/
Dab3100.h125 struct notifier_block *nb);
127 struct notifier_block *nb);

123