Searched refs:locks (Results 1 - 17 of 17) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/dtrace/demo/lockstat/
H A Dwhatlock.d30 @locks["adaptive"] = count();
36 @locks["spin"] = count();
/opensolaris-onvv-gate/usr/src/cmd/initpkg/init.d/
H A Duucp35 /usr/bin/rm -rf /usr/spool/locks/* >/dev/null 2>&1 &
/opensolaris-onvv-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c53 * There are four basic locks for managing spa_t structures:
143 * To read the configuration, it suffices to hold one of these locks as reader.
144 * To modify the configuration, you must hold all locks as writer. To modify
148 * We use these distinct config locks to avoid recursive lock entry.
153 * The spa config locks cannot be normal rwlocks because we need the
190 * other locks, and lower than all of them, to ensure that it's safe
282 spa_config_tryenter(spa_t *spa, int locks, void *tag, krw_t rw) argument
286 if (!(locks & (1 << i)))
292 spa_config_exit(spa, locks ^ (1 << i), tag);
299 spa_config_exit(spa, locks
311 spa_config_enter(spa_t *spa, int locks, void *tag, krw_t rw) argument
342 spa_config_exit(spa_t *spa, int locks, void *tag) argument
361 spa_config_held(spa_t *spa, int locks, krw_t rw) argument
958 int locks = SCL_STATE_ALL | oplocks; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/attrs/
H A Dattrs.pm45 perl ensures that any invocation of it implicitly locks its first
/opensolaris-onvv-gate/usr/src/lib/libc/
H A DREADME39 Almost all internal libc locks (mutexes and read-write locks)
150 On return from fork_lock_enter(), no internal libc locks are held
218 deferred while locks acquired by these functions are held, making
220 and free() are permissible while holding such locks.
/opensolaris-onvv-gate/usr/src/cmd/bnu/
H A Duudemon.cleanup113 LOCKS=/var/spool/locks # needs a comment in parms.h on USRSPOOLOCKS
H A DMakefile74 ROOTSPLOCKS = $(ROOTSPOOL)/locks
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Hash/
H A DUtil.pm146 lock_hash() locks an entire hash, making all keys and values readonly.
/opensolaris-onvv-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h539 /* Pool configuration locks */
540 extern int spa_config_tryenter(spa_t *spa, int locks, void *tag, krw_t rw);
541 extern void spa_config_enter(spa_t *spa, int locks, void *tag, krw_t rw);
542 extern void spa_config_exit(spa_t *spa, int locks, void *tag);
543 extern int spa_config_held(spa_t *spa, int locks, krw_t rw);
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/
H A Derrlist85 46 No record locks available
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c2965 foundlock_t *locks; local
2973 locks = mdb_zalloc(size, UM_SLEEP);
2976 bcopy(fl->fl_locks, locks, osize);
2980 fl->fl_locks = locks;
3058 * We have our type. Now iterate for locks. Note that we don't yet
3059 * deal with locks in flexible array members.
/opensolaris-onvv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_recovery.c717 * There must be a corresponding call to nfs4_end_op() to free up any locks
2195 * Reclaim all the active (acquired) locks for the given file.
2209 locklist_t *locks, *llp; local
2225 * and mark its remaining locks (if any) as belonging to NOPID, so
2230 locks = flk_active_locks_for_vp(vp);
2231 for (llp = locks; llp != NULL; llp = llp->ll_next) {
2289 if (locks != NULL)
2290 flk_free_locklist(locks);
2484 * Reopen all the files for the given filesystem and reclaim any locks.
H A Dnfs4_vnops.c1960 * (in the absence of locks).
2255 * We could attempt to clean up locks, except we're sure
2256 * that the current process didn't acquire any locks on
2275 * release all of the SYSV style record locks. Otherwise,
2277 * of the network locks. All of the locks held by this
10492 * Don't allow concurrent locks and mapping if mandatory locking is
10899 * locks, this is so that the process gets the latest bits from the
10903 * allow unlocks to succeed, to avoid having orphan locks on the
11875 * structure without requiring any other locks
15828 locklist_t *locks, *llp, *ri_llp, *tmp_llp; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dattributes.pm175 Perl ensures that any invocation of it implicitly locks its first
/opensolaris-onvv-gate/usr/src/uts/sun/io/
H A Dfd.c192 int locks);
1227 * If the locks parameter is nonzero, then all mutexes, semaphores and
1234 fd_cleanup(dev_info_t *dip, struct fdctlr *fdc, int hard, int locks) argument
1326 if (locks) {
1360 * Similarly, the locks parameter is also set to 1.
/opensolaris-onvv-gate/usr/src/tools/scripts/
H A Dnightly.sh1979 # Remove the locks and temporary files on any exit
2009 # doesn't, then make sure we can create it. Clean up locks that are
2065 # Create from one, two, or three other locks:
2375 while egrep -s write $BRINGOVER_WS/Codemgr_wsdata/locks
/opensolaris-onvv-gate/usr/src/pkg/manifests/
H A DSUNWcs.mf309 dir path=var/spool/locks group=uucp owner=uucp

Completed in 309 milliseconds