Function report |
Source Code:lib\string_helpers.c |
Create Date:2022-07-28 06:25:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Returns allocated NULL-terminated string containing pathname,* with special characters escaped, able to be safely logged. If* there is an error, the leading character will be "<".
Proto:char *kstrdup_quotable_file(struct file *file, gfp_t gfp)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| gfp_t | gfp |
| 638 | temp = kmalloc(# chars in a path name including nul + 11, GFP_KERNEL) |
| 642 | pathname = file_path(file, temp, # chars in a path name including nul + 11) |
| 645 | Else pathname = Return an allocated string that has been escaped of special characters* and double quotes, making it safe to log in quotes. |
| 649 | Return pathname |
| 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 |