HomeSort by: relevance | last modified time | path
    Searched refs:locks (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/external/mpl/dhcp/bind/dist/lib/isc/
tls.c 43 static isc_mutex_t *locks = NULL; variable
51 LOCK(&locks[type]);
53 UNLOCK(&locks[type]);
86 locks = calloc(nlocks, sizeof(locks[0]));
87 isc_mutexblock_init(locks, nlocks);
147 if (locks != NULL) {
148 isc_mutexblock_destroy(locks, nlocks);
149 free(locks);
150 locks = NULL
    [all...]
  /src/external/gpl2/xcvs/dist/contrib/
rcslock.in 75 # if any locks are outstanding and what versions of the file are
78 # see if any locks are outstanding. If locks are outstanding, the
151 # Create the locks associative array. The elements in the array are
154 # The name of the RCS file with a value of the total number of locks found
177 if ( $_ =~ /^locks: strict$/ )
185 # access list: is the line immediately following the list of locks.
194 $locks{$curfile}++;
197 $locks{"$curfile" . "$2"} = $1
214 if ( defined $locks{$i . $ext}
    [all...]
pvcs2rcs.in 68 # * Locks on PVCS archives should be removed (or the workfiles should be
80 # (The directory locks and existance checking make this a fairly quick
194 [-x rcs_extension] [-v none|locks|exists] [options] [path...]
217 ( -v | --VERIfy ) LOCKS Same as exists unless a #conv.done
307 'verify' => "locks",
533 if ($options{verify} =~ /^locks$/ ) {
578 if ($options{verify} =~ /^locks$/) {
826 if ($options{verify} =~ /^locks|exists$/ and -f $cvsarchive)
1181 @hits = grep /^$options{verify}/i, ("none", "locks", "exists", "lockdates", "revs", "full");
1185 . " Must be one of: 'none', 'locks', 'exists', 'lockdates', 'revs',\n
    [all...]
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
rrwlock.c 46 * then grab a write lock without first dropping all read locks, and
55 * to enter multiple and unique rrwlock_ts for read locks at the same time.
310 * A reader-mostly lock implementation, tuning above reader-writer locks
313 * The idea is to split single busy lock into array of locks, so that
316 * Writer same time has to sequentially aquire write on all the locks.
328 rrw_init(&rrl->locks[i], track_all);
337 rrw_destroy(&rrl->locks[i]);
362 rrw_enter_read(&rrl->locks[RRM_TD_LOCK()], tag);
371 rrw_enter_write(&rrl->locks[i]);
379 if (rrl->locks[0].rr_writer == curthread)
    [all...]
spa_misc.c 70 * There are four basic locks for managing spa_t structures:
160 * To read the configuration, it suffices to hold one of these locks as reader.
161 * To modify the configuration, you must hold all locks as writer. To modify
165 * We use these distinct config locks to avoid recursive lock entry.
170 * The spa config locks cannot be normal rwlocks because we need the
207 * other locks, and lower than all of them, to ensure that it's safe
502 spa_config_tryenter(spa_t *spa, int locks, void *tag, krw_t rw)
506 if (!(locks & (1 << i)))
512 spa_config_exit(spa, locks & ((1 << i) - 1),
520 spa_config_exit(spa, locks & ((1 << i) - 1)
1357 int locks = SCL_STATE_ALL | oplocks; local
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_deadlock_detector_test.cc 165 set<uptr> locks; local
166 locks.insert(l0);
167 locks.insert(l1);
168 locks.insert(l2);
169 locks.insert(l3);
170 locks.insert(l4);
171 locks.insert(l5);
174 locks.insert(lt);
179 EXPECT_EQ(locks.size(), d.size());
195 locks.clear()
249 set<uptr> locks; local
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
atomic.c 11 * arbitrary-sized memory locations. This design uses locks that should
21 * locks and hashes the object pointers to find the one that it should use.
40 /// Number of locks. This allocates one page on 32-bit platforms, two on
73 /// locks for atomic operations
74 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} }; variable
82 /// Locks a lock. In the current implementation, this is potentially
87 static Lock locks[SPINLOCK_COUNT]; // initialized to OS_SPINLOCK_INIT which is 0 variable
95 /// Locks a lock. In the current implementation, this is potentially
103 /// locks for atomic operations
104 static Lock locks[SPINLOCK_COUNT] variable
    [all...]
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
rrwlock.h 84 * A reader-mostly lock implementation, tuning above reader-writer locks
92 rrwlock_t locks[RRM_NUM_LOCKS]; member in struct:rrmlock
spa.h 749 /* Pool configuration locks */
750 extern int spa_config_tryenter(spa_t *spa, int locks, void *tag, krw_t rw);
751 extern void spa_config_enter(spa_t *spa, int locks, void *tag, krw_t rw);
752 extern void spa_config_exit(spa_t *spa, int locks, void *tag);
753 extern int spa_config_held(spa_t *spa, int locks, krw_t rw);
  /src/external/gpl2/rcs/dist/src/
co.c 94 * Permit multiple locks by same user. Add setuid support.
395 int locks = lockflag ? findlock(false, &targetdelta) : 0; variable
401 switch (locks) {
473 locks += lockflag;
474 if (1 < locks)
475 rcswarn("You now have %d locks.", locks);
588 dummy.nextlock=next=Locks;
607 Locks=dummy.nextlock;
  /src/external/mpl/dhcp/bind/dist/lib/dns/
request.c 66 isc_mutex_t locks[DNS_REQUEST_NLOCKS]; member in struct:dns_requestmgr
177 isc_mutex_init(&requestmgr->locks[i]);
395 isc_mutex_destroy(&requestmgr->locks[i]);
1171 LOCK(&request->requestmgr->locks[request->hash]);
1177 UNLOCK(&request->requestmgr->locks[request->hash]);
1188 LOCK(&request->requestmgr->locks[request->hash]);
1194 UNLOCK(&request->requestmgr->locks[request->hash]);
1252 LOCK(&request->requestmgr->locks[request->hash]);
1256 UNLOCK(&request->requestmgr->locks[request->hash]);
1306 LOCK(&request->requestmgr->locks[request->hash])
    [all...]
  /src/external/mpl/bind/dist/lib/isc/
tls.c 62 static isc_mutex_t *locks = NULL; variable
70 LOCK(&locks[type]);
72 UNLOCK(&locks[type]);
182 locks = isc_mem_cget(isc__tls_mctx, nlocks, sizeof(locks[0]));
183 isc_mutexblock_init(locks, nlocks);
229 if (locks != NULL) {
230 isc_mutexblock_destroy(locks, nlocks);
231 isc_mem_cput(isc__tls_mctx, locks, nlocks, sizeof(locks[0]))
    [all...]
  /src/external/bsd/unbound/lib/libunbound/
Makefile 53 locks.c \
  /src/external/gpl2/xcvs/dist/src/
rcs.h 101 called, we parse these into ->locks, and free ->locks_data. */
106 List *locks; member in struct:rcsnode
rcs.c 507 if (STREQ (key, "locks"))
514 "Duplicate `locks' keyword found in RCS file.");
952 if (rnode->locks != NULL)
953 dellist (&rnode->locks);
2068 * process the locks list of the rcs file
3197 rcs->locks = getlist ();
3198 do_locks (rcs->locks, rcs->locks_data);
3203 return rcs->locks;
5286 /* Figure out where the commit point is by looking for locks.
5943 List *locks; local
6037 List *locks; local
    [all...]
  /src/external/mit/libuv/dist/docs/code/
Makefile 25 locks \
  /src/external/bsd/libevent/dist/test/
regress_bufferevent.c 225 * Trace lock/unlock/alloc/free for locks.
240 /* Map of locks */
241 lock_wrapper *locks; member in struct:lock_unlock_base
244 .locks = NULL,
251 lock_wrapper *lock = &lu_base.locks[i];
262 lu_base.locks = realloc(lu_base.locks,
265 lu_base.locks[lu_base.nr_locks - 1] = (lock_wrapper){ lock, ALLOC, 0 };
331 /** re-create debug locks correctly */
344 free(lu_base.locks);
    [all...]
  /src/external/bsd/ntp/dist/sntp/libevent/test/
regress_bufferevent.c 223 * Trace lock/unlock/alloc/free for locks.
238 /* Map of locks */
239 lock_wrapper *locks; member in struct:lock_unlock_base
242 .locks = NULL,
249 lock_wrapper *lock = &lu_base.locks[i];
260 lu_base.locks = realloc(lu_base.locks,
263 lu_base.locks[lu_base.nr_locks - 1] = (lock_wrapper){ lock, ALLOC, 0 };
329 /** re-create debug locks correctly */
342 free(lu_base.locks);
    [all...]
  /src/external/bsd/openldap/dist/tests/scripts/
test075-dsee-persist 52 PID=`basename $DBDIR1/locks/server/*`
162 PID=`basename $DBDIR1/locks/server/*`
test072-dsee-sync 50 KILLPIDS=`basename $DBDIR1/locks/server/*`
  /src/sys/dev/fdt/
cpufreq_dt.c 559 static ONCE_DECL(locks);
563 RUN_ONCE(&locks, cpufreq_dt_lock_init);
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/thread/
fiber.d 1809 shared bool[10] locks;
1819 if (cas(&locks[idx], false, true))
1826 locks[idx] = false;
  /src/sys/arch/x86/x86/
intr.c 675 int locks; local
679 locks = curcpu()->ci_biglock_count;
686 KASSERTMSG(locks == curcpu()->ci_biglock_count,
687 "%s @ %p slipped locks %d -> %d",
688 ih->ih_xname, ih->ih_realfun, locks, curcpu()->ci_biglock_count);
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-port.h 2192 # define GTEST_EXCLUSIVE_LOCK_REQUIRED_(locks)
2193 # define GTEST_LOCK_EXCLUDED_(locks)
  /src/sys/arch/alpha/alpha/
pmap.c 323 * READ/WRITE LOCKS
340 * * pmap lock (global hash) - These locks protect the pmap structures.
342 * * pmap activation lock (global hash) - These IPL_SCHED spin locks
348 * * pvh_lock (global hash) - These locks protect the PV lists for
361 * pmap_growkernel() acquires the locks in the following order:
406 } locks; member in union:__anon884
416 return &pmap_pmap_locks[PMAP_LOCK_HASH(pmap)].locks.lock;
422 return &pmap_pmap_locks[PMAP_LOCK_HASH(pmap)].locks.activation_lock;
1404 * Initialize the locks.
1412 mutex_init(&pmap_pmap_locks[i].locks.lock
    [all...]

Completed in 47 milliseconds

1 2