| 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:pick_link
Proto:static int pick_link(struct nameidata *nd, struct path *link, struct inode *inode, unsigned seq)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct nameidata * | nd | |
| struct path * | link | |
| struct inode * | inode | |
| unsigned | seq | 
| 1718 | path_to_nameidata(link, nd) | 
| 1719 | Return -ELOOP | 
| 1721 | If Not (flags & RCU pathwalk mode; semi-internal ) Then | 
| 1725 | error = nd_alloc_stack(nd) | 
| 1729 | drop_links(nd) | 
| 1730 | depth = 0 | 
| 1731 | flags &= ~RCU pathwalk mode; semi-internal | 
| 1732 | mnt = NULL | 
| 1733 | dentry = NULL | 
| 1735 | Else if Value is more likely to compile time(lazy_walk - try to switch to ref-walk mode) == 0 Then error = nd_alloc_stack(nd) | 
| 1738 | If error Then | 
| 1746 | clear_delayed_call( & done) | 
| 1747 | link_inode = inode | 
| 1749 | Return 1 | 
| Name | Describe | 
|---|---|
| step_into | Do we need to follow links? We _really_ want to be able* to do this check without having to look at inode->i_op,* so we keep a cache of "no, this doesn't need follow_link"* for the common case. | 
| 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 |