Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit_tree.c Create Date:2022-07-28 11:30:56
Last Modify:2022-05-22 16:43:11 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Here comes the stuff asynchronous to auditctl operations

Proto:static void evict_chunk(struct audit_chunk *chunk)

Type:void

Parameter:

TypeParameterName
struct audit_chunk *chunk
1011  postponed = audit_killed_trees()
1012  need_prune = 0
1015  mutex_lock( & audit_filter_mutex)
1016  spin_lock( & hash_lock)
1017  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
1018  owner = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(next, structaudit_tree, same_root)
1020  goner = 1
1021  root = NULL
1022  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
1023  spin_unlock( & hash_lock)
1024  If Not postponed Then
1027  need_prune = 1
1028  Else
1031  spin_lock( & hash_lock)
1033  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
1034  When n < count cycle list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
1036  spin_unlock( & hash_lock)
1037  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
1038  If need_prune Then audit_schedule_prune()
Caller
NameDescribe
audit_tree_freeing_mark