Lines Matching defs:this

4  * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
15 * If applicable, add the following below this CDDL HEADER, with the
99 /* Read lock/unlock 'this', return 'retval' is unsuccessful, and save 'msg' */
100 #define READLOCK(this, retval, msg) \
101 LOCK(this->acqnonexcl, retval, msg)
102 #define READUNLOCK(this, retval, msg) \
103 LOCK(this->relnonexcl, retval, msg)
106 #define READLOCKV(this, msg) \
107 LOCKV(this->acqnonexcl, msg)
108 #define READUNLOCKV(this, msg) \
109 LOCKV(this->relnonexcl, msg)
112 #define READLOCKNR(this, rescode, msg) \
113 LOCKVAL(this->acqnonexcl, msg, rescode)
114 #define READUNLOCKNR(this, rescode, msg) \
115 LOCKVAL(this->relnonexcl, msg, rescode)
118 #define WRITELOCK(this, retval, msg) \
119 LOCK(this->acqexcl, retval, msg)
120 #define WRITEUNLOCK(this, retval, msg) \
121 LOCK(this->relexcl, retval, msg)
124 #define TRYWRITELOCK(this, rescode, msg) \
125 LOCKVAL(this->tryacqexcl, msg, rescode)
128 #define WRITELOCKV(this, msg) \
129 LOCKV(this->acqexcl, msg)
130 #define WRITEUNLOCKV(this, msg) \
131 LOCKV(this->relexcl, msg)
134 #define WRITELOCKNR(this, rescode, msg) \
135 LOCKVAL(this->acqexcl, msg, rescode)
136 #define WRITEUNLOCKNR(this, rescode, msg) \
137 LOCKVAL(this->relexcl, msg, rescode)
140 #define WRITELOCK2(this, retval, msg, that) \
141 if (this != 0) { \
143 WRITELOCKNR(this, lockcode2, msg); \
152 #define WRITEUNLOCK2(this, that, retval1, retval2, msg1, msg2) \
155 if (this != 0) { \
156 WRITEUNLOCKNR(this, lockcode1, msg1); \
169 #define READLOCK2(this, retval, msg, that) \
170 if (this != 0) { \
172 READLOCKNR(this, lockcode2, msg); \
181 #define READUNLOCK2(this, that, retval1, retval2, msg1, msg2) \
184 if (this != 0) { \
185 READUNLOCKNR(this, lockcode1, msg1); \