Home
last modified time | relevance | path

Searched refs:lf_lock_owners (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/kern/
H A Dkern_lockf.c211 static struct lock_owner_chain lf_lock_owners[LOCK_OWNER_HASH_SIZE]; variable
286 sx_init(&lf_lock_owners[i].lock, "lock owners lock"); in lf_init()
287 LIST_INIT(&lf_lock_owners[i].list); in lf_init()
343 sx_xlock(&lf_lock_owners[lo->lo_hash].lock); in lf_alloc_lock()
345 sx_xunlock(&lf_lock_owners[lo->lo_hash].lock); in lf_alloc_lock()
371 chainlock = &lf_lock_owners[lo->lo_hash].lock; in lf_free_lock()
496 sx_xlock(&lf_lock_owners[hash].lock); in lf_advlockasync()
497 LIST_FOREACH(lo, &lf_lock_owners[hash].list, lo_link) in lf_advlockasync()
538 LIST_INSERT_HEAD(&lf_lock_owners[hash].list, lo, lo_link); in lf_advlockasync()
547 sx_xunlock(&lf_lock_owners[hash].lock); in lf_advlockasync()
[all …]