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_rcu - search for a dentry (racy, store-free)*@parent: parent dentry*@name: qstr of name we wish to find*@seqp: returns d_seq value at the point where the dentry was found* Returns: dentry, or NULL* __d_lookup_rcu is the dcache lookup function
Proto:struct dentry *__d_lookup_rcu(const struct dentry *parent, const struct qstr *name, unsigned *seqp)
Type:struct dentry
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct dentry * | parent | |
| const struct qstr * | name | |
| unsigned * | seqp |
| 2220 | b = d_hash(A hash_len is a u64 with the hash of a string in the low* half and the length in the high half.(hashlen)) |
| 2247 | seqretry : |
| 2266 | If parent directory != parent Then Continue |
| 2268 | If d_unhashed - is dentry hashed*@dentry: entry to check* Returns true if the dentry passed is not currently hashed. Then Continue |
| 2274 | If hash != A hash_len is a u64 with the hash of a string in the low* half and the length in the high half.(hashlen) Then Continue |
| 2286 | Else |
| 2289 | If dentry_cmp(dentry, str, hashlen_len(hashlen)) != 0 Then Continue |
| 2293 | Return dentry |
| 2295 | Return NULL |
| Name | Describe |
|---|---|
| d_alloc_parallel |
| 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 |