Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:28 |
Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:d_set_d_op
Proto:void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct dentry * | dentry | |
const struct dentry_operations * | op |
1837 | WARN_ON_ONCE(d_op) |
1838 | WARN_ON_ONCE( protected by d_lock & (d_flags entries | DCACHE_OP_COMPARE | DCACHE_OP_REVALIDATE | DCACHE_OP_WEAK_REVALIDATE | DCACHE_OP_DELETE | DCACHE_OP_REAL)) |
1845 | If Not op Then Return |
1847 | If d_hash Then protected by d_lock |= d_flags entries |
1849 | If d_compare Then protected by d_lock |= DCACHE_OP_COMPARE |
1851 | If d_revalidate Then protected by d_lock |= DCACHE_OP_REVALIDATE |
1853 | If d_weak_revalidate Then protected by d_lock |= DCACHE_OP_WEAK_REVALIDATE |
1855 | If d_delete Then protected by d_lock |= DCACHE_OP_DELETE |
1857 | If d_prune Then protected by d_lock |= DCACHE_OP_PRUNE |
1859 | If d_real Then protected by d_lock |= DCACHE_OP_REAL |
Name | Describe |
---|---|
__d_alloc | __d_alloc - allocate a dcache entry*@sb: filesystem it will belong to*@name: qstr of the name* Allocates a dentry. It returns %NULL if there is insufficient memory* available. On a success the dentry is returned. The name passed in is |
simple_lookup | Lookup the data. This is trivial - if the dentry didn't already* exist, we know it is negative. Set d_op to delete negative dentries. |
__fscrypt_prepare_lookup |
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 |