Home
last modified time | relevance | path

Searched refs:_c (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/uts/common/sys/
H A Dcondvar_impl.h76 #define CVW_INIT(_c) { \ argument
79 (_c)->cvw_refcnt = 0; \
85 cv_wait(&((_c)->cvw_waiter), &(_c)->cvw_lock); \
86 (_c)->cvw_refcnt++; \
93 cv_wait(&((_c)->cvw_waiter), &(_c)->cvw_lock); \
94 (_c)->cvw_refcnt = -1; \
98 #define CVW_EXIT_READ(_c) { \ argument
106 #define CVW_EXIT_WRITE(_c) { \ argument
109 (_c)->cvw_refcnt = 0; \
117 (_c)->cvw_refcnt = 1; \
[all …]
H A Dctype.h39 ((_c) >= '0' && (_c) <= '9')
42 (ISDIGIT(_c) || \
43 ((_c) >= 'a' && (_c) <= 'f') || \
44 ((_c) >= 'A' && (_c) <= 'F'))
47 ((_c) >= 'a' && (_c) <= 'z')
50 ((_c) >= 'A' && (_c) <= 'Z')
53 (ISUPPER(_c) || \
54 ISLOWER(_c))
58 ISDIGIT(_c))
61 ((_c) >= ' ' && (_c) <= '~')
[all …]
H A Dsysmacros.h345 #define DECL_BITFIELD3(_a, _b, _c) \ argument
346 uint8_t _a, _b, _c
348 uint8_t _a, _b, _c, _d
350 uint8_t _a, _b, _c, _d, _e
352 uint8_t _a, _b, _c, _d, _e, _f
354 uint8_t _a, _b, _c, _d, _e, _f, _g
361 uint8_t _c, _b, _a
363 uint8_t _d, _c, _b, _a
365 uint8_t _e, _d, _c, _b, _a
367 uint8_t _f, _e, _d, _c, _b, _a
[all …]
H A Dnet80211.h198 #define IEEE80211_IS_CHAN_2GHZ(_c) \ argument
199 (((_c)->ich_flags & IEEE80211_CHAN_2GHZ) != 0)
200 #define IEEE80211_IS_CHAN_5GHZ(_c) \ argument
201 (((_c)->ich_flags & IEEE80211_CHAN_5GHZ) != 0)
/illumos-gate/usr/src/boot/include/
H A D_ctype.h100 return ((_c < 0 || _c >= _CACHED_RUNES) ? ___runetype(_c) : in __maskrune()
107 return (_c < 0 || _c >= __mb_sb_limit) ? 0 : in __sbmaskrune()
126 return (_c < 0 || _c >= 128) ? 0 : in __isctype()
131 __toupper(__ct_rune_t _c) in __toupper() argument
133 return (_c < 0 || _c >= _CACHED_RUNES) ? ___toupper(_c) : in __toupper()
140 return (_c < 0 || _c >= __mb_sb_limit) ? _c : in __sbtoupper()
145 __tolower(__ct_rune_t _c) in __tolower() argument
147 return (_c < 0 || _c >= _CACHED_RUNES) ? ___tolower(_c) : in __tolower()
154 return (_c < 0 || _c >= __mb_sb_limit) ? _c : in __sbtolower()
159 __wcwidth(__ct_rune_t _c) in __wcwidth() argument
[all …]
H A Dstdio.h463 static __inline int __sputc(int _c, FILE *_p) { in __sputc() argument
464 if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) in __sputc()
465 return (*_p->_p++ = _c); in __sputc()
467 return (__swbuf(_c, _p)); in __sputc()
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_impl.h148 #define IEEE80211_IS_CHAN_A(_c) \ argument
150 #define IEEE80211_IS_CHAN_B(_c) \ argument
154 #define IEEE80211_IS_CHAN_G(_c) \ argument
157 (IEEE80211_IS_CHAN_PUREG(_c) || IEEE80211_IS_CHAN_G(_c))
158 #define IEEE80211_IS_CHAN_T(_c) \ argument
163 #define IEEE80211_IS_CHAN_ST(_c) \ argument
168 #define IEEE80211_IS_CHAN_CCK(_c) \ argument
178 (((_c)->ich_flags & \
189 #define IEEE80211_IS_CHAN_HT(_c) \ argument
200 (IEEE80211_IS_CHAN_5GHZ(_c) && \
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/
H A Ddebug.h121 #define DbgBreak(_c) debug_break(_c) argument
203 #define DbgBreakIf(_c) \ argument
204 if (_c) \
220 #define DbgBreak(_c) argument
222 #define DbgMessage(_c, _m, _s) argument
223 #define DbgMessage1(_c, _m, _s, _d1) argument
224 #define DbgMessage2(_c, _m, _s, _d1, _d2) argument
230 #define DbgMessageX(_c, _m, _s) argument
231 #define DbgMessageX1(_c, _m, _s, _d1) argument
232 #define DbgMessageX2(_c, _m, _s, _d1, _d2) argument
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_debug.h71 #define DbgMessageXX(_c, _m, _s, ...) \ argument
72 DbgMessageFunc(_c, _m, "!%s <0x%08x> %s(%d): " _s, \
73 BnxeDevName((void *)_c), \
99 #define DbgBreakIfFastPath(_c) DbgBreakIf(_c) argument
101 #define dbg_out(_c, _m, _s, _d1) DbgMessageXX(_c, _m, _s, _d1) argument
110 #define BnxeDbgBreak(_c) cmn_err(CE_PANIC, "%s: %s(%d): DbgBreak!", \ argument
111 BnxeDevName(_c), \
115 #define BnxeDbgBreakMsg(_c, _s) cmn_err(CE_PANIC, "%s: %s(%d): " _s, \ argument
129 #define BnxeDbgBreakFastPath(_c) BnxeDbgBreak(_c) argument
130 #define BnxeDbgBreakMsgFastPath(_c, _s) BnxeDbgBreakMsg(_c, _s) argument
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_hash.c69 _a -= _c; \
71 _c += _b; \
74 _a += _c; \
75 _c -= _b; \
78 _a -= _c; \
80 _c += _b; \
83 _a += _c; \
84 _c -= _b; \
93 _c ^= _b; \
95 _a ^= _c; \
[all …]
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl_var.h129 #define IEEE80211_IS_CHAN_FHSS(_c) \ argument
131 #define IEEE80211_IS_CHAN_A(_c) \ argument
133 #define IEEE80211_IS_CHAN_B(_c) \ argument
137 #define IEEE80211_IS_CHAN_G(_c) \ argument
139 #define IEEE80211_IS_CHAN_ANYG(_c) \ argument
140 (IEEE80211_IS_CHAN_PUREG(_c) || IEEE80211_IS_CHAN_G(_c))
141 #define IEEE80211_IS_CHAN_ST(_c) \ argument
148 #define IEEE80211_IS_CHAN_HTA(_c) \ argument
149 (IEEE80211_IS_CHAN_5GHZ_F(_c) && \
152 #define IEEE80211_IS_CHAN_HTG(_c) \ argument
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Ddebug.h309 #define DbgBreakIfAll(_c) \ argument
311 if (_c) \
706 #define DbgBreakIf(_c) \ argument
707 if(_c) \
713 #define DbgBreakIf(_c) \ argument
714 if(unlikely(_c)) \
734 #define DbgMessage(_c, _m, _s, ...) argument
803 #define DbgBreakIf(_c) \ argument
804 if(_c) \
825 #define dbg_out(_c, _m, _s, _d1) debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1) argument
[all …]
/illumos-gate/usr/src/uts/common/io/uath/
H A Duath_var.h57 #define UATH_IS_CHAN_A(_c) \ argument
58 (((_c)->ich_flags & UATH_CHAN_A) == UATH_CHAN_A)
59 #define UATH_IS_CHAN_B(_c) \ argument
61 #define UATH_IS_CHAN_PUREG(_c) \ argument
63 #define UATH_IS_CHAN_G(_c) \ argument
65 #define UATH_IS_CHAN_ANYG(_c) \ argument
66 (UATH_IS_CHAN_PUREG(_c) || UATH_IS_CHAN_G(_c))
68 #define UATH_IS_CHAN_OFDM(_c) \ argument
69 ((_c)->ich_flags & IEEE80211_CHAN_OFDM)
70 #define UATH_IS_CHAN_CCK(_c) \ argument
[all …]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_ath9k.h496 #define IS_CHAN_A(_c) ((((_c)->channelFlags & CHANNEL_A) == CHANNEL_A) || \ argument
504 #define IS_CHAN_OFDM(_c) (((_c)->channelFlags & CHANNEL_OFDM) != 0) argument
505 #define IS_CHAN_5GHZ(_c) (((_c)->channelFlags & CHANNEL_5GHZ) != 0) argument
506 #define IS_CHAN_2GHZ(_c) (((_c)->channelFlags & CHANNEL_2GHZ) != 0) argument
507 #define IS_CHAN_PASSIVE(_c) (((_c)->channelFlags & CHANNEL_PASSIVE) != 0) argument
508 #define IS_CHAN_HALF_RATE(_c) (((_c)->channelFlags & CHANNEL_HALF) != 0) argument
513 #define IS_CHAN_B(_c) ((_c)->chanmode == CHANNEL_B) argument
514 #define IS_CHAN_HT20(_c) (((_c)->chanmode == CHANNEL_A_HT20) || \ argument
516 #define IS_CHAN_HT40(_c) (((_c)->chanmode == CHANNEL_A_HT40PLUS) || \ argument
520 #define IS_CHAN_HT(_c) (IS_CHAN_HT20((_c)) || IS_CHAN_HT40((_c))) argument
[all …]
H A Darn_core.h166 #define IEEE80211_IS_CHAN_HTA(_c) \ argument
167 (IEEE80211_IS_CHAN_5GHZ(_c) && \
168 ((_c)->ich_flags & IEEE80211_CHAN_HT))
170 #define IEEE80211_IS_CHAN_HTG(_c) \ argument
171 (IEEE80211_IS_CHAN_2GHZ(_c) && \
172 ((_c)->ich_flags & IEEE80211_CHAN_HT))
/illumos-gate/usr/src/uts/intel/sys/amdzen/
H A Dccd.h185 #define SMUPWR_SOFT_DOWNCORE_GET_DISCORE_C(_r, _c) bitx32(_r, _c, _c) argument
187 #define SMUPWR_SOFT_DOWNCORE_SET_DISCORE_C(_r, _c) bitset32(_r, _c, _c, 1) argument
203 #define SMUPWR_CORE_EN_GET_C(_r, _c) bitx32(_r, _c, _c) argument
205 #define SMUPWR_CORE_EN_SET_C(_r, _c) bitset32(_r, _c, _c, 1) argument
/illumos-gate/usr/src/lib/libnisdb/
H A DMakefile83 DERIVED_HEADERS= $(X_FILES:%_c.x=%_c.h) $(X_FILES:%_c.x=%.h)
84 DERIVED_SOURCES= $(X_FILES:%_c.x=%_c_xdr.c)
222 %_c.h: %_c.x
226 %.h: %_c.x
230 %_c_xdr.c: %_c.x
/illumos-gate/usr/src/tools/smatch/src/
H A Dsort.c30 #define BEEN_THERE(_c) \ argument
32 if (!been_there[_c]) { \
33 been_there[_c] = 1; \
34 printf ("Been there: %c\n", _c); \
38 #define BEEN_THERE(_c) do { } while (0) argument
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h2235 #define SWAP32_BUFFER(_b, _c) emlxs_swap32_buffer(_b, _c) argument
2236 #define SWAP32_BCOPY(_s, _d, _c) emlxs_swap32_bcopy(_s, _d, _c) argument
2265 #define LE_SWAP32_BUFFER(_b, _c) SWAP32_BUFFER(_b, _c) argument
2266 #define LE_SWAP32_BCOPY(_s, _d, _c) SWAP32_BCOPY(_s, _d, _c) argument
2281 #define LE_SWAP32_BUFFER(_b, _c) argument
2282 #define LE_SWAP32_BCOPY(_s, _d, _c) bcopy(_s, _d, _c) argument
2292 #define BE_SWAP32_BUFFER(_b, _c) SWAP32_BUFFER(_b, _c) argument
2293 #define BE_SWAP32_BCOPY(_s, _d, _c) SWAP32_BCOPY(_s, _d, _c) argument
2298 #define BE_SWAP32_BUFFER(_b, _c) argument
2299 #define BE_SWAP32_BCOPY(_s, _d, _c) bcopy(_s, _d, _c) argument
/illumos-gate/usr/src/boot/include/xlocale/
H A D_ctype.h162 __wcwidth_l(__ct_rune_t _c, locale_t __l) in __wcwidth_l() argument
166 if (_c == 0) in __wcwidth_l()
168 _x = (unsigned int)__maskrune_l(_c, _CTYPE_SWM|_CTYPE_R, __l); in __wcwidth_l()
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dconfig.h64 extern __inline int __sputaux(int _c, struct __sFILE *_p);
/illumos-gate/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h345 #define ddi_log_sysevent(_a, _b, _c, _d, _e, _f, _g) \ argument
346 sysevent_post_event(_c, _d, _b, "libzpool", _e, _f)
/illumos-gate/usr/src/uts/common/io/
H A Dstrplumb.c83 #define DBG3(_f, _a, _b, _c) \ argument
85 printf("strplumb: " _f, (_a), (_b), (_c))
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_hal.h1287 #define ATH_HAL_GETCHANNOISE(_ah, _c) (-96) argument
1291 #define ATH_HAL_GETCHANNOISE(_ah, _c) \ argument
1292 ((*(_ah)->ah_getChanNoise)((_ah), (_c)))
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200.c260 #define IEEE80211_IS_CHAN_2GHZ(_c) \ argument
261 (((_c)->ich_flags & IEEE80211_CHAN_2GHZ) != 0)
262 #define IEEE80211_IS_CHAN_5GHZ(_c) \ argument
263 (((_c)->ich_flags & IEEE80211_CHAN_5GHZ) != 0)

12