Home
last modified time | relevance | path

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

12345678910>>...41

/Linux-v5.4/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;
145 struct notifier_block *nb);
147 struct notifier_block *nb);
[all …]
Dextcon.h200 struct notifier_block *nb);
202 struct notifier_block *nb);
205 struct notifier_block *nb);
208 struct notifier_block *nb);
211 struct notifier_block *nb);
213 struct notifier_block *nb);
216 struct notifier_block *nb);
219 struct notifier_block *nb);
252 unsigned int id, struct notifier_block *nb) in extcon_register_notifier()
258 unsigned int id, struct notifier_block *nb) in extcon_unregister_notifier()
[all …]
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()
Dmemory.h71 struct notifier_block;
86 static inline int register_memory_notifier(struct notifier_block *nb) in register_memory_notifier()
90 static inline void unregister_memory_notifier(struct notifier_block *nb) in unregister_memory_notifier()
97 static inline int register_memory_isolate_notifier(struct notifier_block *nb) in register_memory_isolate_notifier()
101 static inline void unregister_memory_isolate_notifier(struct notifier_block *nb) in unregister_memory_isolate_notifier()
109 extern int register_memory_notifier(struct notifier_block *nb);
110 extern void unregister_memory_notifier(struct notifier_block *nb);
111 extern int register_memory_isolate_notifier(struct notifier_block *nb);
112 extern void unregister_memory_isolate_notifier(struct notifier_block *nb);
128 static __meminitdata struct notifier_block fn##_mem_nb =\
Ddevfreq.h156 struct notifier_block nb;
228 struct notifier_block *nb,
231 struct notifier_block *nb,
235 struct notifier_block *nb,
239 struct notifier_block *nb,
293 struct notifier_block nb;
367 struct notifier_block *nb, in devfreq_register_notifier()
374 struct notifier_block *nb, in devfreq_unregister_notifier()
382 struct notifier_block *nb, in devm_devfreq_register_notifier()
390 struct notifier_block *nb, in devm_devfreq_unregister_notifier()
Dreboot.h43 extern int register_reboot_notifier(struct notifier_block *);
44 extern int unregister_reboot_notifier(struct notifier_block *);
46 extern int devm_register_reboot_notifier(struct device *, struct notifier_block *);
48 extern int register_restart_handler(struct notifier_block *);
49 extern int unregister_restart_handler(struct notifier_block *);
Dcpu_pm.h61 int cpu_pm_register_notifier(struct notifier_block *nb);
62 int cpu_pm_unregister_notifier(struct notifier_block *nb);
70 static inline int cpu_pm_register_notifier(struct notifier_block *nb) in cpu_pm_register_notifier()
75 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-v5.4/kernel/
Dnotifier.c22 static int notifier_chain_register(struct notifier_block **nl, in notifier_chain_register()
23 struct notifier_block *n) in notifier_chain_register()
36 static int notifier_chain_cond_register(struct notifier_block **nl, in notifier_chain_cond_register()
37 struct notifier_block *n) in notifier_chain_cond_register()
51 static int notifier_chain_unregister(struct notifier_block **nl, in notifier_chain_unregister()
52 struct notifier_block *n) in notifier_chain_unregister()
76 static int notifier_call_chain(struct notifier_block **nl, in notifier_call_chain()
81 struct notifier_block *nb, *next_nb; in notifier_call_chain()
124 struct notifier_block *n) in atomic_notifier_chain_register()
146 struct notifier_block *n) in atomic_notifier_chain_unregister()
[all …]
/Linux-v5.4/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-v5.4/include/net/
Dfib_notifier.h33 int (*fib_dump)(struct net *net, struct notifier_block *nb);
38 int call_fib_notifier(struct notifier_block *nb, struct net *net,
43 int register_fib_notifier(struct notifier_block *nb,
44 void (*cb)(struct notifier_block *nb));
45 int unregister_fib_notifier(struct notifier_block *nb);
Ddcbevent.h16 int register_dcbevent_notifier(struct notifier_block *nb);
17 int unregister_dcbevent_notifier(struct notifier_block *nb);
21 register_dcbevent_notifier(struct notifier_block *nb) in register_dcbevent_notifier()
26 static inline int unregister_dcbevent_notifier(struct notifier_block *nb) in unregister_dcbevent_notifier()
Dswitchdev.h167 int register_switchdev_notifier(struct notifier_block *nb);
168 int unregister_switchdev_notifier(struct notifier_block *nb);
173 int register_switchdev_blocking_notifier(struct notifier_block *nb);
174 int unregister_switchdev_blocking_notifier(struct notifier_block *nb);
227 static inline int register_switchdev_notifier(struct notifier_block *nb) in register_switchdev_notifier()
232 static inline int unregister_switchdev_notifier(struct notifier_block *nb) in unregister_switchdev_notifier()
246 register_switchdev_blocking_notifier(struct notifier_block *nb) in register_switchdev_blocking_notifier()
252 unregister_switchdev_blocking_notifier(struct notifier_block *nb) in unregister_switchdev_blocking_notifier()
/Linux-v5.4/arch/x86/include/asm/
Diosf_mbi.h167 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb);
174 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb);
186 struct notifier_block *nb);
225 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_register_pmic_bus_access_notifier()
231 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier()
237 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier_unlocked()
/Linux-v5.4/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-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Devents.c21 static int any_notifier(struct notifier_block *, unsigned long, void *);
22 static int temp_warn(struct notifier_block *, unsigned long, void *);
23 static int port_module(struct notifier_block *, unsigned long, void *);
24 static int pcie_core(struct notifier_block *, unsigned long, void *);
27 static int forward_event(struct notifier_block *, unsigned long, void *);
137 static int any_notifier(struct notifier_block *nb, in any_notifier()
150 static int temp_warn(struct notifier_block *nb, unsigned long type, void *data) in temp_warn()
212 static int port_module(struct notifier_block *nb, unsigned long type, void *data) in port_module()
301 static int pcie_core(struct notifier_block *nb, unsigned long type, void *data) in pcie_core()
326 static int forward_event(struct notifier_block *nb, unsigned long event, void *data) in forward_event()
[all …]
/Linux-v5.4/arch/arm/include/asm/
DbL_switcher.h40 int bL_switcher_register_notifier(struct notifier_block *nb);
41 int bL_switcher_unregister_notifier(struct notifier_block *nb);
58 static inline int bL_switcher_register_notifier(struct notifier_block *nb) in bL_switcher_register_notifier()
63 static inline int bL_switcher_unregister_notifier(struct notifier_block *nb) in bL_switcher_unregister_notifier()
/Linux-v5.4/net/core/
Dfib_notifier.c19 int call_fib_notifier(struct notifier_block *nb, struct net *net, in call_fib_notifier()
68 static int fib_net_dump(struct net *net, struct notifier_block *nb) in fib_net_dump()
87 static bool fib_dump_is_consistent(struct notifier_block *nb, in fib_dump_is_consistent()
88 void (*cb)(struct notifier_block *nb), in fib_dump_is_consistent()
101 int register_fib_notifier(struct notifier_block *nb, in register_fib_notifier()
102 void (*cb)(struct notifier_block *nb)) in register_fib_notifier()
131 int unregister_fib_notifier(struct notifier_block *nb) in unregister_fib_notifier()
/Linux-v5.4/drivers/platform/x86/
Ddell-rbtn.h11 struct notifier_block;
13 int dell_rbtn_notifier_register(struct notifier_block *nb);
14 int dell_rbtn_notifier_unregister(struct notifier_block *nb);
/Linux-v5.4/arch/arm/mach-highbank/
Dhighbank.c67 static int highbank_platform_notifier(struct notifier_block *nb, in highbank_platform_notifier()
107 static struct notifier_block highbank_amba_nb = {
111 static struct notifier_block highbank_platform_nb = {
119 static int hb_keys_notifier(struct notifier_block *nb, unsigned long event, void *data) in hb_keys_notifier()
133 static struct notifier_block hb_keys_nb = {
/Linux-v5.4/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-v5.4/arch/arm/kernel/
Dxscale-cp0.c33 static int dsp_do(struct notifier_block *self, unsigned long cmd, void *t) in dsp_do()
52 static struct notifier_block dsp_notifier_block = {
58 static int iwmmxt_do(struct notifier_block *self, unsigned long cmd, void *t) in iwmmxt_do()
84 static struct notifier_block iwmmxt_notifier_block = {
/Linux-v5.4/include/linux/regulator/
Dconsumer.h37 struct notifier_block;
272 struct notifier_block *nb);
274 struct notifier_block *nb);
276 struct notifier_block *nb);
278 struct notifier_block *nb);
546 struct notifier_block *nb) in regulator_register_notifier()
552 struct notifier_block *nb) in devm_regulator_register_notifier()
558 struct notifier_block *nb) in regulator_unregister_notifier()
564 struct notifier_block *nb) in devm_regulator_unregister_notifier()
/Linux-v5.4/drivers/gpu/drm/sti/
Dsti_vtg.h21 struct notifier_block;
26 int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb,
29 struct notifier_block *nb);

12345678910>>...41