Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:put_ucounts

Proto:static void put_ucounts(struct ucounts *ucounts)

Type:void

Parameter:

TypeParameterName
struct ucounts *ucounts
164  spin_lock_irqsave( & ucounts_lock, flags)
165  count -= 1
166  If Not count Then hlist_del_init( & node)
168  Else ucounts = NULL
170  spin_unlock_irqrestore( & ucounts_lock, flags)
172  free previously allocated memory
Caller
NameDescribe
inc_ucount
dec_ucount