Home
last modified time | relevance | path

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

12345678910>>...48

/linux-6.6.21/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;
78 struct notifier_block __rcu *head;
147 struct notifier_block *nb);
149 struct notifier_block *nb);
[all …]
Dextcon.h202 struct notifier_block *nb);
204 struct notifier_block *nb);
207 struct notifier_block *nb);
210 struct notifier_block *nb);
213 struct notifier_block *nb);
215 struct notifier_block *nb);
218 struct notifier_block *nb);
221 struct notifier_block *nb);
254 unsigned int id, struct notifier_block *nb) in extcon_register_notifier()
260 unsigned int id, struct notifier_block *nb) in extcon_unregister_notifier()
[all …]
Ddevfreq.h188 struct notifier_block nb;
218 struct notifier_block nb_min;
219 struct notifier_block nb_max;
261 struct notifier_block *nb,
264 struct notifier_block *nb,
268 struct notifier_block *nb,
272 struct notifier_block *nb,
336 struct notifier_block nb;
410 struct notifier_block *nb, in devfreq_register_notifier()
417 struct notifier_block *nb, in devfreq_unregister_notifier()
[all …]
Dmemory.h107 struct notifier_block;
127 static inline int register_memory_notifier(struct notifier_block *nb) in register_memory_notifier()
131 static inline void unregister_memory_notifier(struct notifier_block *nb) in unregister_memory_notifier()
143 extern int register_memory_notifier(struct notifier_block *nb);
144 extern void unregister_memory_notifier(struct notifier_block *nb);
165 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()
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 *);
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);
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);
/linux-6.6.21/kernel/
Dnotifier.c25 static int notifier_chain_register(struct notifier_block **nl, in notifier_chain_register()
26 struct notifier_block *n, in notifier_chain_register()
47 static int notifier_chain_unregister(struct notifier_block **nl, in notifier_chain_unregister()
48 struct notifier_block *n) in notifier_chain_unregister()
73 static int notifier_call_chain(struct notifier_block **nl, in notifier_call_chain()
78 struct notifier_block *nb, *next_nb; in notifier_call_chain()
122 static int notifier_call_chain_robust(struct notifier_block **nl, in notifier_call_chain_robust()
150 struct notifier_block *n) in atomic_notifier_chain_register()
173 struct notifier_block *n) in atomic_notifier_chain_register_unique_prio()
195 struct notifier_block *n) in atomic_notifier_chain_unregister()
[all …]
/linux-6.6.21/include/net/
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 *nb);
[all …]
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()
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-6.6.21/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-6.6.21/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-6.6.21/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 *);
144 static int any_notifier(struct notifier_block *nb, in any_notifier()
157 static int temp_warn(struct notifier_block *nb, unsigned long type, void *data) in temp_warn()
219 static int port_module(struct notifier_block *nb, unsigned long type, void *data) in port_module()
308 static int pcie_core(struct notifier_block *nb, unsigned long type, void *data) in pcie_core()
333 static int forward_event(struct notifier_block *nb, unsigned long event, void *data) in forward_event()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_iosf_mbi.h17 struct notifier_block;
24 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_register_pmic_bus_access_notifier()
30 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier_unlocked()
36 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier()
/linux-6.6.21/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-6.6.21/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);
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-6.6.21/include/acpi/
Dghes.h66 int ghes_register_vendor_record_notifier(struct notifier_block *nb);
73 void ghes_unregister_vendor_record_notifier(struct notifier_block *nb);
133 struct notifier_block;
134 extern void ghes_register_report_chain(struct notifier_block *nb);
135 extern void ghes_unregister_report_chain(struct notifier_block *nb);
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
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-6.6.21/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-6.6.21/arch/xtensa/platforms/iss/
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-6.6.21/include/drm/
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-6.6.21/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-6.6.21/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 = {

12345678910>>...48