Home
last modified time | relevance | path

Searched refs:_m (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bnx/
H A Ddebug.h124 #define CODE_PATH(_m) ((_m) & DBG_MSG_CP) argument
125 #define MSG_LEVEL(_m) ((_m) & LV_MASK) argument
126 #define LOG_MSG(_m) (CODE_PATH(_m) && \ argument
127 MSG_LEVEL(_m) <= DBG_MSG_LV)
210 #define DbgBreakMsg(_m) debug_msg(NULL, FATAL, __FILE__, __LINE__, _m); \ 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
[all …]
/illumos-gate/usr/src/uts/common/io/bpf/net/
H A Dbpfdesc.h92 #define MBPF_CLOSE(_m, _h) (_m)->bpr_close(_h) argument
93 #define MBPF_NAME(_m, _h) (_m)->bpr_name(_h) argument
94 #define MBPF_TYPE(_m, _h) (_m)->bpr_type(_h) argument
95 #define MBPF_SDU_GET(_m, _h, _p) (_m)->bpr_sdu_get(_h, _p) argument
96 #define MBPF_TX(_m, _h, _pkt) (_m)->bpr_tx(_h, _pkt) argument
99 #define MBPF_PROMISC_REMOVE(_m, _h) (_m)->bpr_promisc_remove(_h) argument
102 #define MBPF_CLIENT_CLOSE(_m, _h) (_m)->bpr_client_close(_h) argument
103 #define MBPF_CLIENT_NAME(_m, _h) (_m)->bpr_client_name(_h) argument
106 #define MBPF_GET_ZONE(_m, _h, _zp) (_m)->bpr_getzone(_h, _zp) argument
107 #define MBPF_GET_DLT(_m, _h, _dp) (_m)->bpr_getdlt(_h, _dp); argument
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Ddebug.h410 #define CODE_PATH(_m) ((_m) & DBG_MSG_CP)
411 #define MSG_LEVEL(_m) ((_m) & LV_MASK)
412 #define LOG_MSG(_m) (CODE_PATH(_m) && \
416 #define CODE_PATH(_m) ((_m) & dbg_code_path) argument
417 #define MSG_LEVEL(_m) ((_m) & LV_MASK) argument
418 #define LOG_MSG(_m) (CODE_PATH(_m) && \ argument
691 debug_msgx(_m, ##_s); \
722 #define DbgBreakMsg(_m) do {DbgMessage(NULL, FATAL, _m); DbgBreak();} while (0) argument
813 #define DbgBreakMsg(_m) debug_msg(NULL, FATAL, __FILE__, __LINE__, _m); \ argument
825 #define dbg_out(_c, _m, _s, _d1) debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1) argument
[all …]
H A Dutils.h76 #define LAST_BYTE_OF(_s,_m) (OFFSETOF(_s,_m)+sizeof( ((_s *)0)->_m)) argument
/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, \
74 _m, \
101 #define dbg_out(_c, _m, _s, _d1) DbgMessageXX(_c, _m, _s, _d1) argument
/illumos-gate/usr/src/test/zfs-tests/tests/functional/checksum/edonr/
H A Dedonr_test.c154 #define EDONR_ALGO_TEST(_m, mode, testdigest) \ in main() argument
159 EdonRUpdate(&ctx, (const uint8_t *) _m, strlen(_m) * 8);\ in main()
161 (void) printf("Edon-R-%-6sMessage: " #_m \ in main()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/checksum/sha2/
H A Dsha2_test.c196 #define SHA2_ALGO_TEST(_m, mode, diglen, testdigest) \ in main() argument
201 SHA2Update(&ctx, _m, strlen(_m)); \ in main()
203 (void) printf("SHA%-9sMessage: " #_m \ in main()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/checksum/skein/
H A Dskein_test.c272 #define SKEIN_ALGO_TEST(_m, mode, diglen, testdigest) \ in main() argument
277 (void) Skein ## mode ## _Update(&ctx, _m, sizeof (_m)); \ in main()
280 "\tMessage: " #_m "\tResult: "); \ in main()
/illumos-gate/usr/src/test/util-tests/tests/demangle/
H A Drust.c46 #define T(_m, _d) { .mangled = _m, .demangled = _d } argument
47 #define T_ERR(_m) { .mangled = _m } argument
/illumos-gate/usr/src/boot/include/net/
H A Dethernet.h373 #define ETHER_BPF_MTAP(_ifp, _m) do { \ argument
375 M_ASSERTVALID(_m); \
376 if (((_m)->m_flags & M_VLANTAG) != 0) \
377 ether_vlan_mtap((_ifp)->if_bpf, (_m), NULL, 0); \
379 bpf_mtap((_ifp)->if_bpf, (_m)); \
/illumos-gate/usr/src/uts/common/io/bpf/
H A Dbpf_filter.c53 #define M_LEN(_m) ((_m)->b_wptr - (_m)->b_rptr) argument
H A Dbpf.c102 #define M_LEN(_m) ((_m)->b_wptr - (_m)->b_rptr) argument
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c129 #define MQ_ASSERT_PTR(_m, _p) \ argument
131 !((uintptr_t)_m + (uintptr_t)(_p) >= (uintptr_t)_m + \
132 _m->mq_totsize));
140 #define MQ_ASSERT_PTR(_m, _p) argument
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-thread.h780 k5_mutex_t *_m = (M); \
781 _err = k5_os_mutex_lock(&_m->os); \
782 if (_err == 0) _m->loc_last = K5_DEBUG_LOC; \
/illumos-gate/usr/src/uts/common/inet/
H A Dip.h3088 #define FW_HOOKS(_hook, _event, _ilp, _olp, _iph, _fm, _m, _llm, ipst, _err) \ argument
3100 info.hpe_mb = _m; \
3106 (_hook).he_name, (void *)_fm, (void *)_m)); \
3112 _m = NULL; \
3115 _m = info.hpe_mb; \
3119 #define FW_HOOKS6(_hook, _event, _ilp, _olp, _iph, _fm, _m, _llm, ipst, _err) \ argument
3131 info.hpe_mb = _m; \
3137 (_hook).he_name, (void *)_fm, (void *)_m)); \
3143 _m = NULL; \
3146 _m = info.hpe_mb; \
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_arp.c118 #define ARP_HOOK_IN(_hook, _event, _ilp, _hdr, _fm, _m, ipst) \ argument
128 info.hpe_mb = _m; \
136 _m = NULL; \
139 _m = info.hpe_mb; \
143 #define ARP_HOOK_OUT(_hook, _event, _olp, _hdr, _fm, _m, ipst) \ argument
153 info.hpe_mb = _m; \
161 _m = NULL; \
164 _m = info.hpe_mb; \
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_regs.h443 #define E1000_LSECRXKEY(_n, _m) (0x0B350 + (0x10 * (_n)) + (0x04 * (_m))) argument
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dlm5706.h219 #define OFFSETOF(_s, _m) ((u32_t) PTR_SUB(&((_s *) 0)->_m, (u8_t *) 0)) argument
221 #define WORD_ALIGNED_OFFSETOF(_s, _m) (OFFSETOF(_s, _m) & ~0x03) argument
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h2147 #define EMLXS_INTR_INIT(_hba, _m) emlxs_msi_init(_hba, _m) argument
2152 #define EMLXS_INTR_INIT(_hba, _m) emlxs_intx_init(_hba, _m) argument
/illumos-gate/usr/src/common/crypto/sha1/
H A Dsha1.c72 #define bzero(_m, _l) ((void) memset((_m), 0, (_l))) argument
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h464 #define OFFSETOF(_s, _m) ((u32_t) PTR_SUB(&((_s *) 0)->_m, (u8_t *) 0)) argument
466 #define WORD_ALIGNED_OFFSETOF(_s, _m) (OFFSETOF(_s, _m) & ~0x03) argument
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_type.h790 #define IXGBE_LSECRXKEY(_n, _m) (0x08F20 + ((0x10 * (_n)) + (4 * (_m)))) argument
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c83 #define OFFSETOF(_s, _m) ((u32) ((u8 *)(&((_s *) 0)->_m) - \ argument