Searched refs:nb (Results 1 – 7 of 7) sorted by relevance
/mm/ |
D | oom_kill.c | 980 int register_oom_notifier(struct notifier_block *nb) in register_oom_notifier() argument 982 return blocking_notifier_chain_register(&oom_notify_list, nb); in register_oom_notifier() 986 int unregister_oom_notifier(struct notifier_block *nb) in unregister_oom_notifier() argument 988 return blocking_notifier_chain_unregister(&oom_notify_list, nb); in unregister_oom_notifier()
|
D | zswap.c | 389 static int zswap_cpu_dstmem_notifier(struct notifier_block *nb, in zswap_cpu_dstmem_notifier() argument 460 static int zswap_cpu_comp_notifier(struct notifier_block *nb, in zswap_cpu_comp_notifier() argument 464 struct zswap_pool *pool = container_of(nb, typeof(*pool), notifier); in zswap_cpu_comp_notifier()
|
D | vmalloc.c | 502 int register_vmap_purge_notifier(struct notifier_block *nb) in register_vmap_purge_notifier() argument 504 return blocking_notifier_chain_register(&vmap_notify_list, nb); in register_vmap_purge_notifier() 508 int unregister_vmap_purge_notifier(struct notifier_block *nb) in unregister_vmap_purge_notifier() argument 510 return blocking_notifier_chain_unregister(&vmap_notify_list, nb); in unregister_vmap_purge_notifier()
|
D | zsmalloc.c | 1287 static int zs_cpu_notifier(struct notifier_block *nb, unsigned long action, in zs_cpu_notifier() argument
|
D | mmap.c | 3554 static int reserve_mem_notifier(struct notifier_block *nb, in reserve_mem_notifier() argument
|
D | memcontrol.c | 1820 static int memcg_cpu_hotplug_callback(struct notifier_block *nb, in memcg_cpu_hotplug_callback() argument
|
/mm/kasan/ |
D | kasan.c | 847 static int kasan_mem_notifier(struct notifier_block *nb, in kasan_mem_notifier() argument
|