Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_label_kref

Proto:void aa_label_kref(struct kref *kref)

Type:void

Parameter:

TypeParameterName
struct kref *kref
374  label = 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_label, count)
375  ns = labels_ns(label)
377  If Not ns Then
379  label_free_switch(label)
380  Return
383  AA_BUG(label_isprofile(label) && on_list_rcu( & profiles))
385  AA_BUG(label_isprofile(label) && on_list_rcu( & list))
389  Post an RCU callback to be invoked after the end of an RCU grace* period. But since we have but one CPU, that would be after any* quiescent state.