函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\resource.c Create Date:2022-07-27 10:05:08
Last Modify:2022-05-22 11:14:39 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:move_resource - Remove a resource in the resource tree*@old: resource to remove* Returns 0 on success, -EINVAL if the resource is not valid

函数原型:int remove_resource(struct resource *old)

返回类型:int

参数:

类型参数名称
struct resource *old
928  write_lock( & resource_lock)
929  retval等于__release_resource(old, false)
930  write_unlock( & resource_lock)
931  返回:retval