Searched refs:locked (Results 26 - 50 of 103) sorted by relevance

12345

/freebsd-9.3-release/sys/fs/pseudofs/
H A Dpseudofs_vnops.c361 int len, i, error, locked; local
402 locked = VOP_ISLOCKED(vp);
407 vn_lock(vp, locked | LK_RETRY);
414 vn_lock(vp, locked | LK_RETRY);
618 int error, locked; local
646 locked = VOP_ISLOCKED(vn);
688 vn_lock(vn, locked | LK_RETRY);
884 int error, locked; local
907 locked = VOP_ISLOCKED(vn);
917 vn_lock(vn, locked | LK_RETR
[all...]
/freebsd-9.3-release/sys/dev/usb/net/
H A Dif_axe.c320 int locked; local
322 locked = mtx_owned(&sc->sc_mtx);
323 if (!locked)
341 if (!locked)
350 int locked; local
353 locked = mtx_owned(&sc->sc_mtx);
354 if (!locked)
361 if (!locked)
373 int err, locked; local
375 locked
[all...]
H A Dif_udav.c799 int locked; local
805 locked = mtx_owned(&sc->sc_mtx);
806 if (!locked)
829 if (!locked)
839 int locked; local
845 locked = mtx_owned(&sc->sc_mtx);
846 if (!locked)
866 if (!locked)
/freebsd-9.3-release/include/rpc/
H A Drpcsec_gss.h109 bool_t locked; member in struct:__anon4991
/freebsd-9.3-release/sys/crypto/via/
H A Dpadlock.c69 struct padlock_session *ses, int locked);
274 int locked)
279 if (!locked)
289 if (!locked)
273 padlock_freesession_one(struct padlock_softc *sc, struct padlock_session *ses, int locked) argument
/freebsd-9.3-release/sys/dev/ata/
H A Datapi-tape.h58 u_int8_t locked :1; /* the media is locked */ member in struct:ast_cappage
/freebsd-9.3-release/sys/dev/sound/macio/
H A Dsnapper.c443 int locked; local
449 locked = mtx_owned(mixer_lock);
473 if (locked)
478 if (locked)
H A Dtumbler.c389 int locked; local
395 locked = mtx_owned(mixer_lock);
419 if (locked)
424 if (locked)
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Dumem.c175 unsigned long locked; local
232 locked = npages + current->mm->locked_vm;
235 if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) {
304 current->mm->locked_vm = locked;
/freebsd-9.3-release/crypto/openssl/crypto/engine/
H A Deng_lib.c107 int engine_free_util(ENGINE *e, int locked) argument
115 if (locked)
/freebsd-9.3-release/crypto/openssh/
H A Dauth.c121 /* grab passwd field for locked account check */
132 /* check for locked account */
134 int locked = 0; local
138 locked = 1;
143 locked = 1;
147 locked = 1;
152 if (locked) {
153 logit("User %.100s not allowed because account is locked",
H A Dssh-agent.c134 int locked = 0; variable
576 if (locked && !lock && strcmp(passwd, lock_passwd) == 0) {
577 locked = 0;
582 } else if (!locked && lock) {
583 locked = 1;
734 /* check wheter agent is locked */
735 if (locked && type != SSH_AGENTC_UNLOCK) {
/freebsd-9.3-release/sys/fs/nullfs/
H A Dnull_vnops.c727 * vnode, are exclusively locked, and we shall destroy the null vnode.
821 int error, locked; local
826 locked = VOP_ISLOCKED(vp);
835 vn_lock(vp, locked | LK_RETRY);
846 vn_lock(vp, locked | LK_RETRY);
857 vn_lock(vp, locked | LK_RETRY);
/freebsd-9.3-release/sys/dev/e1000/
H A De1000_phy.c718 * @locked: semaphore has already been acquired or not
725 bool locked)
731 if (!locked) {
748 if (!locked)
788 * @locked: semaphore has already been acquired or not
794 bool locked)
800 if (!locked) {
817 if (!locked)
856 * @locked: semaphore has already been acquired or not
863 bool locked)
724 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
793 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
862 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
937 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
3517 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool locked, bool page_set) argument
3627 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data, bool locked, bool page_set) argument
[all...]
/freebsd-9.3-release/contrib/sendmail/src/
H A Dmci.c711 ** locked it. This has the (according to some)
828 sm_dprintf("mci_unlock_host: stat file already locked\n");
864 bool locked = true; local
907 locked = lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), fname, "",
909 if (locked)
920 return locked;
1320 bool locked; local
1358 locked = !lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), pathname,
1364 locked ? '*' : ' ', hostname,
/freebsd-9.3-release/sys/dev/sfxge/
H A Dsfxge_tx.c451 sfxge_tx_qdpl_put(struct sfxge_txq *txq, struct mbuf *mbuf, int locked) argument
459 if (locked) {
500 int locked; local
508 locked = mtx_trylock(&txq->lock);
513 if (sfxge_tx_qdpl_put(txq, m, locked) != 0) {
514 KASSERT(!locked,
515 ("sfxge_tx_qdpl_put() failed locked"));
527 if (!locked)
528 locked = mtx_trylock(&txq->lock);
530 if (locked) {
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_config.c363 boolean_t locked = B_FALSE; local
368 locked = B_TRUE;
488 if (locked)
/freebsd-9.3-release/contrib/nvi/common/
H A Drecover.c57 * file exists, and is exclusively locked.
59 * In the EXF structure we maintain a file descriptor that is the locked
539 /* If it's locked, it's live. */
603 int fd, found, locked, requested, sv_fd; local
649 locked = 0;
652 locked = 1;
655 /* If it's locked, it's live. */
767 if (!locked)
/freebsd-9.3-release/sys/compat/linux/
H A Dtrace_futexes.d109 linuxulator*:locks:futex_mtx:locked
/freebsd-9.3-release/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-9.3-release/sys/dev/sound/sbus/
H A Dcs4231.c110 int locked; member in struct:cs4231_channel
499 if (pch->locked || rch->locked) {
1353 if (ch->locked) {
1415 ch->locked = 1;
1426 if (ch->locked) {
1499 ch->locked = 1;
1512 if (ch->locked == 0) {
1560 ch->locked = 0;
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_bufferevent.c210 size_t locked /** allow recursive locking */; member in struct:__anon188
246 if (!lock || lock->status == FREE || lock->locked) {
261 ++lock->locked;
268 if (!lock || lock->status == FREE || !lock->locked) {
272 --lock->locked;
/freebsd-9.3-release/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp47 MutexGuard locked(lock);
69 MutexGuard locked(lock);
86 MutexGuard locked(lock);
/freebsd-9.3-release/crypto/openssl/crypto/bio/
H A Db_sock.c110 int locked = 0; local
135 locked = 1;
153 if (locked)
/freebsd-9.3-release/sys/vm/
H A Dvm_fault.c252 int locked, error; local
542 locked = VOP_ISLOCKED(vp);
553 if (locked != LK_EXCLUSIVE)
554 locked = LK_SHARED;
556 error = vget(vp, locked | LK_CANRECURSE |
566 error = vget(vp, locked | LK_RETRY |
1259 * The source and destination maps must be locked for write.

Completed in 257 milliseconds

12345