Searched refs:memory_notify (Results 1 – 17 of 17) sorted by relevance
| /linux/include/linux/ |
| H A D | memory.h | 102 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 D | memory-hotplug.rst | 60 memory_notify结构体的指针:: 62 struct memory_notify {
|
| /linux/arch/powerpc/kexec/ |
| H A D | crash.c | 428 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 D | memory_hotplug.c | 1147 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 D | page_ext.c | 427 struct memory_notify *mn = arg; in page_ext_callback()
|
| H A D | ksm.c | 3376 struct memory_notify *mn = arg; in ksm_memory_callback()
|
| /linux/Documentation/core-api/ |
| H A D | memory-hotplug.rst | 57 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 D | init.c | 237 struct memory_notify *arg; in s390_cma_mem_notifier()
|
| /linux/mm/kasan/ |
| H A D | shadow.c | 216 struct memory_notify *mem_data = data; in kasan_mem_notifier()
|
| /linux/drivers/hv/ |
| H A D | hv_balloon.c | 639 struct memory_notify *mem = (struct memory_notify *)v; in hv_memory_notifier()
|
| /linux/arch/s390/kernel/ |
| H A D | setup.c | 568 struct memory_notify *arg = data; in kdump_mem_notifier()
|
| /linux/drivers/base/ |
| H A D | memory.c | 207 int memory_notify(enum memory_block_state state, void *v) in memory_notify() function
|
| /linux/arch/x86/virt/vmx/tdx/ |
| H A D | tdx.c | 1370 struct memory_notify *mn = v; in tdx_memory_notifier()
|
| /linux/arch/arm64/mm/ |
| H A D | mmu.c | 2026 struct memory_notify *arg = data; in prevent_bootmem_remove_notifier()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | iommu.c | 2421 struct memory_notify *arg = data; in iommu_mem_notifier()
|
| /linux/drivers/virtio/ |
| H A D | virtio_mem.c | 995 struct memory_notify *mhp = arg; in virtio_mem_memory_notifier_cb()
|
| /linux/drivers/net/ethernet/ibm/ehea/ |
| H A D | ehea_main.c | 3247 struct memory_notify *arg = data; in ehea_mem_notifier()
|