Home
last modified time | relevance | path

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

12345678910>>...46

/Linux-v5.15/include/linux/
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 …]
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 …]
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);
110 static inline int task_handoff_register(struct notifier_block * n) in task_handoff_register()
115 static inline int task_handoff_unregister(struct notifier_block * n) in task_handoff_unregister()
120 static inline int profile_event_register(enum profile_type t, struct notifier_block * n) in profile_event_register()
125 static inline int profile_event_unregister(enum profile_type t, struct notifier_block * n) in profile_event_unregister()
Ddevfreq.h184 struct notifier_block nb;
210 struct notifier_block nb_min;
211 struct notifier_block nb_max;
253 struct notifier_block *nb,
256 struct notifier_block *nb,
260 struct notifier_block *nb,
264 struct notifier_block *nb,
319 struct notifier_block nb;
393 struct notifier_block *nb, in devfreq_register_notifier()
400 struct notifier_block *nb, in devfreq_unregister_notifier()
[all …]
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 *);
Dmemory.h103 struct notifier_block;
118 static inline int register_memory_notifier(struct notifier_block *nb) in register_memory_notifier()
122 static inline void unregister_memory_notifier(struct notifier_block *nb) in unregister_memory_notifier()
130 extern int register_memory_notifier(struct notifier_block *nb);
131 extern void unregister_memory_notifier(struct notifier_block *nb);
156 static __meminitdata struct notifier_block fn##_mem_nb =\
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.15/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()
222 struct notifier_block *n) in blocking_notifier_chain_register()
[all …]
/Linux-v5.15/include/net/
Dswitchdev.h186 struct notifier_block *atomic_nb;
187 struct notifier_block *blocking_nb;
267 struct notifier_block *atomic_nb,
268 struct notifier_block *blocking_nb,
273 struct notifier_block *atomic_nb,
274 struct notifier_block *blocking_nb);
286 int register_switchdev_notifier(struct notifier_block *nb);
287 int unregister_switchdev_notifier(struct notifier_block *nb);
292 int register_switchdev_blocking_notifier(struct notifier_block *nb);
293 int unregister_switchdev_blocking_notifier(struct notifier_block *nb);
[all …]
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()
/Linux-v5.15/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.15/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.15/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 *);
141 static int any_notifier(struct notifier_block *nb, in any_notifier()
154 static int temp_warn(struct notifier_block *nb, unsigned long type, void *data) in temp_warn()
216 static int port_module(struct notifier_block *nb, unsigned long type, void *data) in port_module()
305 static int pcie_core(struct notifier_block *nb, unsigned long type, void *data) in pcie_core()
330 static int forward_event(struct notifier_block *nb, unsigned long event, void *data) in forward_event()
[all …]
/Linux-v5.15/include/linux/firmware/imx/
Dsci.h21 int imx_scu_irq_register_notifier(struct notifier_block *nb);
22 int imx_scu_irq_unregister_notifier(struct notifier_block *nb);
36 static inline int imx_scu_irq_register_notifier(struct notifier_block *nb) in imx_scu_irq_register_notifier()
41 static inline int imx_scu_irq_unregister_notifier(struct notifier_block *nb) in imx_scu_irq_unregister_notifier()
/Linux-v5.15/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.15/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.15/drivers/platform/x86/dell/
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.15/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.15/arch/sparc/kernel/
Dsstate.c51 static int sstate_reboot_call(struct notifier_block *np, unsigned long type, void *_unused) in sstate_reboot_call()
75 static struct notifier_block sstate_reboot_notifier = {
79 static int sstate_panic_event(struct notifier_block *n, unsigned long event, void *ptr) in sstate_panic_event()
86 static struct notifier_block sstate_panic_block = {
/Linux-v5.15/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.15/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.15/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>>...46