Home
last modified time | relevance | path

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

/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dmemory-hotplug.rst44 MEM_OFFLINE
87 NOTIFY_BAD是作为对MEM_GOING_ONLINE、MEM_GOING_OFFLINE、MEM_ONLINE或MEM_OFFLINE
/linux-6.6.21/drivers/base/
Dmemory.c155 case MEM_OFFLINE: in state_show()
296 case MEM_OFFLINE: in memory_block_action()
316 if (to_state == MEM_OFFLINE) in memory_block_change_state()
341 ret = memory_block_change_state(mem, MEM_ONLINE, MEM_OFFLINE); in memory_subsys_online()
351 if (mem->state == MEM_OFFLINE) in memory_subsys_offline()
354 return memory_block_change_state(mem, MEM_OFFLINE, MEM_ONLINE); in memory_subsys_offline()
666 memory->dev.offline = memory->state == MEM_OFFLINE; in __add_memory_block()
822 return add_memory_block(block_id, MEM_OFFLINE, altmap, group); in add_hotplug_memory_block()
/linux-6.6.21/include/linux/
Dmemory.h95 #define MEM_OFFLINE (1<<2) /* exposed to userspace */ macro
/linux-6.6.21/Documentation/core-api/
Dmemory-hotplug.rst36 MEM_OFFLINE
81 MEM_ONLINE, or MEM_OFFLINE action to cancel hotplugging. It stops
/linux-6.6.21/mm/
Dpage_ext.c424 case MEM_OFFLINE: in page_ext_callback()
Dmemory-tiers.c609 case MEM_OFFLINE: in memtier_hotplug_callback()
Dmemory_hotplug.c2031 memory_notify(MEM_OFFLINE, &arg); in offline_pages()
2055 if (unlikely(mem->state != MEM_OFFLINE)) { in check_memblock_offlined_cb()
Dmm_init.c188 case MEM_OFFLINE: in mm_compute_batch_notifier()
Dksm.c3079 case MEM_OFFLINE: in ksm_memory_callback()
Dslab.c1136 case MEM_OFFLINE: in slab_memory_callback()
Dmmap.c3883 case MEM_OFFLINE: in reserve_mem_notifier()
Dslub.c4968 case MEM_OFFLINE: in slab_memory_callback()
/linux-6.6.21/mm/kasan/
Dshadow.c273 case MEM_OFFLINE: { in kasan_mem_notifier()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dcmm.c480 case MEM_OFFLINE: in cmm_memory_cb()
Diommu.c1666 case MEM_OFFLINE: in iommu_mem_notifier()
/linux-6.6.21/drivers/s390/char/
Dsclp_cmd.c352 case MEM_OFFLINE: in sclp_mem_notifier()
/linux-6.6.21/arch/arm64/mm/
Dmmu.c1361 if ((action != MEM_GOING_OFFLINE) && (action != MEM_OFFLINE)) in prevent_bootmem_remove_notifier()
1380 } else if (action == MEM_OFFLINE) { in prevent_bootmem_remove_notifier()
/linux-6.6.21/fs/proc/
Dkcore.c644 case MEM_OFFLINE: in kcore_callback()
/linux-6.6.21/kernel/
Dcrash_core.c882 case MEM_OFFLINE: in crash_memhp_notifier()
/linux-6.6.21/drivers/hv/
Dhv_balloon.c658 case MEM_OFFLINE: in hv_memory_notifier()
/linux-6.6.21/drivers/virtio/
Dvirtio_mem.c1054 case MEM_OFFLINE: in virtio_mem_memory_notifier_cb()
/linux-6.6.21/drivers/iommu/intel/
Diommu.c3558 case MEM_OFFLINE: in intel_iommu_memory_notifier()