Lines Matching refs:ce
545 struct mb_cache_entry *ce = NULL; in ext4_xattr_release_block() local
549 ce = mb_cache_entry_get(ext4_mb_cache, bh->b_bdev, bh->b_blocknr); in ext4_xattr_release_block()
558 if (ce) in ext4_xattr_release_block()
559 mb_cache_entry_free(ce); in ext4_xattr_release_block()
567 if (ce) in ext4_xattr_release_block()
568 mb_cache_entry_release(ce); in ext4_xattr_release_block()
781 struct mb_cache_entry *ce = NULL; in ext4_xattr_block_set() local
790 ce = mb_cache_entry_get(ext4_mb_cache, bs->bh->b_bdev, in ext4_xattr_block_set()
799 if (ce) { in ext4_xattr_block_set()
800 mb_cache_entry_free(ce); in ext4_xattr_block_set()
801 ce = NULL; in ext4_xattr_block_set()
826 if (ce) { in ext4_xattr_block_set()
827 mb_cache_entry_release(ce); in ext4_xattr_block_set()
828 ce = NULL; in ext4_xattr_block_set()
866 new_bh = ext4_xattr_cache_find(inode, header(s->base), &ce); in ext4_xattr_block_set()
894 mb_cache_entry_release(ce); in ext4_xattr_block_set()
895 ce = NULL; in ext4_xattr_block_set()
958 if (ce) in ext4_xattr_block_set()
959 mb_cache_entry_release(ce); in ext4_xattr_block_set()
1534 struct mb_cache_entry *ce; in ext4_xattr_cache_insert() local
1537 ce = mb_cache_entry_alloc(ext4_mb_cache, GFP_NOFS); in ext4_xattr_cache_insert()
1538 if (!ce) { in ext4_xattr_cache_insert()
1542 error = mb_cache_entry_insert(ce, bh->b_bdev, bh->b_blocknr, hash); in ext4_xattr_cache_insert()
1544 mb_cache_entry_free(ce); in ext4_xattr_cache_insert()
1551 mb_cache_entry_release(ce); in ext4_xattr_cache_insert()
1608 struct mb_cache_entry *ce; in ext4_xattr_cache_find() local
1615 ce = mb_cache_entry_find_first(ext4_mb_cache, inode->i_sb->s_bdev, in ext4_xattr_cache_find()
1617 while (ce) { in ext4_xattr_cache_find()
1620 if (IS_ERR(ce)) { in ext4_xattr_cache_find()
1621 if (PTR_ERR(ce) == -EAGAIN) in ext4_xattr_cache_find()
1625 bh = sb_bread(inode->i_sb, ce->e_block); in ext4_xattr_cache_find()
1628 (unsigned long) ce->e_block); in ext4_xattr_cache_find()
1632 (unsigned long) ce->e_block, in ext4_xattr_cache_find()
1636 *pce = ce; in ext4_xattr_cache_find()
1640 ce = mb_cache_entry_find_next(ce, inode->i_sb->s_bdev, hash); in ext4_xattr_cache_find()