Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_loaddata_kref

Proto:void aa_loaddata_kref(struct kref *kref)

Type:void

Parameter:

TypeParameterName
struct kref *kref
174  d = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(kref, structaa_loaddata, count)
176  If d Then
177  INIT_WORK( & work, d to take the ns mutex lock which is NOT safe most places that* put_loaddata is called, so we have to delay freeing it)
178  schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise