Home
last modified time | relevance | path

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

12345678910>>...39

/Linux-v4.19/include/linux/
Dnotifier.h49 struct notifier_block;
51 typedef int (*notifier_fn_t)(struct notifier_block *nb,
54 struct notifier_block { struct
56 struct notifier_block __rcu *next; argument
62 struct notifier_block __rcu *head; argument
67 struct notifier_block __rcu *head;
71 struct notifier_block __rcu *head;
77 struct notifier_block __rcu *head;
146 struct notifier_block *nb);
148 struct notifier_block *nb);
[all …]
Dextcon.h208 struct notifier_block *nb);
210 struct notifier_block *nb);
213 struct notifier_block *nb);
216 struct notifier_block *nb);
219 struct notifier_block *nb);
221 struct notifier_block *nb);
224 struct notifier_block *nb);
227 struct notifier_block *nb);
260 unsigned int id, struct notifier_block *nb) in extcon_register_notifier()
266 unsigned int id, struct notifier_block *nb) in extcon_unregister_notifier()
[all …]
Dmemory.h72 struct notifier_block;
87 static inline int register_memory_notifier(struct notifier_block *nb) in register_memory_notifier()
91 static inline void unregister_memory_notifier(struct notifier_block *nb) in unregister_memory_notifier()
98 static inline int register_memory_isolate_notifier(struct notifier_block *nb) in register_memory_isolate_notifier()
102 static inline void unregister_memory_isolate_notifier(struct notifier_block *nb) in unregister_memory_isolate_notifier()
110 extern int register_memory_notifier(struct notifier_block *nb);
111 extern void unregister_memory_notifier(struct notifier_block *nb);
112 extern int register_memory_isolate_notifier(struct notifier_block *nb);
113 extern void unregister_memory_isolate_notifier(struct notifier_block *nb);
129 static __meminitdata struct notifier_block fn##_mem_nb =\
Dprofile.h19 struct notifier_block;
81 int task_handoff_register(struct notifier_block * n);
82 int task_handoff_unregister(struct notifier_block * n);
84 int profile_event_register(enum profile_type, struct notifier_block * n);
85 int profile_event_unregister(enum profile_type, struct notifier_block * n);
113 static inline int task_handoff_register(struct notifier_block * n) in task_handoff_register()
118 static inline int task_handoff_unregister(struct notifier_block * n) in task_handoff_unregister()
123 static inline int profile_event_register(enum profile_type t, struct notifier_block * n) in profile_event_register()
128 static inline int profile_event_unregister(enum profile_type t, struct notifier_block * n) in profile_event_unregister()
Ddevfreq.h156 struct notifier_block nb;
213 struct notifier_block *nb,
216 struct notifier_block *nb,
220 struct notifier_block *nb,
224 struct notifier_block *nb,
278 struct notifier_block nb;
349 struct notifier_block *nb, in devfreq_register_notifier()
356 struct notifier_block *nb, in devfreq_unregister_notifier()
364 struct notifier_block *nb, in devm_devfreq_register_notifier()
372 struct notifier_block *nb, in devm_devfreq_unregister_notifier()
Dreboot.h41 extern int register_reboot_notifier(struct notifier_block *);
42 extern int unregister_reboot_notifier(struct notifier_block *);
44 extern int devm_register_reboot_notifier(struct device *, struct notifier_block *);
46 extern int register_restart_handler(struct notifier_block *);
47 extern int unregister_restart_handler(struct notifier_block *);
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.h7 struct notifier_block;
19 extern int register_keyboard_notifier(struct notifier_block *nb);
20 extern int unregister_keyboard_notifier(struct notifier_block *nb);
Dkdebug.h7 struct notifier_block;
17 int register_die_notifier(struct notifier_block *nb);
18 int unregister_die_notifier(struct notifier_block *nb);
/Linux-v4.19/kernel/
Dnotifier.c21 static int notifier_chain_register(struct notifier_block **nl, in notifier_chain_register()
22 struct notifier_block *n) in notifier_chain_register()
34 static int notifier_chain_cond_register(struct notifier_block **nl, in notifier_chain_cond_register()
35 struct notifier_block *n) in notifier_chain_cond_register()
49 static int notifier_chain_unregister(struct notifier_block **nl, in notifier_chain_unregister()
50 struct notifier_block *n) in notifier_chain_unregister()
74 static int notifier_call_chain(struct notifier_block **nl, in notifier_call_chain()
79 struct notifier_block *nb, *next_nb; in notifier_call_chain()
122 struct notifier_block *n) in atomic_notifier_chain_register()
144 struct notifier_block *n) in atomic_notifier_chain_unregister()
[all …]
Dreboot.c86 int register_reboot_notifier(struct notifier_block *nb) in register_reboot_notifier()
101 int unregister_reboot_notifier(struct notifier_block *nb) in unregister_reboot_notifier()
109 WARN_ON(unregister_reboot_notifier(*(struct notifier_block **)res)); in devm_unregister_reboot_notifier()
112 int devm_register_reboot_notifier(struct device *dev, struct notifier_block *nb) in devm_register_reboot_notifier()
114 struct notifier_block **rcnb; in devm_register_reboot_notifier()
178 int register_restart_handler(struct notifier_block *nb) in register_restart_handler()
193 int unregister_restart_handler(struct notifier_block *nb) in unregister_restart_handler()
/Linux-v4.19/include/linux/remoteproc/
Dqcom_rproc.h4 struct notifier_block;
8 int qcom_register_ssr_notifier(struct notifier_block *nb);
9 void qcom_unregister_ssr_notifier(struct notifier_block *nb);
13 static inline int qcom_register_ssr_notifier(struct notifier_block *nb) in qcom_register_ssr_notifier()
18 static inline void qcom_unregister_ssr_notifier(struct notifier_block *nb) {} in qcom_unregister_ssr_notifier()
/Linux-v4.19/include/net/
Dfib_notifier.h32 int (*fib_dump)(struct net *net, struct notifier_block *nb);
37 int call_fib_notifier(struct notifier_block *nb, struct net *net,
42 int register_fib_notifier(struct notifier_block *nb,
43 void (*cb)(struct notifier_block *nb));
44 int unregister_fib_notifier(struct notifier_block *nb);
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()
/Linux-v4.19/arch/x86/include/asm/
Diosf_mbi.h140 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb);
147 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb);
159 struct notifier_block *nb);
206 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_register_pmic_bus_access_notifier()
212 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier()
218 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier_unlocked()
/Linux-v4.19/include/acpi/
Dbutton.h8 extern int acpi_lid_notifier_register(struct notifier_block *nb);
9 extern int acpi_lid_notifier_unregister(struct notifier_block *nb);
12 static inline int acpi_lid_notifier_register(struct notifier_block *nb) in acpi_lid_notifier_register()
16 static inline int acpi_lid_notifier_unregister(struct notifier_block *nb) in acpi_lid_notifier_unregister()
/Linux-v4.19/arch/arm/include/asm/
DbL_switcher.h43 int bL_switcher_register_notifier(struct notifier_block *nb);
44 int bL_switcher_unregister_notifier(struct notifier_block *nb);
61 static inline int bL_switcher_register_notifier(struct notifier_block *nb) in bL_switcher_register_notifier()
66 static inline int bL_switcher_unregister_notifier(struct notifier_block *nb) in bL_switcher_unregister_notifier()
/Linux-v4.19/net/core/
Dfib_notifier.c12 int call_fib_notifier(struct notifier_block *nb, struct net *net, in call_fib_notifier()
59 static int fib_net_dump(struct net *net, struct notifier_block *nb) in fib_net_dump()
77 static bool fib_dump_is_consistent(struct notifier_block *nb, in fib_dump_is_consistent()
78 void (*cb)(struct notifier_block *nb), in fib_dump_is_consistent()
91 int register_fib_notifier(struct notifier_block *nb, in register_fib_notifier()
92 void (*cb)(struct notifier_block *nb)) in register_fib_notifier()
121 int unregister_fib_notifier(struct notifier_block *nb) in unregister_fib_notifier()
/Linux-v4.19/drivers/platform/x86/
Ddell-rbtn.h19 struct notifier_block;
21 int dell_rbtn_notifier_register(struct notifier_block *nb);
22 int dell_rbtn_notifier_unregister(struct notifier_block *nb);
/Linux-v4.19/arch/arm/mach-highbank/
Dhighbank.c78 static int highbank_platform_notifier(struct notifier_block *nb, in highbank_platform_notifier()
118 static struct notifier_block highbank_amba_nb = {
122 static struct notifier_block highbank_platform_nb = {
130 static int hb_keys_notifier(struct notifier_block *nb, unsigned long event, void *data) in hb_keys_notifier()
144 static struct notifier_block hb_keys_nb = {
/Linux-v4.19/arch/sparc/kernel/
Dsstate.c50 static int sstate_reboot_call(struct notifier_block *np, unsigned long type, void *_unused) in sstate_reboot_call()
74 static struct notifier_block sstate_reboot_notifier = {
78 static int sstate_panic_event(struct notifier_block *n, unsigned long event, void *ptr) in sstate_panic_event()
85 static struct notifier_block sstate_panic_block = {
/Linux-v4.19/arch/arm/kernel/
Dxscale-cp0.c36 static int dsp_do(struct notifier_block *self, unsigned long cmd, void *t) in dsp_do()
55 static struct notifier_block dsp_notifier_block = {
61 static int iwmmxt_do(struct notifier_block *self, unsigned long cmd, void *t) in iwmmxt_do()
87 static struct notifier_block iwmmxt_notifier_block = {
/Linux-v4.19/include/linux/regulator/
Dconsumer.h41 struct notifier_block;
276 struct notifier_block *nb);
278 struct notifier_block *nb);
280 struct notifier_block *nb);
282 struct notifier_block *nb);
539 struct notifier_block *nb) in regulator_register_notifier()
545 struct notifier_block *nb) in devm_regulator_register_notifier()
551 struct notifier_block *nb) in regulator_unregister_notifier()
557 struct notifier_block *nb) in devm_regulator_unregister_notifier()
/Linux-v4.19/drivers/gpu/drm/sti/
Dsti_vtg.h20 struct notifier_block;
25 int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb,
28 struct notifier_block *nb);
/Linux-v4.19/include/linux/usb/
Dphy.h105 struct notifier_block vbus_nb;
106 struct notifier_block id_nb;
107 struct notifier_block type_nb;
224 struct device_node *node, struct notifier_block *nb);
253 struct device_node *node, struct notifier_block *nb) in devm_usb_get_phy_by_node()
339 usb_register_notifier(struct usb_phy *x, struct notifier_block *nb) in usb_register_notifier()
345 usb_unregister_notifier(struct usb_phy *x, struct notifier_block *nb) in usb_unregister_notifier()

12345678910>>...39