Searched refs:ce (Results 1 – 3 of 3) sorted by relevance
/fs/ |
D | mbcache.c | 98 #define MB_CACHE_ENTRY_LOCK_INDEX(ce) \ argument 99 (hash_long((unsigned long)ce, MB_CACHE_ENTRY_LOCK_BITS)) 133 __spin_lock_mb_cache_entry(struct mb_cache_entry *ce) in __spin_lock_mb_cache_entry() argument 136 MB_CACHE_ENTRY_LOCK_INDEX(ce))); in __spin_lock_mb_cache_entry() 140 __spin_unlock_mb_cache_entry(struct mb_cache_entry *ce) in __spin_unlock_mb_cache_entry() argument 143 MB_CACHE_ENTRY_LOCK_INDEX(ce))); in __spin_unlock_mb_cache_entry() 147 __mb_cache_entry_is_block_hashed(struct mb_cache_entry *ce) in __mb_cache_entry_is_block_hashed() argument 149 return !hlist_bl_unhashed(&ce->e_block_list); in __mb_cache_entry_is_block_hashed() 154 __mb_cache_entry_unhash_block(struct mb_cache_entry *ce) in __mb_cache_entry_unhash_block() argument 156 if (__mb_cache_entry_is_block_hashed(ce)) in __mb_cache_entry_unhash_block() [all …]
|
/fs/ext2/ |
D | xattr.c | 886 struct mb2_cache_entry *ce; in ext2_xattr_cache_find() local 893 ce = mb2_cache_entry_find_first(ext2_mb_cache, hash); in ext2_xattr_cache_find() 894 while (ce) { in ext2_xattr_cache_find() 897 bh = sb_bread(inode->i_sb, ce->e_block); in ext2_xattr_cache_find() 901 inode->i_ino, (unsigned long) ce->e_block); in ext2_xattr_cache_find() 913 if (hlist_bl_unhashed(&ce->e_hash_list)) { in ext2_xattr_cache_find() 914 mb2_cache_entry_put(ext2_mb_cache, ce); in ext2_xattr_cache_find() 921 (unsigned long) ce->e_block, in ext2_xattr_cache_find() 927 mb2_cache_entry_touch(ext2_mb_cache, ce); in ext2_xattr_cache_find() 928 mb2_cache_entry_put(ext2_mb_cache, ce); in ext2_xattr_cache_find() [all …]
|
/fs/ext4/ |
D | xattr.c | 807 struct mb2_cache_entry *ce = NULL; in ext4_xattr_block_set() local 890 new_bh = ext4_xattr_cache_find(inode, header(s->base), &ce); in ext4_xattr_block_set() 918 if (hlist_bl_unhashed(&ce->e_hash_list)) { in ext4_xattr_block_set() 928 mb2_cache_entry_put(ext4_mb_cache, ce); in ext4_xattr_block_set() 929 ce = NULL; in ext4_xattr_block_set() 944 mb2_cache_entry_touch(ext4_mb_cache, ce); in ext4_xattr_block_set() 945 mb2_cache_entry_put(ext4_mb_cache, ce); in ext4_xattr_block_set() 946 ce = NULL; in ext4_xattr_block_set() 1011 if (ce) in ext4_xattr_block_set() 1012 mb2_cache_entry_put(ext4_mb_cache, ce); in ext4_xattr_block_set() [all …]
|