Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sg_kfree

Proto:static void sg_kfree(struct scatterlist *sg, unsigned int nents)

Type:void

Parameter:

TypeParameterName
struct scatterlist *sg
unsigned intnents
171  If nents == Maximum number of entries that will be allocated in one piece, if* a list larger than this is required then chaining will be utilized. Then
172  kmemleak_free - unregister a previously registered object*@ptr: pointer to beginning of the object* This function is called from the kernel allocators when an object (memory* block) is freed (kmem_cache_free, kfree, vfree etc.).
173  free_page((unsignedlong)sg)
174  Else kfree(sg)