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