Lines Matching refs:bdev
396 mb_cache_shrink(struct block_device *bdev) in mb_cache_shrink() argument
407 if (ce->e_bdev == bdev) { in mb_cache_shrink()
579 mb_cache_entry_insert(struct mb_cache_entry *ce, struct block_device *bdev, in mb_cache_entry_insert() argument
590 bucket = hash_long((unsigned long)bdev + (block & 0xffffffff), in mb_cache_entry_insert()
595 if (lce->e_bdev == bdev && lce->e_block == block) { in mb_cache_entry_insert()
603 ce->e_bdev = bdev; in mb_cache_entry_insert()
661 mb_cache_entry_get(struct mb_cache *cache, struct block_device *bdev, in mb_cache_entry_get() argument
669 bucket = hash_long((unsigned long)bdev + (block & 0xffffffff), in mb_cache_entry_get()
676 if (ce->e_bdev == bdev && ce->e_block == block) { in mb_cache_entry_get()
720 struct block_device *bdev, unsigned int key) in __mb_cache_entry_find() argument
729 if (ce->e_bdev == bdev && ce->e_index.o_key == key) { in __mb_cache_entry_find()
786 mb_cache_entry_find_first(struct mb_cache *cache, struct block_device *bdev, in mb_cache_entry_find_first() argument
798 ce = __mb_cache_entry_find(l, index_hash_p, bdev, key); in mb_cache_entry_find_first()
825 struct block_device *bdev, unsigned int key) in mb_cache_entry_find_next() argument
838 ce = __mb_cache_entry_find(l, index_hash_p, bdev, key); in mb_cache_entry_find_next()