Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:SYSCALL_DEFINE4

Proto:SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments, struct kexec_segment __user *, segments, unsigned long, flags)

Type:

Parameter:Nothing

237  result = Exec Kernel system call: for obvious reasons only root may call it
238  If result Then Return result
242  If (prefix, newline flags & KEXEC_ARCH_MASK) != The native architecture && (prefix, newline flags & KEXEC_ARCH_MASK) != These values match the ELF architecture values.* Unless there is a good reason that should continue to be the case. Then Return -EINVAL
254  If Not mutex_trylock - try to acquire the mutex, without waiting*@lock: the mutex to be acquired* Try to acquire the mutex atomically Then Return -EBUSY
257  result = do_kexec_load(entry, nr_segments, segments, prefix, newline flags )
259  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.
261  Return result