Reference

sx_xlocked(9) on FreeBSD

The text 94813eb1da6e, as FreeBSD 7.1-RELEASE shipped it.

kernel shared/exclusive lock

sx_xlocked(9) on FreeBSD now