Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\char_dev.c Create Date:2022-07-28 20:02:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cdev_put

Proto:void cdev_put(struct cdev *p)

Type:void

Parameter:

TypeParameterName
struct cdev *p
363  If p Then
364  owner = owner
365  kobject_put() - Decrement refcount for object.*@kobj: object.* Decrement the refcount, and if 0, call kobject_cleanup().
366  module_put(owner)
Caller
NameDescribe
chrdev_openCalled every time a character special file is opened