Searched refs:mylock (Results 1 - 10 of 10) sorted by last modified time

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_locking2.c9 int mylock = 1; local
13 if (!_spin_trylock(mylock)) {
17 _spin_unlock(mylock);
21 _spin_unlock(mylock);
33 sm_locking2.c:21 func() error: double unlocked 'mylock' (orig line 17)
H A Dsm_locking3.c7 int mylock = 1; local
9 if (!({frob(); frob(); _spin_trylock(mylock);}))
13 _spin_unlock(mylock);
15 if (((_spin_trylock(mylock)?1:0)?1:0))
18 _spin_unlock(mylock);
27 sm_locking3.c:18 func() error: double unlocked 'mylock' (orig line 15)
28 sm_locking3.c:20 func() warn: inconsistent returns 'mylock'.
H A Dsm_locking4.c9 int mylock = 1; local
13 _spin_unlock(mylock);
18 _spin_lock(mylock);
20 _spin_unlock(mylock);
24 _spin_lock(mylock);
31 sm_locking4.c:23 func() warn: inconsistent returns 'mylock'.
H A Dsm_implied4.c10 int mylock = 1; local
14 _spin_lock(mylock);
18 _spin_unlock(mylock);
20 _spin_lock(mylock);
24 _spin_unlock(mylock);
33 sm_implied4.c:22 func() warn: 'spin_lock:mylock' is sometimes locked here and sometimes unlocked.
H A Dsm_locking.c8 int mylock = 1; local
16 _spin_lock(mylock);
17 _spin_unlock(mylock);
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_cursor.c795 &dbc->mylock)) != 0)
1059 (void)__lock_downgrade(dbp->dbenv->lk_info, dbc->mylock,
1677 &dbc->mylock)) != 0)
1867 (void)__lock_downgrade(dbp->dbenv->lk_info, dbc->mylock,
H A Dbt_recno.c272 &dbc->mylock)) != 0)
343 (void)__lock_downgrade(dbp->dbenv->lk_info, dbc->mylock,
720 &dbc->mylock)) != 0)
775 (void)__lock_downgrade(dbp->dbenv->lk_info, dbc->mylock,
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_am.c155 &dbc->lock_dbt, mode, &dbc->mylock)) != 0) {
205 if (F_ISSET(dbc->dbp, DB_AM_CDB) && dbc->mylock != LOCK_INVALID) {
206 ret = lock_put(dbc->dbp->dbenv->lk_info, dbc->mylock);
207 dbc->mylock = LOCK_INVALID;
/illumos-gate/usr/src/cmd/sendmail/db/
H A Ddb.h504 DB_LOCK mylock; /* Lock held on this cursor. */ member in struct:__dbc
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash.c385 &dbc->mylock)) != 0)
500 (void)__lock_downgrade(dbp->dbenv->lk_info, dbc->mylock,
701 &dbc->mylock)) != 0)
781 (void)__lock_downgrade(dbp->dbenv->lk_info, dbc->mylock,

Completed in 77 milliseconds