| Function report | 
| 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 activity | Download SCCT | Chinese | 
Name:get_fs_type
Proto:struct file_system_type *get_fs_type(const char *name)
Type:struct file_system_type
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | name | 
| 268 | dot = strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for | 
| 269 | len = If dot Then dot - name Else strlen - Find the length of a string*@s: The string to be sized | 
| 271 | fs = __get_fs_type(name, len) | 
| 272 | If Not fs && try to load a kernel module("fs-%.*s", len, name) == 0 Then | 
| 273 | fs = __get_fs_type(name, len) | 
| 277 | If dot && fs && Not (fs_flags & FS_HAS_SUBTYPE) Then | 
| 278 | put_filesystem(fs) | 
| 279 | fs = NULL | 
| 281 | Return fs | 
| Name | Describe | 
|---|---|
| aa_new_mount | |
| do_new_mount | reate a new mount for userspace and request it to be added into the* namespace's tree | 
| SYSCALL_DEFINE2 | Open a filesystem by name so that it can be configured for mounting.* We are allowed to specify a container in which the filesystem will be* opened, thereby indicating which namespaces will be used (notably, which | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |