/titanic_50/usr/src/uts/common/sys/ |
H A D | condvar_impl.h | 76 #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 D | ctype.h | 38 #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 D | sysmacros.h | 341 #define DECL_BITFIELD3(_a, _b, _c) \ argument 342 uint8_t _a, _b, _c 343 #define DECL_BITFIELD4(_a, _b, _c, _d) \ argument 344 uint8_t _a, _b, _c, _d 345 #define DECL_BITFIELD5(_a, _b, _c, _d, _e) \ argument 346 uint8_t _a, _b, _c, _d, _e 347 #define DECL_BITFIELD6(_a, _b, _c, _d, _e, _f) \ argument 348 uint8_t _a, _b, _c, _d, _e, _f 349 #define DECL_BITFIELD7(_a, _b, _c, _d, _e, _f, _g) \ argument 350 uint8_t _a, _b, _c, _d, _e, _f, _g [all …]
|
H A D | net80211.h | 193 #define IEEE80211_IS_CHAN_2GHZ(_c) \ argument 194 (((_c)->ich_flags & IEEE80211_CHAN_2GHZ) != 0) 195 #define IEEE80211_IS_CHAN_5GHZ(_c) \ argument 196 (((_c)->ich_flags & IEEE80211_CHAN_5GHZ) != 0)
|
H A D | tnf_writer.h | 47 #define TNF_ALIGN(type) TNF_OFFSETOF(struct { char _c; type _t; }, _t)
|
/titanic_50/usr/src/uts/common/io/net80211/ |
H A D | net80211_impl.h | 146 #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 …]
|
/titanic_50/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_debug.h | 71 #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 …]
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | _crypt.c | 143 #define C (_c->_C) 144 #define D (_c->_D) 145 #define KS (_c->_KS) 146 #define E (_c->_E) 147 #define L (_c->_L) 148 #define R (_c->_R) 149 #define tempL (_c->_tempL) 150 #define f (_c->_f) 151 #define preS (_c->_preS) 152 #define ablock (_c->_ablock) [all …]
|
/titanic_50/usr/src/uts/common/io/mwl/ |
H A D | mwl_var.h | 124 #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 …]
|
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | debug.h | 309 #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 …]
|
/titanic_50/usr/src/uts/common/io/uath/ |
H A D | uath_var.h | 57 #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 …]
|
/titanic_50/usr/src/uts/common/io/arn/ |
H A D | arn_ath9k.h | 496 #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 D | arn_core.h | 166 #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))
|
/titanic_50/usr/src/lib/libnisdb/ |
H A D | Makefile | 83 DERIVED_HEADERS= $(X_FILES:%_c.x=%_c.h) $(X_FILES:%_c.x=%.h) 84 DERIVED_SOURCES= $(X_FILES:%_c.x=%_c_xdr.c) 219 %_c.h: %_c.x 223 %.h: %_c.x 227 %_c_xdr.c: %_c.x
|
/titanic_50/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 326 #define kmem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i) \ argument 327 umem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i) 328 #define kmem_cache_destroy(_c) umem_cache_destroy(_c) argument 329 #define kmem_cache_alloc(_c, _f) umem_cache_alloc(_c, _f) argument 330 #define kmem_cache_free(_c, _b) umem_cache_free(_c, _b) argument 332 #define kmem_cache_reap_now(_c) /* nothing */ argument 333 #define kmem_cache_set_move(_c, _cb) /* nothing */ argument 630 #define ddi_log_sysevent(_a, _b, _c, _d, _e, _f, _g) \ argument 631 sysevent_post_event(_c, _d, _b, "libzpool", _e, _f)
|
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_fc.h | 2201 #define SWAP32_BUFFER(_b, _c) emlxs_swap32_buffer(_b, _c) argument 2202 #define SWAP32_BCOPY(_s, _d, _c) emlxs_swap32_bcopy(_s, _d, _c) argument 2231 #define LE_SWAP32_BUFFER(_b, _c) SWAP32_BUFFER(_b, _c) argument 2232 #define LE_SWAP32_BCOPY(_s, _d, _c) SWAP32_BCOPY(_s, _d, _c) argument 2247 #define LE_SWAP32_BUFFER(_b, _c) argument 2248 #define LE_SWAP32_BCOPY(_s, _d, _c) bcopy(_s, _d, _c) argument 2258 #define BE_SWAP32_BUFFER(_b, _c) SWAP32_BUFFER(_b, _c) argument 2259 #define BE_SWAP32_BCOPY(_s, _d, _c) SWAP32_BCOPY(_s, _d, _c) argument 2264 #define BE_SWAP32_BUFFER(_b, _c) argument 2265 #define BE_SWAP32_BCOPY(_s, _d, _c) bcopy(_s, _d, _c) argument
|
/titanic_50/usr/src/lib/libresolv2/include/ |
H A D | config.h | 64 extern __inline int __sputaux(int _c, struct __sFILE *_p);
|
/titanic_50/usr/src/uts/common/io/ |
H A D | strplumb.c | 83 #define DBG3(_f, _a, _b, _c) \ argument 85 printf("strplumb: " _f, (_a), (_b), (_c))
|
/titanic_50/usr/src/uts/common/io/ath/ |
H A D | ath_hal.h | 1287 #define ATH_HAL_GETCHANNOISE(_ah, _c) (-96) argument 1291 #define ATH_HAL_GETCHANNOISE(_ah, _c) \ argument 1292 ((*(_ah)->ah_getChanNoise)((_ah), (_c)))
|
/titanic_50/usr/src/uts/common/fs/sockfs/ |
H A D | nl7curi.c | 256 char _c; \ 259 if ((_c = *_s) == '%') { \ 260 H2A(_s, (ep), _c); \ 262 CHASH(hv, _c); \
|
/titanic_50/usr/src/cmd/sgs/rtld/common/ |
H A D | util.c | 2592 int _c, _n; in doprf() local 2647 _c = va_arg(args, int); in doprf() 2650 if ((c = ((_c >> _i) & 0x7f)) != 0) { in doprf() 2654 if ((c = ((_c >> _i) & 0x7f)) != 0) { in doprf()
|
/titanic_50/usr/src/uts/common/io/iwi/ |
H A D | ipw2200.c | 260 #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)
|
/titanic_50/usr/src/lib/libshell/common/edit/ |
H A D | vi.c | 81 static genchar _c; variable 85 # define isalph(v) ((_c=virtual[v])=='_'||isalnum(_c))
|
/titanic_50/usr/src/lib/libcurses/screen/ |
H A D | maketerm.ed | 313 1;/^#define columns/,/^#define width_status_line/s/CURN.*/CUR _c/
|
/titanic_50/usr/src/uts/common/io/urtw/ |
H A D | urtw.c | 2418 #define IEEE80211_IS_CHAN_G(_c) \ in urtw_8225_rf_set_chan() argument 2419 (((_c)->ich_flags & IEEE80211_CHAN_G) == IEEE80211_CHAN_G) in urtw_8225_rf_set_chan()
|