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

123456

/freebsd-11-stable/sys/compat/linux/
H A Dtrace_futexes.d109 linuxulator*:locks:futex_mtx:locked
/freebsd-11-stable/tools/tools/net80211/stumbler/
H A Dstumbler.c60 int locked; member in struct:chan_info
358 chaninfo.locked = !chaninfo.locked;
380 chaninfo.locked = 1;
976 if (!chaninfo.locked)
1007 chaninfo.locked = 0;
/freebsd-11-stable/sys/dev/sound/sbus/
H A Dcs4231.c110 int locked; member in struct:cs4231_channel
501 if (pch->locked || rch->locked) {
1355 if (ch->locked) {
1417 ch->locked = 1;
1428 if (ch->locked) {
1501 ch->locked = 1;
1514 if (ch->locked == 0) {
1562 ch->locked = 0;
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_bufferevent.c210 size_t locked /** allow recursive locking */; member in struct:__anon4940
246 if (!lock || lock->status == FREE || lock->locked) {
261 ++lock->locked;
268 if (!lock || lock->status == FREE || !lock->locked) {
272 --lock->locked;
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Db_sock.c126 int locked = 0; local
162 locked = 1;
182 if (locked)
/freebsd-11-stable/sys/kern/
H A Dkern_lock.c552 bool locked; local
555 locked = false;
566 locked = true;
579 locked = true;
592 locked = true;
598 if (__predict_true(locked)) {
1649 panic("Lock %s not exclusively locked @ %s:%d\n",
1661 panic("Lock %s exclusively locked @ %s:%d\n",
H A Dvfs_default.c278 KASSERT(VOP_ISLOCKED(vp), ("vp %p is not locked", vp));
339 KASSERT(VOP_ISLOCKED(vp), ("vp %p is not locked", vp));
821 int i, error, eofflag, dirbuflen, flags, locked, len, covered; local
843 locked = VOP_ISLOCKED(vp);
850 vn_lock(vp, locked | LK_RETRY);
934 vn_lock(vp, locked | LK_RETRY);
H A Dsys_generic.c765 int error, tmp, locked; local
776 locked = LA_XLOCKED;
781 locked = LA_SLOCKED;
783 locked = LA_UNLOCKED;
798 if (locked == LA_SLOCKED) {
800 locked = LA_UNLOCKED;
839 switch (locked) {
1778 * Now that we've locked the sip, check for initialization.
1870 * locked so check the pending flag before we sleep.
/freebsd-11-stable/crypto/openssh/
H A Dssh-agent.c150 int locked = 0; variable
712 } else if (locked && !lock) {
718 locked = 0;
732 } else if (!locked && lock) {
733 debug("agent locked");
734 locked = 1;
913 /* check wheter agent is locked */
914 if (locked && type != SSH_AGENTC_UNLOCK) {
/freebsd-11-stable/sys/vm/
H A Dvm_fault.c532 int locked, nera, result, rv; local
596 if (fs.vp == NULL /* avoid locked vnode leak */ &&
887 locked = VOP_ISLOCKED(vp);
888 if (locked != LK_EXCLUSIVE)
889 locked = LK_SHARED;
897 error = vget(vp, locked | LK_CANRECURSE |
903 error = vget(vp, locked | LK_RETRY |
1595 * The source and destination maps must be locked for write.
H A Dvm_page.c190 * Try to acquire a physical address lock while a pmap is locked. If we
192 * locked pa in *locked. The caller should then restart their loop in case
196 vm_page_pa_tryrelock(pmap_t pmap, vm_paddr_t pa, vm_paddr_t *locked) argument
200 lockpa = *locked;
201 *locked = pa;
759 bool locked; local
762 locked = mtx_owned(vm_page_lockptr(m));
767 if (x != 0 && !locked)
772 if (x != 0 && !locked)
[all...]
/freebsd-11-stable/contrib/dma/
H A Ddma.c392 int locked = 0; /* XXX */ local
404 locked ? "*" : "",
/freebsd-11-stable/sys/dev/iicbus/
H A Dif_ic.c214 goto locked;
217 locked:
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_addrhashmap.h179 goto locked;
210 locked:
/freebsd-11-stable/sys/dev/mfi/
H A Dmfi.c128 static void mfi_config_unlock(struct mfi_softc *sc, int locked);
2344 int sge_size, locked; local
2358 if ((locked = mtx_owned(&sc->mfi_io_lock)) == 0)
2446 if (locked == 0)
2749 mfi_config_unlock(struct mfi_softc *sc, int locked) argument
2752 if (locked)
3028 int error = 0, locked; local
3043 locked = mfi_config_lock(sc, ioc->ioc_frame.opcode);
3080 mfi_config_unlock(sc, locked);
3111 int error, locked; local
3479 int error, locked; local
[all...]
/freebsd-11-stable/sys/fs/nandfs/
H A Dnandfs_subr.c427 int locked, error; local
442 locked = NANDFS_VOP_ISLOCKED(NTOV(dat_node));
443 if (!locked)
464 if (!locked)
/freebsd-11-stable/sys/sys/
H A Dfiledesc.h157 bool locked);
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_82599.c243 * @locked: Return the if we locked for this read.
250 s32 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, u32 *reg_val) argument
254 *locked = FALSE;
262 *locked = TRUE;
273 * @locked: bool to indicate whether the SW/FW lock was already taken by
279 s32 prot_autoc_write_82599(struct ixgbe_hw *hw, u32 autoc, bool locked) argument
291 if (!locked && ixgbe_verify_lesm_fw_enabled_82599(hw)) {
297 locked = TRUE;
307 if (locked)
[all...]
H A Dixgbe_common.c239 bool locked = FALSE; local
266 ret_val = hw->mac.ops.prot_autoc_read(hw, &locked, &reg_bp);
371 ret_val = hw->mac.ops.prot_autoc_write(hw, reg_bp, locked);
3391 s32 prot_autoc_read_generic(struct ixgbe_hw *hw, bool *locked, u32 *reg_val) argument
3393 *locked = FALSE;
3402 * @locked: bool to indicate whether the SW/FW lock was already taken by
3407 s32 prot_autoc_write_generic(struct ixgbe_hw *hw, u32 reg_val, bool locked) argument
3409 UNREFERENCED_1PARAMETER(locked);
3466 bool locked = FALSE; local
3480 ret_val = hw->mac.ops.prot_autoc_read(hw, &locked,
3514 bool locked = FALSE; local
[all...]
H A Dixgbe_common.h126 s32 prot_autoc_write_generic(struct ixgbe_hw *hw, u32 reg_val, bool locked);
/freebsd-11-stable/sys/netinet/
H A Din_pcb.c271 * On success return with the PCB locked.
1622 bool locked; local
1810 locked = INP_TRY_WLOCK(inp);
1812 locked = INP_TRY_RLOCK(inp);
1815 if (!locked)
1818 if (!locked) {
1841 * that the caller has locked the hash list, and will not perform any further
1964 * hash list lock, and will return the inpcb locked (i.e., requires
1973 bool locked; local
1980 locked
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_removal.c2043 boolean_t locked = MUTEX_HELD(&spa_namespace_lock); local
2048 if (!locked)
2056 if (!locked)
2106 ASSERT(!locked);
2109 ASSERT(!locked);
2118 if (!locked)
H A Dzvol.c1161 boolean_t locked = B_FALSE; local
1187 locked = B_TRUE;
1192 if (locked)
1200 if (locked)
1235 if (locked)
1246 if (locked)
1272 boolean_t locked = B_FALSE; local
1277 locked = B_TRUE;
1282 if (locked)
1318 if (locked)
3037 boolean_t locked = B_FALSE; local
[all...]
/freebsd-11-stable/sys/fs/unionfs/
H A Dunion_vnops.c546 int locked; local
558 locked = 0;
567 locked = 1;
608 if (locked != 0)
1478 int locked; local
1498 locked = 0;
1515 locked = 1;
1530 if (locked)
1873 * Sometimes, lower or upper is already exclusive locked.
1874 * (ex. vfs_domount: mounted vnode is already locked
[all...]
/freebsd-11-stable/sys/arm/nvidia/tegra124/
H A Dtegra124_clk_pll.c1022 int locked; local
1034 locked = is_locked(sc);
1040 locked ? "locked" : "unlocked");

Completed in 283 milliseconds

123456