The text 0f974ddcf4c9, as Debian 7 (Wheezy) shipped it.
returns the state of the lock linked to the buffer
BUF_ISLOCKED(9freebsd) on Linux now