Function report |
Source Code:include\linux\dcache.h |
Create Date:2022-07-28 05:42:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:d_is_negative
Proto:static inline bool d_is_negative(const struct dentry *dentry)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct dentry * | dentry |
| Name | Describe |
|---|---|
| lookup_fast | |
| may_delete | Check whether we can remove a link victim from directory dir, check* whether the type of victim is right.* 1. We can't do it if dir is read-only (done in permission())* 2. We should have write and exec permissions on dir* 3 |
| atomic_open | Attempt to atomically look up, create and open a file from a negative* dentry |
| do_unlinkat | Make sure that the actual truncation of the file will occur outside its* directory's i_mutex. Truncate can take a long time if there is a lot of* writeout happening, and we don't want to prevent access to the directory* while waiting on the I/O. |
| do_renameat2 | |
| d_lru_add | |
| d_lru_del | |
| d_lru_isolate | These can only be called under the global LRU lock, ie during the* callback for freeing the LRU list. "isolate" removes it from the* LRU lists entirely, while shrink_move moves it to the indicated* private list. |
| d_lru_shrink_move |
| 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 |