Home
last modified time | relevance | path

Searched refs:ce (Results 1 – 4 of 4) sorted by relevance

/fs/
Dmbcache.c126 __mb_cache_entry_is_hashed(struct mb_cache_entry *ce) in __mb_cache_entry_is_hashed() argument
128 return !list_empty(&ce->e_block_list); in __mb_cache_entry_is_hashed()
133 __mb_cache_entry_unhash(struct mb_cache_entry *ce) in __mb_cache_entry_unhash() argument
137 if (__mb_cache_entry_is_hashed(ce)) { in __mb_cache_entry_unhash()
138 list_del_init(&ce->e_block_list); in __mb_cache_entry_unhash()
139 for (n=0; n<mb_cache_indexes(ce->e_cache); n++) in __mb_cache_entry_unhash()
140 list_del(&ce->e_indexes[n].o_list); in __mb_cache_entry_unhash()
146 __mb_cache_entry_forget(struct mb_cache_entry *ce, gfp_t gfp_mask) in __mb_cache_entry_forget() argument
148 struct mb_cache *cache = ce->e_cache; in __mb_cache_entry_forget()
150 mb_assert(!(ce->e_used || ce->e_queued)); in __mb_cache_entry_forget()
[all …]
/fs/ext2/
Dxattr.c489 struct mb_cache_entry *ce; in ext2_xattr_set() local
492 ce = mb_cache_entry_get(ext2_xattr_cache, bh->b_bdev, in ext2_xattr_set()
497 if (ce) in ext2_xattr_set()
498 mb_cache_entry_free(ce); in ext2_xattr_set()
503 if (ce) in ext2_xattr_set()
504 mb_cache_entry_release(ce); in ext2_xattr_set()
710 struct mb_cache_entry *ce; in ext2_xattr_set2() local
716 ce = mb_cache_entry_get(ext2_xattr_cache, old_bh->b_bdev, in ext2_xattr_set2()
721 if (ce) in ext2_xattr_set2()
722 mb_cache_entry_free(ce); in ext2_xattr_set2()
[all …]
/fs/ext3/
Dxattr.c479 struct mb_cache_entry *ce = NULL; in ext3_xattr_release_block() local
482 ce = mb_cache_entry_get(ext3_xattr_cache, bh->b_bdev, bh->b_blocknr); in ext3_xattr_release_block()
491 if (ce) in ext3_xattr_release_block()
492 mb_cache_entry_free(ce); in ext3_xattr_release_block()
504 if (ce) in ext3_xattr_release_block()
505 mb_cache_entry_release(ce); in ext3_xattr_release_block()
685 struct mb_cache_entry *ce = NULL; in ext3_xattr_block_set() local
693 ce = mb_cache_entry_get(ext3_xattr_cache, bs->bh->b_bdev, in ext3_xattr_block_set()
701 if (ce) { in ext3_xattr_block_set()
702 mb_cache_entry_free(ce); in ext3_xattr_block_set()
[all …]
/fs/ext4/
Dxattr.c472 struct mb_cache_entry *ce = NULL; in ext4_xattr_release_block() local
475 ce = mb_cache_entry_get(ext4_xattr_cache, bh->b_bdev, bh->b_blocknr); in ext4_xattr_release_block()
483 if (ce) in ext4_xattr_release_block()
484 mb_cache_entry_free(ce); in ext4_xattr_release_block()
496 if (ce) in ext4_xattr_release_block()
497 mb_cache_entry_release(ce); in ext4_xattr_release_block()
695 struct mb_cache_entry *ce = NULL; in ext4_xattr_block_set() local
703 ce = mb_cache_entry_get(ext4_xattr_cache, bs->bh->b_bdev, in ext4_xattr_block_set()
711 if (ce) { in ext4_xattr_block_set()
712 mb_cache_entry_free(ce); in ext4_xattr_block_set()
[all …]