Searched refs:old_bkts (Results 1 – 1 of 1) sorted by relevance
904 cfs_hash_buckets_realloc(struct cfs_hash *hs, struct cfs_hash_bucket **old_bkts, in cfs_hash_buckets_realloc() argument910 LASSERT(old_size == 0 || old_bkts != NULL); in cfs_hash_buckets_realloc()912 if (old_bkts != NULL && old_size == new_size) in cfs_hash_buckets_realloc()913 return old_bkts; in cfs_hash_buckets_realloc()919 if (old_bkts != NULL) { in cfs_hash_buckets_realloc()920 memcpy(new_bkts, old_bkts, in cfs_hash_buckets_realloc()921 min(old_size, new_size) * sizeof(*old_bkts)); in cfs_hash_buckets_realloc()