numbucketlocks
for (i = 0; i < numbucketlocks; i++)
for (i = 0; i < numbucketlocks; i++)
bucketlocks = malloc(sizeof(*bucketlocks) * numbucketlocks, M_VFSCACHE,
for (i = 0; i < numbucketlocks; i++)
if (newmaxvnodes < numbucketlocks)
newmaxvnodes = numbucketlocks;