Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Core dumping helper functions. These are the only things you should* do on a core-file: use only these functions to write out all the* necessary info.

Proto:int dump_emit(struct coredump_params *cprm, const void *addr, int nr)

Type:int

Parameter:

TypeParameterName
struct coredump_params *cprm
const void *addr
intnr
819  file = file
820  pos = f_pos
822  If written + nr > limit Then Return 0
824  When nr cycle
825  If dump_interrupted() Then Return 0
827  n = __kernel_write(file, addr, nr, & pos)
828  If n <= 0 Then Return 0
830  f_pos = pos
831  written += n
832  pos += n
833  nr -= n
835  Return 1
Caller
NameDescribe
dump_skip