Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:resv_map_release

Proto:void resv_map_release(struct kref *ref)

Type:void

Parameter:

TypeParameterName
struct kref *ref
679  resv_map = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(ref, structresv_map, refs)
680  head = region_cache
684  Delete the specified range [f, t) from the reserve map. If the* t parameter is LONG_MAX, this indicates that ALL regions after f* should be deleted. Locate the regions which intersect [f, t)* and either trim, delete or split the existing regions.
688  deletes entry from list
689  kfree(rg)
692  VM_BUG_ON(adds_in_progress)
694  kfree(resv_map)