Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:30 |
Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__d_add
Proto:static inline void __d_add(struct dentry *dentry, struct inode *inode)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct dentry * | dentry | |
struct inode * | inode | >i_lock held if inode is non-NULL |
2648 | n = start_dir_add(dir) |
2649 | __d_lookup_done(dentry) |
2651 | If >i_lock held if inode is non-NULL Then |
2653 | hlist_add_head( & de alias list , & i_dentry) |
2654 | raw_write_seqcount_begin( & per dentry seqlock ) |
2656 | raw_write_seqcount_end( & per dentry seqlock ) |
2657 | fsnotify_update_flags(dentry) |
2659 | __d_rehash(dentry) |
2660 | If dir Then end_dir_add(dir, n) |
2662 | spin_unlock( & d_lock) |
2663 | If >i_lock held if inode is non-NULL Then spin_unlock( & _blocks, i_bytes, maybe i_size ) |
Name | Describe |
---|---|
d_add | d_add - add dentry to hash queues*@entry: dentry to add*@inode: The inode to attach to this dentry* This adds the entry to the hash queues and initializes @inode.* The entry was actually filled in earlier during d_alloc(). |
d_splice_alias | splice a disconnected dentry into the tree if one exists |
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 |