| Function report | 
| Source Code: fs\namei.c | Create Date:2022-07-28 20:05:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:lookup_fast
Proto:static int lookup_fast(struct nameidata *nd, struct path *path, struct inode **inode, unsigned *seqp)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct nameidata * | nd | |
| struct path * | path | |
| struct inode ** | inode | |
| unsigned * | seqp | 
| 1560 | status = 1 | 
| 1568 | If flags & RCU pathwalk mode; semi-internal Then | 
| 1571 | dentry = __d_lookup_rcu(parent, & last, & seq) | 
| 1572 | If Value for the false possibility is greater at compile time(!dentry) Then | 
| 1573 | If lazy_walk - try to switch to ref-walk mode Then Return -ECHILD | 
| 1575 | Return 0 | 
| 1583 | negative = d_is_negative(dentry) | 
| 1598 | status = d_revalidate(dentry, flags) | 
| 1599 | If Value is more likely to compile time(status > 0) Then | 
| 1604 | If Value for the false possibility is greater at compile time(negative) Then Return -ENOENT | 
| 1611 | If lazy_child - try to switch to ref-walk mode Then Return -ECHILD | 
| 1613 | If Value for the false possibility is greater at compile time(status == - ECHILD) Then status = d_revalidate(dentry, flags) | 
| 1616 | Else | 
| 1617 | dentry = __d_lookup(parent, & last) | 
| 1618 | If Value for the false possibility is greater at compile time(!dentry) Then Return 0 | 
| 1620 | status = d_revalidate(dentry, flags) | 
| 1622 | If Value for the false possibility is greater at compile time(status <= 0) Then | 
| 1634 | Return err | 
| Name | Describe | 
|---|---|
| walk_component | |
| do_last | Handle the last step of open() | 
| 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 |