Current Path : /sys/gnu/fs/xfs/FreeBSD/support/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //sys/gnu/fs/xfs/FreeBSD/support/mrlock.c |
#include <sys/param.h> #include <sys/pcpu.h> #include <support/debug.h> #include <support/mrlock.h> int ismrlocked(mrlock_t *mrp, int type) { sx_assert(mrp, SX_LOCKED); if (type == MR_UPDATE) return sx_xlocked(mrp); return 1; }