/illumos-gate/usr/src/lib/libast/common/stdio/ |
H A D | stdhdr.h | 61 static Funvec_t _v = { n }; \ 62 if ((_i = _stdfun(p, &_v)) < 0) \ 65 return ((_s_f)_v.vec[_i])a; \ 72 static Funvec_t _v = { n }; \ 73 if ((_i = _stdfun(p, &_v)) < 0) \ 76 return ((_s_f)_v.vec[_i])a; \ 83 static Funvec_t _v = { n }; \ 84 if ((_i = _stdfun(p, &_v)) < 0) \ 88 ((_s_f)_v.vec[_i])a; \
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | mm_vbd.h | 78 #define mm_atomic_set_imp(_p, _v) InterlockedExchange((long*)(_p), (long)(_v)) 83 #define mm_atomic_add_imp(_p, _v) \ 84 InterlockedExchangeAdd((long*)(_p), (long)(_v)) 85 #define mm_atomic_sub_imp(_p, _v) \ 86 InterlockedExchangeAdd((long*)(_p), -1*(long)(_v)) 88 #define mm_atomic_and_imp(_p, _v) InterlockedAnd((long*)(_p), (long)(_v)) 89 #define mm_atomic_long_and_imp(_p, _v) mm_atomic_and_imp((_p), (_v)) [all...] |
H A D | mm_ndismono.h | 66 #define mm_atomic_set_imp(_p, _v) InterlockedExchange((long*)(_p), (long)(_v)) 71 #define mm_atomic_and_imp(_p, _v) InterlockedAnd((long*)(_p), (long)(_v)) 72 #define mm_atomic_long_and_imp(_p, _v) mm_atomic_and_imp((_p), (_v)) 74 #define mm_atomic_or_imp(_p, _v) InterlockedOr((long*)(_p), (long)(_v) ) 75 #define mm_atomic_long_or_imp(_p, _v) mm_atomic_or_imp((_p), (_v)) [all...] |
H A D | mm_solaris.h | 54 #define mm_atomic_set_imp(_p, _v) \ 55 atomic_swap_32((volatile uint32_t *)(_p), (uint32_t)(_v)) 60 #define mm_atomic_and_imp(_p, _v) \ 61 atomic_and_32((volatile uint32_t *)(_p), (uint32_t)(_v)) 62 #define mm_atomic_long_and_imp(_p, _v) \ 63 atomic_and_ulong((volatile ulong_t *)(_p), (ulong_t)(_v)) 65 #define mm_atomic_or_imp(_p, _v) \ 66 atomic_or_32((volatile uint32_t *)(_p), (uint32_t)(_v)) 67 #define mm_atomic_long_or_imp(_p, _v) \ 68 atomic_or_ulong((volatile ulong_t *)(_p), (ulong_t)(_v)) [all...] |
H A D | mm.h | 88 #define mm_atomic_set(/* u32_t* */_p, /* u32_t */_v) mm_atomic_set_imp(_p, _v) 93 #define mm_atomic_add(/* u32_t* */_p, /* u32_t */_v) mm_atomic_add_imp(_p, _v) 95 #define mm_atomic_sub(/* u32_t* */_p, /* u32_t */_v) mm_atomic_sub_imp(_p, _v) 97 #define mm_atomic_and(/* u32_t* */_p, /* u32_t */_v) mm_atomic_and_imp(_p, _v) 98 #define mm_atomic_long_and(/* unsigned long* */_p, /* unsigned long */_v) \ 99 mm_atomic_long_and_imp(_p, _v) [all...] |
H A D | mm_linux.h | 67 #define mm_atomic_set_imp(_p, _v) ediag_atomic_set((s32_t *)_p, (s32_t)_v)
|
/illumos-gate/usr/src/lib/scsi/libses/common/ |
H A D | libses_plugin.h | 126 #define SES_NV_CTL64(_l, _n, _v) \ 130 (_v) = v; \ 133 #define SES_NV_CTL16(_l, _n, _v) \ 137 SCSI_WRITE16(&(_v), v); \
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | io.h | 138 unsigned x __in##s(unsigned short port) { unsigned x _v; 144 __IN1(s,x) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \ 145 __IN1(s##c,x) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); return _v; } \ 146 __IN1(s##_p,x) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \ 147 __IN1(s##c_p,x) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); SLOW_DOWN_IO; return _v; }
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_handler.c | 63 ndmpd_##cmd##_v##ver, \ 87 ndmpd_##cmd##_v##ver, \ 99 ndmpd_##cmd##_v##ver, \
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_ath9k.h | 618 #define SM(_v, _f) (((_v) << _f##_S) & _f) 619 #define MS(_v, _f) (((_v) & _f) >> _f##_S) 622 #define REG_RMW_FIELD(_a, _r, _f, _v) \ 624 (REG_READ(_a, _r) & ~_f) | (((_v) << _f##_S) & _f))
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/ |
H A D | lm_defs.h | 75 #define ALIGN_VALUE_TO_WORD_BOUNDARY(_v) \ 76 (((_v) + (sizeof(void *) - 1)) & ~(sizeof(void *) - 1))
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_ht.c | 41 #define MS(_v, _f) (((_v) & _f) >> _f##_S) 42 #define SM(_v, _f) (((_v) << _f##_S) & _f)
|
H A D | net80211_output.c | 324 #define SM(_v, _f) (((_v) << _f##_S) & _f)
|
H A D | net80211_input.c | 786 #define MS(_v, _f) (((_v) & _f) >> _f##_S)
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_hal.h | 1272 #define ATH_HAL_SETTKIPSPLIT(_ah, _v) \ 1273 (ATH_HAL_SETCAPABILITY(_ah, HAL_CAP_TKIP_SPLIT, 1, _v, NULL))
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 291 #define APIX_WRITE_MSI_DATA(_hdl, _cap, _ctrl, _v)\ 294 pci_config_put16((_hdl), (_cap) + PCI_MSI_64BIT_DATA, (_v));\ 296 pci_config_put16((_hdl), (_cap) + PCI_MSI_32BIT_DATA, (_v));\
|
/illumos-gate/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 335 #define vmem_qcache_reap(_v) /* nothing */
|
/illumos-gate/usr/src/uts/common/inet/nca/ |
H A D | nca.h | 1755 #define NCA_COUNTER(_p, _v) { \ 1757 long v = _v; \
|
/illumos-gate/usr/src/uts/common/io/bpf/ |
H A D | bpf.c | 100 #define mtod(_v, _t) (_t)((_v)->b_rptr)
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_vnops.c | 1098 vattr_t _v; local 1125 _v.va_mask = AT_GID; 1126 _v.va_gid = in_va->va_gid; 1127 if (!(e.error = nfs4args_verify(&argop[8], &_v, OP_NVERIFY, 1138 nfs4args_setattr(&argop[9], &_v, NULL, 0, NULL, cr, 6970 vattr_t _v; local 6989 _v.va_mask = AT_GID; 6990 _v.va_gid = va->va_gid; 6991 if (e.error = nfs4args_verify(&argop[8], &_v, OP_NVERIFY, 7008 nfs4args_setattr(&argop[9], &_v, NUL [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_regs_mcdi.h | 72 #define MC_FW_VERSION_IS_BOOTLOADER(_v) (((_v) >> 16) == 0xb007)
|