Searched refs:locked (Results 76 - 100 of 103) sorted by relevance

12345

/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_ctldir.c1464 int locked; local
1474 if (!(locked = MUTEX_HELD(&sdp->sd_lock)))
1493 if (!locked)
H A Dspa.c2907 int locked = B_FALSE; local
2920 locked = B_TRUE;
2924 if (locked)
2959 if (locked)
2980 if (locked)
3001 if (locked) {
5498 boolean_t locked = MUTEX_HELD(&spa_namespace_lock); local
5502 if (!locked)
5535 ASSERT(!locked);
5589 if (!locked)
[all...]
H A Dzfs_znode.c1126 int locked; local
1187 locked = VOP_ISLOCKED(vp);
1190 locked != LK_EXCLUSIVE) {
1462 * NOTE: this function assumes that the znode is write locked.
/freebsd-9.3-release/sys/fs/devfs/
H A Ddevfs_vnops.c196 int locked; local
201 locked = VOP_ISLOCKED(vp);
211 vn_lock(vp, locked | LK_RETRY);
/freebsd-9.3-release/sys/kern/
H A Dimgact_elf.c812 * and that address space maps the locked vnode. In the common case,
813 * the locked vnode's v_usecount is decremented but remains greater
1131 int error, locked; local
1143 locked = PROC_LOCKED(p->td->td_proc);
1144 if (locked)
1156 if (locked)
H A Duipc_mqueue.c398 int locked = sx_xlocked(&mqfs->mi_lock); local
399 if (!locked)
402 if (!locked)
H A Dkern_jail.c1926 int error, errmsg_len, errmsg_pos, fi, i, jid, len, locked, pos; local
2012 locked = PD_LOCKED;
2133 locked = 0;
2172 prison_deref(pr, locked | PD_DEREF | PD_LIST_SLOCKED);
2411 * Returns a locked prison instance, or NULL on failure.
2431 * Find a prison that is a descendant of mypr. Returns a locked prison or NULL.
2452 * Look for the name relative to mypr. Returns a locked prison or NULL.
3990 * pr1 isn't locked (and allprison_lock may not be either)
H A Dkern_sig.c3217 int error, error1, flags, locked; local
3299 locked = (VOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &lf, F_FLOCK) == 0);
3303 if (locked)
3329 if (locked) {
/freebsd-9.3-release/sys/netinet/
H A Dip_carp.c1902 int locked = 0, error = 0; local
1973 locked = 1;
1998 locked = 1;
2082 if (locked)
H A Dsctp_output.c6638 * stcb will return to us un-locked.. since free_asoc
7136 int *locked,
7162 *locked = 0;
7216 /* we can't be locked to it */
7217 *locked = 0;
7230 *locked = 1;
7239 *locked = 1;
7262 *locked = 1;
7328 *locked = 1;
7623 /* we can't be locked t
7132 sctp_move_to_outqueue(struct sctp_tcb *stcb, struct sctp_stream_out *strq, uint32_t goal_mtu, uint32_t frag_point, int *locked, int *giveup, int eeor_mode, int *bail, int so_locked SCTP_UNUSED ) argument
7653 int locked, giveup; local
[all...]
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dpf.c1320 int locked; local
1331 locked = 0;
1360 locked = 1;
1384 if (locked)
1456 int locked = waslocked; local
1467 if (! locked) {
1480 locked = 1;
1502 if (locked && !waslocked)
1667 int locked = waslocked; local
1669 int locked local
[all...]
/freebsd-9.3-release/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c1100 lock.locked = FALSE;
1120 client->cl_locked = lock.locked;
1420 * If the server has locked this client to a
/freebsd-9.3-release/sys/vm/
H A Dvm_map.c569 * Requires that the map be read locked.
849 * The map must be locked, and leaves it so.
1024 * The map must be locked, and leaves it so.
1060 boolean_t locked; local
1072 } else if ((locked = vm_map_locked(map)) ||
1081 if (!locked)
1097 * Since the map is only locked for read access, perform a
1128 * Requires that the map be locked, and leaves it so.
1344 * The map must be locked, and leaves it so.
1511 * The map must be locked
3170 int locked; local
[all...]
H A Dvm_page.c164 * Try to acquire a physical address lock while a pmap is locked. If we
166 * locked pa in *locked. The caller should then restart their loop in case
170 vm_page_pa_tryrelock(pmap_t pmap, vm_paddr_t pa, vm_paddr_t *locked) argument
174 lockpa = *locked;
175 *locked = pa;
493 * containing the page is locked.
798 * The object containing the given page must be locked.
826 * The object containing the specified page must be locked if the
906 * The object must be locked
[all...]
/freebsd-9.3-release/sys/dev/cxgb/
H A Dcxgb_main.c273 u32 locked:1; member in struct:filter_info
3016 if (p->locked)
3057 if (p->locked)
3189 p->pass = p->rss = p->valid = p->locked = 1;
3206 if (sc->filters[i].locked)
/freebsd-9.3-release/sys/dev/cas/
H A Dif_cas.c1895 u_int idx, locked; local
1913 if ((locked = CAS_LOCK_OWNED(sc)) == 0)
1916 if (locked == 0)
/freebsd-9.3-release/sys/powerpc/aim/
H A Dmmu_oea64.c1410 vm_page_pa_tryrelock_moea64(pmap_t pmap, vm_paddr_t pa, vm_paddr_t *locked) argument
1418 lockpa = *locked;
1419 *locked = pa;
1568 * concurrently set while the object is locked. Thus, if PGA_WRITEABLE
1614 * set. If the object containing the page is locked and the page is
1638 * another thread while the object is locked. Thus, if PGA_WRITEABLE
/freebsd-9.3-release/sys/dev/ata/
H A Datapi-tape.c696 if (stp->cap.locked) printf(", locked");
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_vnodeops.c448 * while we didn't have the inode locked, inode's dquot(s)
1327 * Hold it so in the normal path, we still have it locked for
1414 * Return with the inode locked but not joined to the transaction.
1423 * Have to come here with the inode locked and either
1429 * needs to be locked until the cancel is done, if it was
1967 * It is locked (and joined to the transaction).
2007 * inode has been locked ever since it was created.
2104 * If the entry is "..", then only the directory is locked. The
2108 * There is a deadlock we need to worry about. If the locked directory is
2110 * could be already locked b
3876 xfs_finish_reclaim( xfs_inode_t *ip, int locked, int sync_mode) argument
[all...]
/freebsd-9.3-release/sys/sparc64/sparc64/
H A Dsupport.S890 sub %l0, SPOFF, %fp ! setup a stack in a locked page
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dzone.c160 INSIST((z)->locked == ISC_FALSE); \
161 (z)->locked = ISC_TRUE; \
164 do { (z)->locked = ISC_FALSE; UNLOCK(&(z)->lock); } while (0)
165 #define LOCKED_ZONE(z) ((z)->locked)
170 INSIST((z)->locked == ISC_FALSE); \
171 (z)->locked = ISC_TRUE; \
199 isc_boolean_t locked; member in struct:dns_zone
272 dns_xfrin_ctx_t *xfr; /* task locked */
794 * Increment resolver-related statistics counters. Zone must be locked.
833 zone->locked
9587 notify_destroy(dns_notify_t *notify, isc_boolean_t locked) argument
[all...]
H A Dresolver.c206 /*% Not locked. */
493 static isc_boolean_t maybe_destroy(fetchctx_t *fctx, isc_boolean_t locked);
3986 maybe_destroy(fetchctx_t *fctx, isc_boolean_t locked) { argument
3996 if (!locked)
4012 if (!locked)
6554 isc_boolean_t locked = ISC_FALSE; local
6643 locked = ISC_TRUE;
6655 if (!locked)
/freebsd-9.3-release/sys/dev/hwpmc/
H A Dhwpmc_mod.c1592 int locked; local
1647 * At this point lobj is the base vm_object and it is locked.
1678 * vm_object locked while we walk the pathname, since
1702 locked = VFS_LOCK_GIANT(vp->v_mount);
1704 VFS_UNLOCK_GIANT(locked);
3516 PROC_UNLOCK(p); /* pfind() returns a locked process */
3569 PROC_UNLOCK(p); /* pfind() returns a locked process */
/freebsd-9.3-release/sys/ufs/ffs/
H A Dffs_softdep.c1073 worklist_insert(head, item, locked)
1076 int locked;
1079 if (locked)
1089 worklist_remove(item, locked)
1091 int locked;
1094 if (locked)
1635 * be unable as we have the vnodes locked.
2874 * Since in the case of block allocation we may have multiple locked
2929 * locked pair of vnodes to try to flush space as the syncer, buf daemon,
4884 * call workitem_alloc() before entering the locked sectio
12069 int locked; local
[all...]
/freebsd-9.3-release/lib/libpmc/
H A Dlibpmc.c1022 /* ls locked operation */
1024 __K8MASK(locked-instructions, 0),

Completed in 684 milliseconds

12345