Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\seq_file.c Create Date:2022-07-28 20:09:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:seq_open - initialize sequential file*@file: file we initialize*@op: method table describing the sequence* seq_open() sets @file, associating it with a sequence described* by @op. @op->start() sets the iterator up and returns the first

Proto:int seq_open(struct file *file, const struct seq_operations *op)

Type:int

Parameter:

TypeParameterName
struct file *file
const struct seq_operations *op
55  WARN_ON( needed for tty driver, and maybe others )
57  p = Shortcuts
58  If Not p Then Return -ENOMEM
61  needed for tty driver, and maybe others = p
63  mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & lock)
64  op = op
68  file = file
75  f_version = 0
86  f_mode &= ~le can be accessed using pwrite
87  Return 0
Caller
NameDescribe
gcov_seq_openpen() implementation for gcov data files. Create a copy of the profiling* data set and initialize the iterator and seq_file interface.
fei_open
show_traces_open
tracing_saved_tgids_open
tracing_saved_cmdlines_open
tracing_err_log_open
tracing_stat_openThe session stat is refilled and resorted at each stat file opening
ftrace_formats_open
stack_trace_open
trace_format_open
ftrace_event_open
event_trigger_regex_open
synth_events_open
probes_open
profile_open
dyn_event_open
probes_open
profile_open
ftrace_pid_open
bpffs_map_open
swaps_open
kmemleak_open
smk_open_cipsosmk_open_cipso - open() for /smack/cipso*@inode: inode structure representing file*@file: "cipso" file pointer* Connect our cipso_seq_* operations with /smack/cipso* file_operations
smk_open_cipso2smk_open_cipso2 - open() for /smack/cipso2*@inode: inode structure representing file*@file: "cipso2" file pointer* Connect our cipso_seq_* operations with /smack/cipso2* file_operations
smk_open_net4addrsmk_open_net4addr - open() for /smack/netlabel*@inode: inode structure representing file*@file: "netlabel" file pointer* Connect our net4addr_seq_* operations with /smack/netlabel* file_operations
smk_open_net6addrsmk_open_net6addr - open() for /smack/netlabel*@inode: inode structure representing file*@file: "netlabel" file pointer* Connect our net6addr_seq_* operations with /smack/netlabel* file_operations
smk_open_onlycap
smk_open_load_selfsmk_open_load_self - open() for /smack/load-self2*@inode: inode structure representing file*@file: "load" file pointer* For reading, use load_seq_* seq_file reading operations.
smk_open_load2smk_open_load2 - open() for /smack/load2*@inode: inode structure representing file*@file: "load2" file pointer* For reading, use load2_seq_* seq_file reading operations.
smk_open_load_self2smk_open_load_self2 - open() for /smack/load-self2*@inode: inode structure representing file*@file: "load" file pointer* For reading, use load_seq_* seq_file reading operations.
smk_open_relabel_selfsmk_open_relabel_self - open() for /smack/relabel-self*@inode: inode structure representing file*@file: "relabel-self" file pointer* Connect our relabel_self_seq_* operations with /smack/relabel-self* file_operations
profiles_open
ima_measurements_open
ima_ascii_measurements_open
single_open
__seq_open_private
ei_open