Function report |
Source Code:fs\nsfs.c |
Create Date:2022-07-28 20:12:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__ns_get_path
Proto:static void *__ns_get_path(struct path *path, struct ns_common *ns)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct path * | path | |
| struct ns_common * | ns |
| 66 | d = atomic_long_read( & stashed) |
| 70 | If Not lockref_get_not_dead - Increments count unless the ref is dead*@lockref: pointer to lockref structure* Return: 1 if count updated successfully or 0 if lockref was dead Then Go to slow |
| 74 | got_it : |
| 77 | Return NULL |
| 78 | slow : |
| 81 | If Not inode Then |
| 87 | i_flags |= Immutable file |
| 92 | dentry = d_alloc_anon( pointer to superblock ) |
| 93 | If Not dentry Then |
| 94 | put an inode |
| 98 | fs-specific data = ops |
| 99 | d = atomic_long_cmpxchg( & stashed, 0, (unsignedlong)dentry) |
| 100 | If d Then |
| 101 | delete a dentry |
| 103 | cpu_relax() |
| 106 | Go to got_it |
| Name | Describe |
|---|---|
| ns_get_path_cb | |
| open_related_ns |
| 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 |