Searched refs:oldsize (Results 1 – 7 of 7) sorted by relevance
/drivers/md/bcache/ |
D | bset.c | 133 size_t oldsize = bch_keylist_nkeys(l); in __bch_keylist_realloc() local 134 size_t newsize = oldsize + u64s; in __bch_keylist_realloc() 141 roundup_pow_of_two(oldsize) == newsize) in __bch_keylist_realloc() 150 memcpy(new_keys, l->inline_keys, sizeof(uint64_t) * oldsize); in __bch_keylist_realloc() 153 l->top_p = new_keys + oldsize; in __bch_keylist_realloc() 1293 int oldsize = bch_count_data(b); in bch_btree_sort_partial() local 1308 EBUG_ON(oldsize >= 0 && bch_count_data(b) != oldsize); in bch_btree_sort_partial()
|
D | request.c | 93 size_t oldsize = bch_keylist_nkeys(l); in bch_keylist_realloc() local 94 size_t newsize = oldsize + u64s; in bch_keylist_realloc()
|
D | btree.c | 2171 int oldsize = bch_count_data(&b->keys); in bch_btree_insert_keys() local 2204 BUG_ON(bch_count_data(&b->keys) < oldsize); in bch_btree_insert_keys()
|
/drivers/md/ |
D | md-cluster.h | 30 int (*resize_bitmaps)(struct mddev *mddev, sector_t newsize, sector_t oldsize);
|
D | raid10.c | 3971 sector_t oldsize, size; in raid10_resize() local 3979 oldsize = raid10_size(mddev, 0, 0); in raid10_resize() 3991 mddev->recovery_cp > oldsize) { in raid10_resize() 3992 mddev->recovery_cp = oldsize; in raid10_resize() 4251 sector_t oldsize, newsize; in raid10_start_reshape() local 4253 oldsize = raid10_size(mddev, 0, 0); in raid10_start_reshape() 4276 MD_FEATURE_RESHAPE_ACTIVE)) || (oldsize == newsize)) in raid10_start_reshape() 4283 ret = md_cluster_ops->resize_bitmaps(mddev, newsize, oldsize); in raid10_start_reshape() 4285 md_bitmap_resize(mddev->bitmap, oldsize, 0, 0); in raid10_start_reshape()
|
D | md-cluster.c | 1123 static int resize_bitmaps(struct mddev *mddev, sector_t newsize, sector_t oldsize) in resize_bitmaps() argument 1180 update_bitmap_size(mddev, oldsize); in resize_bitmaps()
|
/drivers/nvme/target/ |
D | core.c | 534 loff_t oldsize = ns->size; in nvmet_ns_revalidate() local 541 if (oldsize != ns->size) in nvmet_ns_revalidate()
|