Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\resource.c Create Date:2022-07-28 09:05:20
Last Modify:2022-05-22 11:14:39 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:int remove_resource(struct resource *old)

Type:int

Parameter:

TypeParameterName
struct resource *old
928  write_lock( & resource_lock)
929  retval = __release_resource(old, false)
930  write_unlock( & resource_lock)
931  Return retval