Lines Matching refs:msg

48 #define	FATAL(msg, fcode) \
50 syslog(LOG_ERR, "ERROR: %s", (msg)); \
52 __nisdb_get_tsd()->fatalmsg = msg; \
55 #define FATAL3(msg, fcode, retval) \
57 syslog(LOG_ERR, "ERROR: %s", (msg)); \
59 __nisdb_get_tsd()->fatalmsg = msg; \
64 #define LOCKVAL(lockcall, msg, lockcode) \
69 __nisdb_get_tsd()->fatalmsg = msg; \
74 #define LOCKVAL(lockcall, msg, lockcode) \
79 __nisdb_get_tsd()->fatalmsg = msg; \
84 #define LOCKV(lockcall, msg) \
87 LOCKVAL(lockcall, msg, lockcode); \
91 #define LOCK(lockcall, retval, msg) \
94 LOCKVAL(lockcall, msg, lockcode); \
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) \
143 WRITELOCKNR(this, lockcode2, msg); \
146 WRITEUNLOCKNR(that, lockcode1, msg); \
169 #define READLOCK2(this, retval, msg, that) \
172 READLOCKNR(this, lockcode2, msg); \
175 READUNLOCKNR(that, lockcode1, msg); \
197 #define ASSERTWRITELOCKHELD(lvar, retval, msg) \
202 __nisdb_get_tsd()->fatalmsg = msg; \