Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:single_open

Proto:int single_open(struct file *file, int (*show)(struct seq_file *, void *), void *data)

Type:int

Parameter:

TypeParameterName
struct file *file
int (*show
void *data
569  op = Allocation memory
570  res = -ENOMEM
572  If op Then
573  start = single_start
574  next = single_next
575  stop = single_stop
576  show = show
577  res = 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
578  If Not res Then private = data
580  Else kfree(op)
583  Return res
Caller
NameDescribe
psi_io_open
psi_memory_open
psi_cpu_open
pm_qos_debug_open
irq_debug_open
dump_open
prof_cpu_mask_proc_open
tk_debug_sleep_time_open
udelay_test_open
lstats_open
tracing_trace_options_open
tracing_clock_open
tracing_time_stamp_mode_open
event_hist_open
seq_profile_open
seq_ns_stacked_open
seq_ns_nsstacked_open
seq_ns_level_open
seq_ns_name_open
seq_rawdata_open
single_open_size
percpu_stats_open