函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\smack\smackfs.c Create Date:2022-07-27 20:56:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Core logic for smackfs seq list operations.

函数原型:static void *smk_seq_start(struct seq_file *s, loff_t *pos, struct list_head *head)

返回类型:void

参数:

类型参数名称
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 list不等于head循环
541  如果i自减恒等于0则返回:list
545  返回:NULL
调用者
名称描述
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