函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\filesystems.c Create Date:2022-07-29 10:39:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:register_filesystem - unregister a file system*@fs: filesystem to unregister* Remove a file system that was previously successfully registered* with the kernel

函数原型:int unregister_filesystem(struct file_system_type *fs)

返回类型:int

参数:

类型参数名称
struct file_system_type *fs
111  write_lock( & file_systems_lock)
112  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
113 tmp循环
114  如果fs恒等于tmp
115  tmp等于next
116  next = NULL
119  返回:0
121  tmp等于next
123  write_unlock( & file_systems_lock)
125  返回:负EINVAL
调用者
名称描述
exit_misc_binfmt
rdtgroup_exit