Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dmemory.h102 struct memory_notify { struct
144 static inline int memory_notify(unsigned long val, void *v) in memory_notify() function
160 extern int memory_notify(unsigned long val, void *v);
/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Dmemory-hotplug.rst60 memory_notify结构体的指针::
62 struct memory_notify {
/linux-6.12.1/arch/powerpc/kexec/
Dcrash.c425 static void update_crash_elfcorehdr(struct kimage *image, struct memory_notify *mn) in update_crash_elfcorehdr()
570 struct memory_notify *mn; in arch_crash_handle_hotplug_event()
582 mn = (struct memory_notify *)arg; in arch_crash_handle_hotplug_event()
/linux-6.12.1/mm/
Dmemory_hotplug.c677 struct zone *zone, struct memory_notify *arg) in node_states_check_changes_online()
690 static void node_states_set_node(int node, struct memory_notify *arg) in node_states_set_node()
1153 struct memory_notify arg; in online_pages()
1174 ret = memory_notify(MEM_GOING_ONLINE, &arg); in online_pages()
1223 memory_notify(MEM_ONLINE, &arg); in online_pages()
1230 memory_notify(MEM_CANCEL_ONLINE, &arg); in online_pages()
1877 struct zone *zone, struct memory_notify *arg) in node_states_check_changes_offline()
1914 static void node_states_clear_node(int node, struct memory_notify *arg) in node_states_clear_node()
1942 struct memory_notify arg; in offline_pages()
2006 ret = memory_notify(MEM_GOING_OFFLINE, &arg); in offline_pages()
[all …]
Dpage_ext.c433 struct memory_notify *mn = arg; in page_ext_callback()
Dmemory-tiers.c875 struct memory_notify *arg = _arg; in memtier_hotplug_callback()
Dksm.c3220 struct memory_notify *mn = arg; in ksm_memory_callback()
Dslub.c5751 struct memory_notify *marg = arg; in slab_mem_offline_callback()
5777 struct memory_notify *marg = arg; in slab_mem_going_online_callback()
/linux-6.12.1/drivers/base/
Dmemory.c169 int memory_notify(unsigned long val, void *v) in memory_notify() function
191 struct memory_notify arg; in memory_block_online()
216 ret = memory_notify(MEM_PREPARE_ONLINE, &arg); in memory_block_online()
248 memory_notify(MEM_FINISH_OFFLINE, &arg); in memory_block_online()
262 struct memory_notify arg; in memory_block_offline()
298 memory_notify(MEM_FINISH_OFFLINE, &arg); in memory_block_offline()
/linux-6.12.1/Documentation/core-api/
Dmemory-hotplug.rst54 The third argument (arg) passes a pointer of struct memory_notify::
56 struct memory_notify {
/linux-6.12.1/arch/s390/mm/
Dinit.c249 struct memory_notify *arg; in s390_cma_mem_notifier()
/linux-6.12.1/mm/kasan/
Dshadow.c216 struct memory_notify *mem_data = data; in kasan_mem_notifier()
/linux-6.12.1/drivers/s390/char/
Dsclp_cmd.c328 struct memory_notify *arg; in sclp_mem_notifier()
/linux-6.12.1/drivers/hv/
Dhv_balloon.c639 struct memory_notify *mem = (struct memory_notify *)v; in hv_memory_notifier()
/linux-6.12.1/arch/s390/kernel/
Dsetup.c584 struct memory_notify *arg = data; in kdump_mem_notifier()
/linux-6.12.1/arch/x86/virt/vmx/tdx/
Dtdx.c1394 struct memory_notify *mn = v; in tdx_memory_notifier()
/linux-6.12.1/drivers/acpi/numa/
Dhmat.c921 struct memory_notify *mnb = arg; in hmat_callback()
/linux-6.12.1/arch/arm64/mm/
Dmmu.c1389 struct memory_notify *arg = data; in prevent_bootmem_remove_notifier()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Diommu.c2343 struct memory_notify *arg = data; in iommu_mem_notifier()
/linux-6.12.1/drivers/virtio/
Dvirtio_mem.c993 struct memory_notify *mhp = arg; in virtio_mem_memory_notifier_cb()
/linux-6.12.1/drivers/cxl/core/
Dregion.c2400 struct memory_notify *mnb = arg; in cxl_region_perf_attrs_callback()
/linux-6.12.1/drivers/net/ethernet/ibm/ehea/
Dehea_main.c3247 struct memory_notify *arg = data; in ehea_mem_notifier()