Lines Matching refs:locked
1028 * Check to see if a vnode is locked in the current context
1034 int locked;
1042 locked = VTOC(vp)->c_lockowner == (void *)current_thread();
1044 if (!locked && !shareable) {
1047 panic("extents btree not locked! v: 0x%08X\n #\n", (u_int)vp);
1050 panic("catalog btree not locked! v: 0x%08X\n #\n", (u_int)vp);
1055 panic("allocation file not locked! v: 0x%08X\n #\n", (u_int)vp);
1058 panic("startup file not locked! v: 0x%08X\n #\n", (u_int)vp);
1060 panic("attributes btree not locked! v: 0x%08X\n #\n", (u_int)vp);
1434 * should be locked in the first place.