Searched refs:bucketlocks (Results 1 - 1 of 1) sorted by relevance

/freebsd-12-stable/sys/kern/
H A Dvfs_cache.c189 * Insertions and removals of entries require involved vnodes and bucketlocks
250 static struct rwlock_padalign __read_mostly *bucketlocks; variable in typeref:struct:__read_mostly
252 ((struct rwlock *)(&bucketlocks[((hash) & ncbuckethash)]))
486 rw_wlock(&bucketlocks[i]);
495 rw_wunlock(&bucketlocks[i]);
1580 * That is, in the worst case we have to lock 3 vnodes and 2 bucketlocks, while
1914 bucketlocks = malloc(sizeof(*bucketlocks) * numbucketlocks, M_VFSCACHE,
1917 rw_init_flags(&bucketlocks[i], "ncbuc", RW_DUPOK | RW_RECURSE);
2104 blp = (struct rwlock *)&bucketlocks[
[all...]

Completed in 45 milliseconds