Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_link
Proto:static __always_inline const char *get_link(struct nameidata *nd)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct nameidata * | nd |
| 1049 | inode = link_inode |
| 1053 | If Not (flags & RCU pathwalk mode; semi-internal ) Then |
| 1054 | touch_atime( & link) |
| 1055 | cond_resched() |
| 1056 | Else if atime_needs_update( & link, inode) Then |
| 1057 | If Value for the false possibility is greater at compile time(lazy_walk - try to switch to ref-walk mode) Then Return ERR_PTR( - ECHILD) |
| 1059 | touch_atime( & link) |
| 1064 | If Value for the false possibility is greater at compile time(error) Then Return ERR_PTR(error) |
| 1069 | If Not res Then |
| 1070 | const char * ( * get)(struct dentry * , struct inode * , struct delayed_call * ) |
| 1073 | If flags & RCU pathwalk mode; semi-internal Then |
| 1080 | Else |
| 1083 | If IS_ERR_OR_NULL(res) Then Return res |
| 1086 | If res == '/' Then |
| 1089 | If Value for the false possibility is greater at compile time(nd_jump_root(nd)) Then Return ERR_PTR( - ECHILD) |
| 1091 | When Value for the false possibility is greater at compile time( * ++res == '/') cycle |
| 1096 | Return res |
| Name | Describe |
|---|---|
| link_path_walk | Name resolution.* This is the basic name resolution function, turning a pathname into* the final dentry. We expect 'base' to be positive and a directory.* Returns 0 and nd will have valid dentry and mnt on success. |
| trailing_symlink |
| 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 |