Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:filename_create
Proto:static struct dentry *filename_create(int dfd, struct filename *name, struct path *path, unsigned int lookup_flags)
Type:struct dentry
Parameter:
Type | Parameter | Name |
---|---|---|
int | dfd | |
struct filename * | name | |
struct path * | path | |
unsigned int | lookup_flags |
3552 | is_dir = lookup_flags & quire a directory |
3560 | name = filename_parentat(dfd, name, lookup_flags, path, & last, & type) |
3568 | If Value for the false possibility is greater at compile time(type != LAST_NORM) Then Go to out |
3572 | err2 = mnt_want_write(mnt) |
3583 | If d_is_positive(dentry) Then Go to fail |
3592 | If Value for the false possibility is greater at compile time(!is_dir && name[len]) Then |
3601 | Return dentry |
3602 | fail : |
3605 | unlock : |
3607 | If Not err2 Then mnt_drop_write(mnt) |
3609 | out : |
3612 | Return dentry |
Name | Describe |
---|---|
kern_path_create | |
user_path_create |
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 |