Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:filesystems_proc_show

Proto:static int filesystems_proc_show(struct seq_file *m, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *v
233  read_lock( & file_systems_lock)
234  tmp = Handling of filesystem drivers list.* Rules:* Inclusion to/removals from/scanning of list are protected by spinlock.* During the unload module must call unregister_filesystem().* We can access the fields of list element if:* 1) spinlock is held or
235  When tmp cycle
236  seq_printf(m, "%s\t%s\n", (fs_flags & FS_REQUIRES_DEV) ? "" : "nodev", name)
239  tmp = next
241  read_unlock( & file_systems_lock)
242  Return 0