Home
last modified time | relevance | path

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

12345678910>>...45

/linux/kernel/
H A Dnotifier.c17 static int notifier_chain_register(struct notifier_block **nl, in notifier_chain_register()
18 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()
65 static int notifier_call_chain(struct notifier_block **nl, in notifier_call_chain()
70 struct notifier_block *nb, *next_nb; in notifier_call_chain()
114 static int notifier_call_chain_robust(struct notifier_block **nl, in notifier_call_chain_robust()
142 struct notifier_block *n) in atomic_notifier_chain_register()
165 struct notifier_block *n) in atomic_notifier_chain_register_unique_prio()
187 struct notifier_block * in atomic_notifier_chain_unregister()
[all...]
/linux/include/net/
H A Dswitchdev.h207 struct notifier_block *atomic_nb;
208 struct notifier_block *blocking_nb;
293 struct notifier_block *atomic_nb,
294 struct notifier_block *blocking_nb,
299 struct notifier_block *atomic_nb,
300 struct notifier_block *blocking_nb);
303 struct notifier_block *atomic_nb,
304 struct notifier_block *blocking_nb,
320 int register_switchdev_notifier(struct notifier_block *nb);
321 int unregister_switchdev_notifier(struct notifier_block *n
[all...]
H A Ddcbevent.h11 struct notifier_block;
18 int register_dcbevent_notifier(struct notifier_block *nb);
19 int unregister_dcbevent_notifier(struct notifier_block *nb);
23 register_dcbevent_notifier(struct notifier_block *nb) in register_dcbevent_notifier()
28 static inline int unregister_dcbevent_notifier(struct notifier_block *nb) in unregister_dcbevent_notifier()
H A 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);
/linux/include/linux/
H A Ddevfreq.h192 struct notifier_block nb;
222 struct notifier_block nb_min;
223 struct notifier_block nb_max;
265 struct notifier_block *nb,
268 struct notifier_block *nb,
272 struct notifier_block *nb,
276 struct notifier_block *nb,
340 struct notifier_block nb;
414 struct notifier_block *nb, in devfreq_register_notifier()
421 struct notifier_block *n in devfreq_unregister_notifier()
[all...]
H A Drcu_notifier.h21 int rcu_stall_chain_notifier_register(struct notifier_block *n);
22 int rcu_stall_chain_notifier_unregister(struct notifier_block *n);
27 static inline int rcu_stall_chain_notifier_register(struct notifier_block *n) { return -EEXIST; } in rcu_stall_chain_notifier_register()
28 static inline int rcu_stall_chain_notifier_unregister(struct notifier_block *n) { return -ENOENT; } in rcu_stall_chain_notifier_unregister()
H A 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()
H A Drandom.h12 struct notifier_block;
32 int register_random_vmfork_notifier(struct notifier_block *nb);
33 int unregister_random_vmfork_notifier(struct notifier_block *nb);
35 static inline int register_random_vmfork_notifier(struct notifier_block *nb) { return 0; } in register_random_vmfork_notifier()
36 static inline int unregister_random_vmfork_notifier(struct notifier_block *nb) { return 0; } in unregister_random_vmfork_notifier()
122 int execute_with_initialized_rng(struct notifier_block *nb);
H A Dreboot.h44 extern int register_reboot_notifier(struct notifier_block *);
45 extern int unregister_reboot_notifier(struct notifier_block *);
47 extern int devm_register_reboot_notifier(struct device *, struct notifier_block *);
49 extern int register_restart_handler(struct notifier_block *);
50 extern int unregister_restart_handler(struct notifier_block *);
H A Dkexec_handover.h20 struct notifier_block;
50 int register_kho_notifier(struct notifier_block *nb);
51 int unregister_kho_notifier(struct notifier_block *nb);
89 static inline int register_kho_notifier(struct notifier_block *nb) in register_kho_notifier()
94 static inline int unregister_kho_notifier(struct notifier_block *nb) in unregister_kho_notifier()
H A Dacpi_amd_wbrf.h54 int amd_wbrf_register_notifier(struct notifier_block *nb);
55 int amd_wbrf_unregister_notifier(struct notifier_block *nb);
80 int amd_wbrf_register_notifier(struct notifier_block *nb) in amd_wbrf_register_notifier()
85 int amd_wbrf_unregister_notifier(struct notifier_block *nb) in amd_wbrf_unregister_notifier()
/linux/include/linux/remoteproc/
H A 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/drivers/platform/x86/lenovo/
H A Dwmi-other.h9 struct notifier_block;
11 int lwmi_om_register_notifier(struct notifier_block *nb);
12 int lwmi_om_unregister_notifier(struct notifier_block *nb);
14 struct notifier_block *nb);
H A Dwmi-events.h9 struct notifier_block;
15 int lwmi_events_register_notifier(struct notifier_block *nb);
16 int lwmi_events_unregister_notifier(struct notifier_block *nb);
18 struct notifier_block *nb);
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Devents.c22 static int any_notifier(struct notifier_block *, unsigned long, void *);
23 static int temp_warn(struct notifier_block *, unsigned long, void *);
24 static int port_module(struct notifier_block *, unsigned long, void *);
25 static int pcie_core(struct notifier_block *, unsigned long, void *);
28 static int forward_event(struct notifier_block *, unsigned long, void *);
145 static int any_notifier(struct notifier_block *nb, in any_notifier()
174 static int temp_warn(struct notifier_block *nb, unsigned long type, void *data) in temp_warn()
249 static int port_module(struct notifier_block *nb, unsigned long type, void *data) in port_module()
338 static int pcie_core(struct notifier_block *nb, unsigned long type, void *data) in pcie_core()
363 static int forward_event(struct notifier_block *n
[all...]
/linux/arch/arm/include/asm/
H A 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/include/acpi/
H A Dghes.h59 * @nb: pointer to the notifier_block structure of the event handler.
63 int ghes_register_vendor_record_notifier(struct notifier_block *nb);
68 * @nb: pointer to the notifier_block structure of the vendor record handler.
70 void ghes_unregister_vendor_record_notifier(struct notifier_block *nb);
130 struct notifier_block;
131 extern void ghes_register_report_chain(struct notifier_block *nb);
132 extern void ghes_unregister_report_chain(struct notifier_block *nb);
/linux/include/linux/firmware/imx/
H A Dsci.h21 int imx_scu_irq_register_notifier(struct notifier_block *nb);
22 int imx_scu_irq_unregister_notifier(struct notifier_block *nb);
37 static inline int imx_scu_irq_register_notifier(struct notifier_block *nb) in imx_scu_irq_register_notifier()
42 static inline int imx_scu_irq_unregister_notifier(struct notifier_block *nb) in imx_scu_irq_unregister_notifier()
/linux/arch/x86/include/asm/
H A Diosf_mbi.h166 * @nb: notifier_block to register
168 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb);
177 * @nb: notifier_block to unregister
180 struct notifier_block *nb);
219 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_register_pmic_bus_access_notifier()
225 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier()
231 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier_unlocked()
/linux/net/core/
H A Dlock_debug.c12 int netdev_debug_event(struct notifier_block *nb, unsigned long event, in netdev_debug_event()
80 struct notifier_block *nb; in rtnl_net_debug_net_init()
90 struct notifier_block *nb; in rtnl_net_debug_net_exit()
100 .size = sizeof(struct notifier_block),
103 static struct notifier_block rtnl_net_debug_block = {
H A Dfib_notifier.c18 int call_fib_notifier(struct notifier_block *nb, in call_fib_notifier()
58 static int fib_net_dump(struct net *net, struct notifier_block *nb, in fib_net_dump()
81 static bool fib_dump_is_consistent(struct net *net, struct notifier_block *nb, in fib_dump_is_consistent()
82 void (*cb)(struct notifier_block *nb), in fib_dump_is_consistent()
97 int register_fib_notifier(struct net *net, struct notifier_block *nb, in register_fib_notifier()
98 void (*cb)(struct notifier_block *nb), in register_fib_notifier()
119 int unregister_fib_notifier(struct net *net, struct notifier_block *nb) in unregister_fib_notifier()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.h50 struct notifier_block nexthop_nb;
51 struct notifier_block fib_nb;
52 struct notifier_block netevent_nb;
53 struct notifier_block inetaddr_nb;
54 struct notifier_block inet6addr_nb;
55 struct notifier_block netdevice_nb;
56 struct notifier_block inetaddr_valid_nb;
57 struct notifier_block inet6addr_valid_nb;
/linux/arch/xtensa/platforms/iss/
H A Dsetup.c35 static int iss_restart(struct notifier_block *this, in iss_restart()
45 static struct notifier_block iss_restart_block = {
50 iss_panic_event(struct notifier_block *this, unsigned long event, void *ptr) in iss_panic_event()
56 static struct notifier_block iss_panic_block = {
/linux/include/drm/
H A Ddrm_privacy_screen_consumer.h29 struct notifier_block *nb);
31 struct notifier_block *nb);
54 struct notifier_block *nb) in drm_privacy_screen_register_notifier()
59 struct notifier_block *nb) in drm_privacy_screen_unregister_notifier()
/linux/drivers/platform/x86/dell/
H A 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);

12345678910>>...45