Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:29 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__d_lookup - search for a dentry (racy)*@parent: parent dentry*@name: qstr of name we wish to find* Returns: dentry, or NULL* __d_lookup is like d_lookup, however it may (rarely) return a* false-negative result due to unrelated rename activity
Proto:struct dentry *__d_lookup(const struct dentry *parent, const struct qstr *name)
Type:struct dentry
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct dentry * | parent | |
| const struct qstr * | name |
| 2375 | If parent directory != parent Then Go to next |
| 2377 | If d_unhashed - is dentry hashed*@dentry: entry to check* Returns true if the dentry passed is not currently hashed. Then Go to next |
| 2380 | If Not d_same_name(dentry, parent, name) Then Go to next |
| 2383 | count++ |
| 2385 | spin_unlock( & d_lock) |
| 2386 | Break |
| 2387 | next : |
| 2388 | spin_unlock( & d_lock) |
| 2392 | Return found |
| Name | Describe |
|---|---|
| d_lookup | search for a dentry |
| 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 |