Reference

sx_xlocked(9) on FreeBSD

The text a1cccdcd10fd, as FreeBSD 6.4-RELEASE shipped it.

kernel shared/exclusive lock

sx_xlocked(9) on FreeBSD now