Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:unlink_va

Proto:static __always_inline void unlink_va(struct vmap_area *va, struct rb_root *root)

Type:void

Parameter:

TypeParameterName
struct vmap_area *va
struct rb_root *root
542  If WARN_ON('empty' nodes are nodes that are known not to be inserted in an rbtree ( & address sorted rbtree )) Then Return
545  If root == This augment red-black tree represents the free vmap space Then rb_erase_augmented( & address sorted rbtree , root, & free_vmap_area_rb_augment_cb)
548  Else rb_erase( & address sorted rbtree , root)
551  deletes entry from list
552  RB_CLEAR_NODE( & address sorted rbtree )
Caller
NameDescribe
merge_or_add_vmap_areaMerge de-allocated chunk of VA memory with previous* and next free blocks. If coalesce is not done a new* free area is inserted. If VA has been merged, it is* freed.
adjust_va_to_fit_type
free_vmap_areaFree a region of KVA allocated by alloc_vmap_area
free_vmap_area_noflushFree a vmap area, caller ensuring that the area has been unmapped* and flush_cache_vunmap had been called for the correct range* previously.