Searched refs:new_bkts (Results 1 – 1 of 1) sorted by relevance
916 struct cfs_hash_bucket **new_bkts; in cfs_hash_buckets_realloc() local924 LIBCFS_ALLOC(new_bkts, sizeof(new_bkts[0]) * new_size); in cfs_hash_buckets_realloc()925 if (new_bkts == NULL) in cfs_hash_buckets_realloc()929 memcpy(new_bkts, old_bkts, in cfs_hash_buckets_realloc()937 LIBCFS_ALLOC(new_bkts[i], cfs_hash_bkt_size(hs)); in cfs_hash_buckets_realloc()938 if (new_bkts[i] == NULL) { in cfs_hash_buckets_realloc()939 cfs_hash_buckets_free(new_bkts, cfs_hash_bkt_size(hs), in cfs_hash_buckets_realloc()944 new_bkts[i]->hsb_index = i; in cfs_hash_buckets_realloc()945 new_bkts[i]->hsb_version = 1; /* shouldn't be zero */ in cfs_hash_buckets_realloc()946 new_bkts[i]->hsb_depmax = -1; /* unknown */ in cfs_hash_buckets_realloc()[all …]