Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kexec_core.c Create Date:2022-07-28 11:03:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:crash_get_memory_size

Proto:size_t crash_get_memory_size(void)

Type:size_t

Parameter:Nothing

988  size = 0
990  mutex_lock( & kexec_mutex)
991  If end != start Then size = resource_size( & Location of the reserved area for the crash kernel )
993  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
994  Return size