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
77 mutex_init(&(_c)->cvw_lock, NULL, MUTEX_DRIVER, NULL); \
78 cv_init(&(_c)->cvw_waiter, NULL, CV_DRIVER, NULL); \
79 (_c)->cvw_refcnt = 0; \
82 #define CVW_ENTER_READ(_c) { \ argument
83 mutex_enter(&(_c)->cvw_lock); \
84 while ((_c)->cvw_refcnt < 0) \
85 cv_wait(&((_c)->cvw_waiter), &(_c)->cvw_lock); \
86 (_c)->cvw_refcnt++; \
87 mutex_exit(&(_c)->cvw_lock); \
[all …]
H A Dctype.h38 #define ISDIGIT(_c) \ argument
39 ((_c) >= '0' && (_c) <= '9')
41 #define ISXDIGIT(_c) \ argument
42 (ISDIGIT(_c) || \
43 ((_c) >= 'a' && (_c) <= 'f') || \
44 ((_c) >= 'A' && (_c) <= 'F'))
46 #define ISLOWER(_c) \ argument
47 ((_c) >= 'a' && (_c) <= 'z')
49 #define ISUPPER(_c) \ argument
50 ((_c) >= 'A' && (_c) <= 'Z')
[all …]
H A Dsysmacros.h345 #define DECL_BITFIELD3(_a, _b, _c) \ argument
346 uint8_t _a, _b, _c
347 #define DECL_BITFIELD4(_a, _b, _c, _d) \ argument
348 uint8_t _a, _b, _c, _d
349 #define DECL_BITFIELD5(_a, _b, _c, _d, _e) \ argument
350 uint8_t _a, _b, _c, _d, _e
351 #define DECL_BITFIELD6(_a, _b, _c, _d, _e, _f) \ argument
352 uint8_t _a, _b, _c, _d, _e, _f
353 #define DECL_BITFIELD7(_a, _b, _c, _d, _e, _f, _g) \ argument
354 uint8_t _a, _b, _c, _d, _e, _f, _g
[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.h98 __maskrune(__ct_rune_t _c, unsigned long _f) in __maskrune() argument
100 return ((_c < 0 || _c >= _CACHED_RUNES) ? ___runetype(_c) : in __maskrune()
101 _CurrentRuneLocale->__runetype[_c]) & _f; in __maskrune()
105 __sbmaskrune(__ct_rune_t _c, unsigned long _f) in __sbmaskrune() argument
107 return (_c < 0 || _c >= __mb_sb_limit) ? 0 : in __sbmaskrune()
108 _CurrentRuneLocale->__runetype[_c] & _f; in __sbmaskrune()
112 __istype(__ct_rune_t _c, unsigned long _f) in __istype() argument
114 return (!!__maskrune(_c, _f)); in __istype()
118 __sbistype(__ct_rune_t _c, unsigned long _f) in __sbistype() argument
120 return (!!__sbmaskrune(_c, _f)); in __sbistype()
[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.h146 #define IEEE80211_IS_CHAN_FHSS(_c) \ argument
147 (((_c)->ich_flags & IEEE80211_CHAN_FHSS) == IEEE80211_CHAN_FHSS)
148 #define IEEE80211_IS_CHAN_A(_c) \ argument
149 (((_c)->ich_flags & IEEE80211_CHAN_A) == IEEE80211_CHAN_A)
150 #define IEEE80211_IS_CHAN_B(_c) \ argument
151 (((_c)->ich_flags & IEEE80211_CHAN_B) == IEEE80211_CHAN_B)
152 #define IEEE80211_IS_CHAN_PUREG(_c) \ argument
153 (((_c)->ich_flags & IEEE80211_CHAN_PUREG) == IEEE80211_CHAN_PUREG)
154 #define IEEE80211_IS_CHAN_G(_c) \ argument
155 (((_c)->ich_flags & IEEE80211_CHAN_G) == IEEE80211_CHAN_G)
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/
H A Ddebug.h121 #define DbgBreak(_c) debug_break(_c) argument
131 #define DbgMessage(_c, _m, _s) \ argument
134 debug_msg(_c, _m, __FILE__, __LINE__, _s); \
136 #define DbgMessage1(_c, _m, _s, _d1) \ argument
139 debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1); \
141 #define DbgMessage2(_c, _m, _s, _d1, _d2) \ argument
144 debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1, _d2); \
146 #define DbgMessage3(_c, _m, _s, _d1, _d2, _d3) \ argument
149 debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1, _d2, _d3); \
151 #define DbgMessage4(_c, _m, _s, _d1, _d2, _d3, _d4) \ 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
116 BnxeDevName(_c), \
120 #define BnxeDbgBreakIf(_c, _cond) \ argument
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_hash.c67 #define EFX_HASH_MIX(_a, _b, _c) \ argument
69 _a -= _c; \
70 _a ^= EFX_HASH_ROTATE(_c, 4); \
71 _c += _b; \
74 _a += _c; \
75 _c -= _b; \
76 _c ^= EFX_HASH_ROTATE(_b, 8); \
78 _a -= _c; \
79 _a ^= EFX_HASH_ROTATE(_c, 16); \
80 _c += _b; \
[all …]
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl_var.h124 #define IEEE80211_IS_CHAN_2GHZ_F(_c) \ argument
125 (((_c)->ic_flags & IEEE80211_CHAN_2GHZ) != 0)
126 #define IEEE80211_IS_CHAN_5GHZ_F(_c) \ argument
127 (((_c)->ic_flags & IEEE80211_CHAN_5GHZ) != 0)
129 #define IEEE80211_IS_CHAN_FHSS(_c) \ argument
130 (((_c)->ic_flags & IEEE80211_CHAN_FHSS) == IEEE80211_CHAN_FHSS)
131 #define IEEE80211_IS_CHAN_A(_c) \ argument
132 (((_c)->ic_flags & IEEE80211_CHAN_A) == IEEE80211_CHAN_A)
133 #define IEEE80211_IS_CHAN_B(_c) \ argument
134 (((_c)->ic_flags & IEEE80211_CHAN_B) == IEEE80211_CHAN_B)
[all …]
/illumos-gate/usr/src/uts/intel/sys/amdzen/
H A Dccd.h191 #define SMUPWR_SOFT_DOWNCORE_GET_DISCORE_C(_r, _c) bitx32(_r, _c, _c) argument
193 #define SMUPWR_SOFT_DOWNCORE_SET_DISCORE_C(_r, _c) bitset32(_r, _c, _c, 1) argument
209 #define SMUPWR_CORE_EN_GET_C(_r, _c) bitx32(_r, _c, _c) argument
211 #define SMUPWR_CORE_EN_SET_C(_r, _c) bitset32(_r, _c, _c, 1) argument
300 #define L3SOC_SOFT_DOWNCORE_GET_DISCORE_C(_r, _c) bitx32(_r, _c, _c) argument
302 #define L3SOC_SOFT_DOWNCORE_SET_DISCORE_C(_r, _c) bitset32(_r, _c, _c, 1) argument
315 #define L3SOC_CORE_EN_GET_C(_r, _c) bitx32(_r, _c, _c) argument
317 #define L3SOC_CORE_EN_SET_C(_r, _c) bitset32(_r, _c, _c, 1) argument
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Ddebug.h309 #define DbgBreakIfAll(_c) \ argument
311 if (_c) \
319 #define DbgBreakIfAll(_c) \ argument
321 if (_c) \
323 cmn_err(CE_PANIC, "<%d> %s(%4d): Condition Failed! - if ("#_c")", \
478 …efine dbg_out(_c, _m, _s, _d1) debug_msgx((WARN), "TrLv<%d>, %s (%4d): %p"##_s" %s\n", ((WARN) & L… argument
526 #define DbgMessage(_c, _m, _s, ...) \ argument
528 MessageHdr((_c), (_m)); \
566 …efine dbg_out(_c, _m, _s, _d1) debug_msgx((WARN), "TrLv<%d>, %s (%4d): %p"##_s" %s\n", ((WARN) & L… argument
589 #define DbgMessage(_c, _m, _s, ...) \ 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
60 (((_c)->ich_flags & UATH_CHAN_B) == UATH_CHAN_B)
61 #define UATH_IS_CHAN_PUREG(_c) \ argument
62 (((_c)->ich_flags & UATH_CHAN_PUREG) == UATH_CHAN_PUREG)
63 #define UATH_IS_CHAN_G(_c) \ argument
64 (((_c)->ich_flags & UATH_CHAN_G) == UATH_CHAN_G)
65 #define UATH_IS_CHAN_ANYG(_c) \ argument
66 (UATH_IS_CHAN_PUREG(_c) || UATH_IS_CHAN_G(_c))
[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
497 (((_c)->channelFlags & CHANNEL_A_HT20) == CHANNEL_A_HT20) || \
498 (((_c)->channelFlags & CHANNEL_A_HT40PLUS) == CHANNEL_A_HT40PLUS) || \
499 (((_c)->channelFlags & CHANNEL_A_HT40MINUS) == CHANNEL_A_HT40MINUS))
500 #define IS_CHAN_G(_c) ((((_c)->channelFlags & (CHANNEL_G)) == CHANNEL_G) || \ argument
501 (((_c)->channelFlags & CHANNEL_G_HT20) == CHANNEL_G_HT20) || \
502 (((_c)->channelFlags & CHANNEL_G_HT40PLUS) == CHANNEL_G_HT40PLUS) || \
503 (((_c)->channelFlags & CHANNEL_G_HT40MINUS) == CHANNEL_G_HT40MINUS))
504 #define IS_CHAN_OFDM(_c) (((_c)->channelFlags & CHANNEL_OFDM) != 0) argument
505 #define IS_CHAN_5GHZ(_c) (((_c)->channelFlags & CHANNEL_5GHZ) != 0) 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/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.h346 #define ddi_log_sysevent(_a, _b, _c, _d, _e, _f, _g) \ argument
347 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