Searched refs:locked (Results 51 - 75 of 103) sorted by relevance

12345

/freebsd-9.3-release/sys/dev/drm2/i915/
H A Di915_dma.c53 static int i915_driver_unload_int(struct drm_device *dev, bool locked);
1320 i915_driver_unload_int(struct drm_device *dev, bool locked) argument
1325 if (!locked)
1330 if (!locked)
1337 if (locked)
1352 if (locked)
1356 if (!locked)
1360 if (!locked)
/freebsd-9.3-release/sys/dev/iicbus/
H A Dif_ic.c214 goto locked;
217 locked:
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_misc.c101 LIN_SDT_PROBE_DECLARE(locks, emul_lock, locked);
103 LIN_SDT_PROBE_DECLARE(locks, emul_shared_rlock, locked);
105 LIN_SDT_PROBE_DECLARE(locks, emul_shared_wlock, locked);
250 int error, locked, vfslocked, writecount; local
261 locked = 0;
276 * From here on down, we have a locked vnode that must be unlocked.
279 locked = 1;
397 locked = 0;
469 if (locked) {
H A Dlinux_fork.c61 LIN_SDT_PROBE_DECLARE(locks, emul_lock, locked);
H A Dlinux_futex.c75 LIN_SDT_PROBE_DECLARE(locks, emul_lock, locked);
81 LIN_SDT_PROBE_DEFINE1(locks, futex_mtx, locked, "struct mtx *");
232 locked, &futex_mtx); \
/freebsd-9.3-release/sys/dev/mfi/
H A Dmfi.c128 static void mfi_config_unlock(struct mfi_softc *sc, int locked);
2342 int sge_size, locked; local
2356 if ((locked = mtx_owned(&sc->mfi_io_lock)) == 0)
2444 if (locked == 0)
2747 mfi_config_unlock(struct mfi_softc *sc, int locked) argument
2750 if (locked)
3026 int error = 0, locked; local
3041 locked = mfi_config_lock(sc, ioc->ioc_frame.opcode);
3078 mfi_config_unlock(sc, locked);
3109 int error, locked; local
3481 int error, locked; local
[all...]
/freebsd-9.3-release/contrib/cvs/src/
H A Dimport.c745 int locked, status, ierrno; local
751 locked = 0;
763 locked = 1;
786 if (locked)
/freebsd-9.3-release/sys/kern/
H A Dvfs_default.c274 KASSERT(VOP_ISLOCKED(vp), ("vp %p is not locked", vp));
335 KASSERT(VOP_ISLOCKED(vp), ("vp %p is not locked", vp));
770 int i, error, eofflag, dirbuflen, flags, locked, len, covered; local
792 locked = VOP_ISLOCKED(vp);
799 vn_lock(vp, locked | LK_RETRY);
883 vn_lock(vp, locked | LK_RETRY);
H A Dkern_descrip.c1158 * locked, we need to check for P_WEXIT.
1912 int i, locked; local
1952 locked = VFS_LOCK_GIANT(vp->v_mount);
1959 VFS_UNLOCK_GIANT(locked);
2040 locked = VFS_LOCK_GIANT(cdir->v_mount);
2042 VFS_UNLOCK_GIANT(locked);
2045 locked = VFS_LOCK_GIANT(rdir->v_mount);
2047 VFS_UNLOCK_GIANT(locked);
2050 locked = VFS_LOCK_GIANT(jdir->v_mount);
2052 VFS_UNLOCK_GIANT(locked);
3307 int error, locked, vfslocked; local
[all...]
H A Dkern_exit.c137 int locked; local
226 /* Drain the limit callout while we don't have the proc locked */
385 locked = VFS_LOCK_GIANT(vtmp->v_mount);
387 VFS_UNLOCK_GIANT(locked);
444 * orphan link for q now while q is locked.
H A Dkern_event.c96 static void kqueue_release(struct kqueue *kq, int locked);
1208 kqueue_release(struct kqueue *kq, int locked) argument
1210 if (locked)
1217 if (!locked)
1747 * lock is owned, and filedesc sx is locked before, to not
1886 KASSERT(!(!!kqislocked && !knlislocked), ("kq locked w/o knl locked"));
2019 * Even if we are locked, we may need to drop the lock to allow any influx
2095 * since filedesc is locked.
H A Dkern_linker.c775 int locked; local
777 locked = sx_xlocked(&kld_sx);
778 if (!locked)
781 if (!locked)
H A Dvfs_subr.c722 * the vnode interlock and before it was locked again.
903 * This vnode may found and locked via some other list, if so we
1154 int locked; local
1162 "insmntque: mp-safe fs and non-locked vp");
1178 locked = VOP_ISLOCKED(vp);
1179 if (!locked || (locked == LK_EXCLUSIVE &&
1215 * Called with the underlying object locked.
1299 * Called with the underlying object locked.
2331 * We must call VOP_INACTIVE with the node locked
4073 int locked; local
[all...]
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c102 * allocate a new map, returns the chain locked. extra is the number
106 get_map(struct ip_fw_chain *chain, int extra, int locked) argument
115 locked ? M_NOWAIT : M_WAITOK);
120 if (!locked)
125 if (!locked)
170 map = get_map(chain, 1, 0 /* not locked */);
357 map = get_map(chain, -n, 1 /* locked */);
H A Dip_dummynet.c655 delete_fs(int i, int locked) argument
660 if (!locked)
669 if (!locked)
1264 * configure a flowset. Can be called from inside with locked=1,
1267 config_fs(struct dn_fs *nfs, struct dn_id *arg, int locked) argument
1295 if (!locked)
1337 if (!locked)
1498 s->fs = config_fs(&fs, NULL, 1 /* locked */);
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzvol.c909 boolean_t locked = B_FALSE; local
924 locked = B_TRUE;
929 if (locked)
937 if (locked)
964 if (locked)
971 if (locked)
982 boolean_t locked = B_FALSE; local
987 locked = B_TRUE;
992 if (locked)
1016 if (locked)
[all...]
/freebsd-9.3-release/sys/fs/unionfs/
H A Dunion_vnops.c547 int locked; local
559 locked = 0;
568 locked = 1;
609 if (locked != 0)
1479 int locked; local
1499 locked = 0;
1516 locked = 1;
1531 if (locked)
1875 * Sometimes, lower or upper is already exclusive locked.
1876 * (ex. vfs_domount: mounted vnode is already locked
[all...]
/freebsd-9.3-release/sys/ia64/ia64/
H A Dmachdep.c1147 int error, locked; local
1168 locked = PROC_LOCKED(td->td_proc);
1169 if (!locked)
1188 if (!locked)
/freebsd-9.3-release/sys/dev/sfxge/common/
H A Defx_ev.c845 unsigned int locked; local
887 locked = (eep->ee_index == 0) ? 1 : 0;
890 eep->ee_index, &dword, locked);
/freebsd-9.3-release/sys/compat/linprocfs/
H A Dlinprocfs.c1016 int locked; local
1069 locked = VFS_LOCK_GIANT(vp->v_mount);
1074 VFS_UNLOCK_GIANT(locked);
/freebsd-9.3-release/sys/vm/
H A Dvm_mmap.c801 boolean_t locked; local
892 locked = VM_OBJECT_TRYLOCK(object);
894 if (!locked) {
1151 * will be memory resident and locked (wired) upon return
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_mount.c492 * Allocate a (locked) buffer to hold the superblock.
1568 * The buffer is returned locked and read in from disk.
1572 * the superblock buffer if it can be locked without sleeping.
1622 * Use xfs_getsb() so that the buffer will be locked
2097 int cpu, s, locked = 0; local
2139 if (locked)
2160 locked = 1;
2179 if (locked)
2195 * Called when superblock is already locked
/freebsd-9.3-release/sys/rpc/
H A Drpcsec_gss.h109 bool_t locked; member in struct:__anon10368
/freebsd-9.3-release/lib/librpcsec_gss/
H A Dsvc_rpcsec_gss.c852 lock.locked = FALSE;
872 client->cl_locked = lock.locked;
1140 * If the server has locked this client to a
/freebsd-9.3-release/sys/sys/
H A Dmount.h681 #define VFS_UNLOCK_GIANT(locked) do \
683 if ((locked)) \

Completed in 415 milliseconds

12345