Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_get_label_rcu - increment refcount on a label that can be replaced*@l: pointer to label that can be replaced (NOT NULL)* Returns: pointer to a refcounted label.* else NULL if no label

Proto:static inline struct aa_label *aa_get_label_rcu(struct aa_label __rcu **l)

Type:struct aa_label

Parameter:

TypeParameterName
struct aa_label __rcu **l
400  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
401  Do
402  c = fetch RCU-protected pointer for dereferencing( * l)
403  When c && Not kref_get_unless_zero - Increment refcount for object unless it is zero cycle
404  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
406  Return c
Caller
NameDescribe
seq_profile_name_show
seq_profile_mode_show
seq_profile_attach_show
seq_profile_hash_show
rawdata_get_link_base