Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:26 |
| Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dget_parent
Proto:struct dentry *dget_parent(struct dentry *dentry)
Type:struct dentry
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dentry |
| 914 | ret = READ_ONCE( parent directory ) |
| 915 | gotref = lockref_get_not_zero - Increments count unless the count is 0 or dead*@lockref: pointer to lockref structure* Return: 1 if count updated successfully or 0 if count was zero |
| 917 | If Value is more likely to compile time(gotref) Then |
| 923 | repeat : |
| 929 | ret = parent directory |
| 932 | spin_unlock( & d_lock) |
| 934 | Go to repeat |
| 938 | count++ |
| 939 | spin_unlock( & d_lock) |
| 940 | Return ret |
| Name | Describe |
|---|---|
| __fsnotify_parent | Notify this dentry's parent about a child's events. |
| fscrypt_d_revalidate | Validate dentries in encrypted directories to make sure we aren't potentially* caching stale dentries after a key has been added. |
| fscrypt_file_open | scrypt_file_open - prepare to open a possibly-encrypted regular file*@inode: the inode being opened*@filp: the struct file being set up* Currently, an encrypted regular file can only be opened if its encryption key |
| 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 |