Home
last modified time | relevance | path

Searched refs:memory_notify (Results 1 – 17 of 17) sorted by relevance

/linux/include/linux/
H A Dmemory.h102 struct memory_notify { struct
135 static inline int memory_notify(enum memory_block_state state, void *v) in memory_notify() function
159 extern int memory_notify(enum memory_block_state state, void *v);
/linux/Documentation/translations/zh_CN/core-api/
H A Dmemory-hotplug.rst60 memory_notify结构体的指针::
62 struct memory_notify {
/linux/arch/powerpc/kexec/
H A Dcrash.c428 static void update_crash_elfcorehdr(struct kimage *image, struct memory_notify *mn) in update_crash_elfcorehdr()
573 struct memory_notify *mn; in arch_crash_handle_hotplug_event()
585 mn = (struct memory_notify *)arg; in arch_crash_handle_hotplug_event()
/linux/mm/
H A Dmemory_hotplug.c1147 struct memory_notify mem_arg = { in online_pages()
1184 ret = memory_notify(MEM_GOING_ONLINE, &mem_arg); in online_pages()
1238 memory_notify(MEM_ONLINE, &mem_arg); in online_pages()
1245 memory_notify(MEM_CANCEL_ONLINE, &mem_arg); in online_pages()
1901 struct memory_notify mem_arg = { in offline_pages()
1981 ret = memory_notify(MEM_GOING_OFFLINE, &mem_arg); in offline_pages()
2078 memory_notify(MEM_OFFLINE, &mem_arg); in offline_pages()
2085 memory_notify(MEM_CANCEL_OFFLINE, &mem_arg); in offline_pages()
H A Dpage_ext.c427 struct memory_notify *mn = arg; in page_ext_callback()
H A Dksm.c3376 struct memory_notify *mn = arg; in ksm_memory_callback()
/linux/Documentation/core-api/
H A Dmemory-hotplug.rst57 The third argument (arg) passes a pointer of struct memory_notify::
59 struct memory_notify {
72 It is then important that users of memory_notify make no assumptions and get
/linux/arch/s390/mm/
H A Dinit.c237 struct memory_notify *arg; in s390_cma_mem_notifier()
/linux/mm/kasan/
H A Dshadow.c216 struct memory_notify *mem_data = data; in kasan_mem_notifier()
/linux/drivers/hv/
H A Dhv_balloon.c639 struct memory_notify *mem = (struct memory_notify *)v; in hv_memory_notifier()
/linux/arch/s390/kernel/
H A Dsetup.c568 struct memory_notify *arg = data; in kdump_mem_notifier()
/linux/drivers/base/
H A Dmemory.c207 int memory_notify(enum memory_block_state state, void *v) in memory_notify() function
/linux/arch/x86/virt/vmx/tdx/
H A Dtdx.c1370 struct memory_notify *mn = v; in tdx_memory_notifier()
/linux/arch/arm64/mm/
H A Dmmu.c2026 struct memory_notify *arg = data; in prevent_bootmem_remove_notifier()
/linux/arch/powerpc/platforms/pseries/
H A Diommu.c2421 struct memory_notify *arg = data; in iommu_mem_notifier()
/linux/drivers/virtio/
H A Dvirtio_mem.c995 struct memory_notify *mhp = arg; in virtio_mem_memory_notifier_cb()
/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c3247 struct memory_notify *arg = data; in ehea_mem_notifier()