Function report |
Source Code:fs\fs_context.c |
Create Date:2022-07-28 20:13:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Duplicate a legacy config.
Proto:static int legacy_fs_context_dup(struct fs_context *fc, struct fs_context *src_fc)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fs_context * | fc | |
| struct fs_context * | src_fc |
| 534 | src_ctx = fs_private |
| 536 | ctx = kmemdup - duplicate region of memory*@src: memory region to duplicate*@len: memory region length*@gfp: GFP mask to use* Return: newly allocated copy of @src or %NULL in case of error |
| 540 | If param_type == LEGACY_FS_INDIVIDUAL_PARAMS Then |
| 543 | If Not Data page for legacy filesystems Then |
| 549 | fs_private = ctx |
| 550 | Return 0 |
| 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 |