Home
last modified time | relevance | path

Searched refs:mylock (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_locking3.c7 int mylock = 1; in func() local
9 if (!({frob(); frob(); _spin_trylock(mylock);})) in func()
13 _spin_unlock(mylock); in func()
15 if (((_spin_trylock(mylock)?1:0)?1:0)) in func()
18 _spin_unlock(mylock); in func()
H A Dsm_locking4.c9 int mylock = 1; in func() local
13 _spin_unlock(mylock); in func()
18 _spin_lock(mylock); in func()
20 _spin_unlock(mylock); in func()
24 _spin_lock(mylock); in func()
H A Dsm_implied4.c10 int mylock = 1; in func() local
14 _spin_lock(mylock); in func()
18 _spin_unlock(mylock); in func()
20 _spin_lock(mylock); in func()
24 _spin_unlock(mylock); in func()
H A Dsm_locking2.c9 int mylock = 1; in func() local
13 if (!_spin_trylock(mylock)) { in func()
17 _spin_unlock(mylock); in func()
21 _spin_unlock(mylock); in func()
H A Dsm_locking.c8 int mylock = 1; in func() local
16 _spin_lock(mylock); in func()
17 _spin_unlock(mylock); in func()
/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/btree/
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,
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,
/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,
/illumos-gate/usr/src/cmd/sendmail/db/
H A Ddb.h504 DB_LOCK mylock; /* Lock held on this cursor. */ member