Searched refs:locked (Results 1 - 25 of 54) sorted by relevance

123

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/
H A D20030125-1.c4 int val, locked = 0; local
9 locked = 1;
11 locked = 1;
13 if (!locked)
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/
H A D20030125-1.c4 int val, locked = 0; local
9 locked = 1;
11 locked = 1;
13 if (!locked)
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/30_threads/lock_guard/cons/
H A D1.cc31 Mutex() : locked(false) { }
35 if (locked)
41 if (locked)
43 locked = true;
48 if (!locked)
50 locked = false;
53 bool locked; member in struct:Mutex
72 VERIFY( !m.locked );
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/30_threads/condition_variable_any/members/
H A D1.cc32 Mutex() : locked(false) { }
36 if (locked)
37 throw locked;
39 locked = true;
44 if (!locked)
45 throw locked;
47 locked = false;
51 bool locked; member in struct:Mutex
69 VERIFY( m.locked );
H A D2.cc32 Mutex() : locked(false) { }
36 if (locked)
37 throw locked;
39 locked = true;
44 if (!locked)
45 throw locked;
47 locked = false;
51 bool locked; member in struct:Mutex
70 VERIFY( m.locked );
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Dmbox_open.c113 int locked = 0; local
143 locked |= MBOX_DOT_LOCK;
167 if (locked & MBOX_DOT_LOCK)
185 locked |= lock_style;
188 if (locked & MBOX_DOT_LOCK)
211 if (locked & MBOX_DOT_LOCK)
219 mp->locked = locked;
236 if (mp->locked & MBOX_DOT_LOCK)
H A Dmbox_open.h34 int locked; /* what locks were set */ member in struct:__anon2426
/netbsd-6-1-5-RELEASE/lib/libpthread/
H A Dpthread_lock.c77 int locked; local
80 locked = __SIMPLELOCK_LOCKED_P(alp);
84 return !locked;
/netbsd-6-1-5-RELEASE/lib/libpthread_dbg/
H A Dpthread_dbg.h92 int locked; member in struct:__anon5309::__anon5310::__anon5311
96 int locked; member in struct:__anon5309::__anon5310::__anon5312
102 int locked; member in struct:__anon5309::__anon5310::__anon5314
/netbsd-6-1-5-RELEASE/sys/miscfs/deadfs/
H A Ddead_vnops.c301 int locked = 0; local
306 locked = 1;
310 return (locked);
/netbsd-6-1-5-RELEASE/sys/arch/ia64/stand/efi/include/
H A Defidebug.h77 #define ASSERT_LOCKED(l) if(!(l)->Lock) DBGASSERT(l not locked)
/netbsd-6-1-5-RELEASE/usr.sbin/pppd/pppd/
H A Dtdb.h45 int *locked; /* set if we have a chain locked */ member in struct:__anon10047
H A Dtdb.c134 if (tdb->locked[list+1] == 0) {
140 tdb->locked[list+1]++;
154 if (tdb->locked[list+1] == 0) {
156 printf("not locked %d\n", list);
161 if (tdb->locked[list+1] == 1) {
167 tdb->locked[list+1]--;
1188 tdb.locked = (int *)calloc(tdb.header.hash_size+1,
1189 sizeof(tdb.locked[0]));
1190 if (!tdb.locked) {
1230 if (tdb->locked) fre
[all...]
/netbsd-6-1-5-RELEASE/sys/uvm/
H A Duvm_anon.c100 * => amap must be locked; we may drop and re-acquire the lock here.
131 * If the page is owned by a UVM object (now locked),
147 * and it is already locked.
212 * => anon must be locked, we will unlock it.
244 * uvm_anon_lockloanpg: given a locked anon, lock its resident page owner.
246 * => anon is locked by caller
247 * => on return: anon is locked
249 * if it has a uobject, it is locked by us
264 bool locked = false; local
289 locked
[all...]
H A Duvm_fault.c264 * => Map, amap and thus anon should be locked by caller.
266 * => If we are successful, return with everything still locked.
271 * by the anon): if successful, return with the owning object locked.
300 bool we_own, locked; local
324 * we have it on loan], then that uobject is locked
406 locked = uvmfault_relock(ufi);
407 if (locked || we_own) {
419 * case (i.e. drop anon lock if not locked).
455 if (locked) {
471 if (locked) {
1881 bool locked; local
[all...]
H A Duvm_loan.c77 * must be locked. to modify pg->loan_count, both the owner of the page
78 * and the PQs must be locked. pg->flags is (as always) locked by
84 * from dying the page queues should be locked. this forces us to sometimes
119 * on entry the map is locked by the caller)
166 /* locked: map, amap, uobj */
177 /* locked: if (rv > 0) => map, amap, uobj [o.w. unlocked] */
206 * unlock what we locked, unlock the maps and return
282 * map now locked. now do the loanout...
331 * => called with map, amap, uobj locked
620 bool locked; local
[all...]
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/x68k/
H A Dmsg.md.en44 {If the floppy is not locked, you may now remove the disk.
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/pic/
H A Dintr.c445 bool locked = false; local
452 if (!locked) {
454 locked = true;
456 } else if (locked) {
458 locked = false;
462 if (locked) {
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/engine/
H A Deng_int.h138 int engine_free_util(ENGINE *e, int locked);
H A Deng_lib.c105 int engine_free_util(ENGINE *e, int locked) argument
115 if(locked)
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/machine/
H A Dm_sunos4.c246 "K available, ", "K in use, ", "K free, ", "K locked", NULL
537 register int locked; local
541 inuse = free = locked = 0;
547 locked++;
556 memory_stats[3] = pagetok(locked);
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/cache/
H A Dlvmcache.c119 int locked,
128 if (!vgname_is_locked(VG_GLOBAL) && (was_locked != locked)) {
133 if (locked)
140 int locked)
146 _update_cache_info_lock_state(info, locked,
153 static void _update_cache_lock_state(const char *vgname, int locked) argument
160 _update_cache_vginfo_lock_state(vginfo, locked);
118 _update_cache_info_lock_state(struct lvmcache_info *info, int locked, int *cached_vgmetadata_valid) argument
139 _update_cache_vginfo_lock_state(struct lvmcache_vginfo *vginfo, int locked) argument
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dspa_config.c335 boolean_t locked = B_FALSE; local
340 locked = B_TRUE;
453 if (locked)
/netbsd-6-1-5-RELEASE/dist/nvi/common/
H A Drecover.c59 * file exists, and is exclusively locked.
61 * In the EXF structure we maintain a file descriptor that is the locked
532 /* If it's locked, it's live. */
594 int fd, found, locked = 0, requested, sv_fd; local
641 locked = 0;
644 locked = 1;
647 /* If it's locked, it's live. */
759 if (!locked)
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/frv/
H A Dcache.h150 char locked; /* line is locked? */ member in struct:__anon1493

Completed in 406 milliseconds

123