Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Core logic for smackfs seq list operations.

Proto:static void *smk_seq_start(struct seq_file *s, loff_t *pos, struct list_head *head)

Type:void

Parameter:

TypeParameterName
struct seq_file *s
loff_t *pos
struct list_head *head
535  i = pos
537  _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
538  When list != head cycle
541  If i-- == 0 Then Return list
545  Return NULL
Caller
NameDescribe
load2_seq_startSeq_file read operations for /smack/load
cipso_seq_startSeq_file read operations for /smack/cipso
net4addr_seq_startSeq_file read operations for /smack/netlabel
net6addr_seq_startSeq_file read operations for /smack/netlabel6
onlycap_seq_startSeq_file operations for /smack/onlycap
load_self_seq_startSeq_file read operations for /smack/load-self
load_self2_seq_startSeq_file read operations for /smack/load-self2
relabel_self_seq_startSeq_file read operations for /smack/relabel-self