Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:03 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Try to skip to top of mountpoint pile in rcuwalk mode. Fail if* we meet a managed dentry that would need blocking.
Proto:static bool __follow_mount_rcu(struct nameidata *nd, struct path *path, struct inode **inode, unsigned *seqp)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct nameidata * | nd | |
| struct path * | path | |
| struct inode ** | inode | |
| unsigned * | seqp |
| 1314 | cycle |
| 1321 | Case managed_dentry_rcu(path) == -ECHILD |
| 1322 | Default |
| 1323 | Return false |
| 1324 | Case managed_dentry_rcu(path) == -EISDIR |
| 1325 | Return true |
| 1326 | Case managed_dentry_rcu(path) == 0 |
| 1327 | Break |
| 1330 | If Not d_mountpoint(dentry) Then Return Not ( protected by d_lock & handle automount on this dir ) |
| 1333 | mounted = __lookup_mnt(mnt, dentry) |
| 1334 | If Not mounted Then Break |
| 1337 | dentry = root of the mounted tree |
| 1338 | flags |= LOOKUP_JUMPED |
| 1347 | Return Not read_seqretry( & mount_lock, m_seq) && Not ( protected by d_lock & handle automount on this dir ) |
| Name | Describe |
|---|---|
| lookup_fast | |
| handle_lookup_down |
| 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 |