Home
last modified time | relevance | path

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

12345678910>>...44

/Linux-v5.10/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()
Ddevfreq.h180 struct notifier_block nb;
203 struct notifier_block nb_min;
204 struct notifier_block nb_max;
246 struct notifier_block *nb,
249 struct notifier_block *nb,
253 struct notifier_block *nb,
257 struct notifier_block *nb,
312 struct notifier_block nb;
386 struct notifier_block *nb, in devfreq_register_notifier()
393 struct notifier_block *nb, in devfreq_unregister_notifier()
[all …]
Dmemory.h55 struct notifier_block;
70 static inline int register_memory_notifier(struct notifier_block *nb) in register_memory_notifier()
74 static inline void unregister_memory_notifier(struct notifier_block *nb) in unregister_memory_notifier()
82 extern int register_memory_notifier(struct notifier_block *nb);
83 extern void unregister_memory_notifier(struct notifier_block *nb);
98 static __meminitdata struct notifier_block fn##_mem_nb =\
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.10/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()
39 static int notifier_chain_unregister(struct notifier_block **nl, in notifier_chain_unregister()
40 struct notifier_block *n) in notifier_chain_unregister()
64 static int notifier_call_chain(struct notifier_block **nl, in notifier_call_chain()
69 struct notifier_block *nb, *next_nb; in notifier_call_chain()
112 static int notifier_call_chain_robust(struct notifier_block **nl, in notifier_call_chain_robust()
140 struct notifier_block *n) in atomic_notifier_chain_register()
162 struct notifier_block *n) in atomic_notifier_chain_unregister()
241 struct notifier_block *n) in blocking_notifier_chain_register()
[all …]
/Linux-v5.10/include/linux/remoteproc/
Dqcom_rproc.h4 struct notifier_block;
29 void *qcom_register_ssr_notifier(const char *name, struct notifier_block *nb);
30 int qcom_unregister_ssr_notifier(void *notify, struct notifier_block *nb);
35 struct notifier_block *nb) in qcom_register_ssr_notifier()
41 struct notifier_block *nb) in qcom_unregister_ssr_notifier()
/Linux-v5.10/arch/x86/include/asm/
Diosf_mbi.h168 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb);
175 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb);
187 struct notifier_block *nb);
226 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_register_pmic_bus_access_notifier()
232 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier()
238 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier_unlocked()
/Linux-v5.10/include/net/
Dfib_notifier.h32 int (*fib_dump)(struct net *net, struct notifier_block *nb,
38 int call_fib_notifier(struct notifier_block *nb,
43 int register_fib_notifier(struct net *net, struct notifier_block *nb,
44 void (*cb)(struct notifier_block *nb),
46 int unregister_fib_notifier(struct net *net, 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.h269 int register_switchdev_notifier(struct notifier_block *nb);
270 int unregister_switchdev_notifier(struct notifier_block *nb);
275 int register_switchdev_blocking_notifier(struct notifier_block *nb);
276 int unregister_switchdev_blocking_notifier(struct notifier_block *nb);
329 static inline int register_switchdev_notifier(struct notifier_block *nb) in register_switchdev_notifier()
334 static inline int unregister_switchdev_notifier(struct notifier_block *nb) in unregister_switchdev_notifier()
348 register_switchdev_blocking_notifier(struct notifier_block *nb) in register_switchdev_blocking_notifier()
354 unregister_switchdev_blocking_notifier(struct notifier_block *nb) in unregister_switchdev_blocking_notifier()
/Linux-v5.10/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.10/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.10/net/core/
Dfib_notifier.c18 int call_fib_notifier(struct notifier_block *nb, in call_fib_notifier()
60 static int fib_net_dump(struct net *net, struct notifier_block *nb, in fib_net_dump()
83 static bool fib_dump_is_consistent(struct net *net, struct notifier_block *nb, in fib_dump_is_consistent()
84 void (*cb)(struct notifier_block *nb), in fib_dump_is_consistent()
99 int register_fib_notifier(struct net *net, struct notifier_block *nb, in register_fib_notifier()
100 void (*cb)(struct notifier_block *nb), in register_fib_notifier()
121 int unregister_fib_notifier(struct net *net, struct notifier_block *nb) in unregister_fib_notifier()
/Linux-v5.10/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.10/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.10/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.10/include/linux/regulator/
Dconsumer.h38 struct notifier_block;
274 struct notifier_block *nb);
276 struct notifier_block *nb);
278 struct notifier_block *nb);
280 struct notifier_block *nb);
558 struct notifier_block *nb) in regulator_register_notifier()
564 struct notifier_block *nb) in devm_regulator_register_notifier()
570 struct notifier_block *nb) in regulator_unregister_notifier()
576 struct notifier_block *nb) in devm_regulator_unregister_notifier()
/Linux-v5.10/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.10/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);
/Linux-v5.10/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>>...44