函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\nommu.c Create Date:2022-07-27 16:02:53
Last Modify:2020-03-17 21:26:27 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lease a reference to a region* - the caller must hold the region semaphore for writing, which this releases* - the region may not have been added to the tree yet, in which case vm_top* will equal vm_start

函数原型:static void __put_nommu_region(struct vm_region *region)__releases(nommu_region_sem)

返回类型:void

参数:

类型参数名称
struct vm_region *region
558  BUG_ON(!rb_node)
560  如果gion usage count (access under nommu_region_sem) 先自减恒等于0则
561  如果gion allocated to here 大于start address of region delete a region from the global tree
563  lease a write lock
565  如果he backing file or NULL fput(he backing file or NULL )
570  如果VMA vm_flags 按位与VM_MAPPED_COPY a contiguous series of pages
572  kmem_cache_free(list of mapped, potentially shareable regions , region)
573  否则
574  lease a write lock
调用者
名称描述
put_nommu_regionlease a reference to a region