| /xnu-12377.61.12/bsd/skywalk/ |
| H A D | os_skywalk_private.h | 240 #define _SK_LOG(_type, _flag, _fmt, ...) do { \ argument 246 "SK[%u]: %-30s " _fmt "\n", cpu_number(), __FUNCTION__, \ 252 #define SK_ERR(_fmt, ...) _SK_LOG(OS_LOG_TYPE_ERROR, SK_VERB_ERROR, _fmt, ##__VA_ARGS__) argument 255 #define SK_PERR(_p, _fmt, ...) do { \ argument 256 SK_ERR("%s(%d): " _fmt, sk_proc_name(_p), sk_proc_pid(_p), ##__VA_ARGS__); \ 260 #define SK_D(_fmt, ...) _SK_LOG(OS_LOG_TYPE_DEFAULT, SK_VERB_DEFAULT, _fmt, ##__VA_ARGS__) argument 263 #define SK_DF(_flag, _fmt, ...) _SK_LOG(OS_LOG_TYPE_DEFAULT, (uint64_t)_flag, _fmt, ##__VA_ARGS__) argument 266 #define SK_PDF(_flag, _p, _fmt, ...) do { \ argument 267 SK_DF(_flag, "%s(%d): " _fmt, sk_proc_name(_p), sk_proc_pid(_p), ##__VA_ARGS__); \ 271 #define _SK_RD(_flag, _lps, _fmt, ...) do { \ argument [all …]
|
| H A D | os_stats_private.h | 947 type##_fmt(enum _##type value) \
|
| /xnu-12377.61.12/tests/skywalk/ |
| H A D | skywalk_test_common.h | 43 #define SKT_LOG(_fmt, ...) do { \ argument 45 T_LOG(_fmt, ##__VA_ARGS__); \ 57 #define SKD(_lvl, _fmt, ...) \ argument 60 SKT_LOG(_fmt, ##__VA_ARGS__); \ 64 #define SKD0(_fmt, ...) SKD(0, _fmt, ##__VA_ARGS__) argument 65 #define SKD1(_fmt, ...) SKD(1, _fmt, ##__VA_ARGS__) argument 66 #define SKD2(_fmt, ...) SKD(2, _fmt, ##__VA_ARGS__) argument 67 #define SKD3(_fmt, ...) SKD(3, _fmt, ##__VA_ARGS__) argument
|
| H A D | skt_utunloop.c | 76 #define VLOG(_fmt, ...) \ argument 83 fprintf(g_dumpfile, "% 10ld.%06d % 10ld.%06d %s: " _fmt "\n", \
|
| /xnu-12377.61.12/bsd/skywalk/lib/ |
| H A D | cuckoo_hashtable.c | 56 #define cht_log(level, _fmt, ...) \ argument 59 kprintf("Cuckoo: thread %p %-30s " _fmt "\n", \ 64 #define cht_log(_flag, _fmt, ...) do { ((void)0); } while (0) argument 67 #define cht_err(_fmt, ...) cht_log(CHTV_ERR, _fmt, ##__VA_ARGS__) argument 68 #define cht_warn(_fmt, ...) cht_log(CHTV_WARN, _fmt, ##__VA_ARGS__) argument 69 #define cht_info(_fmt, ...) cht_log(CHTV_INFO, _fmt, ##__VA_ARGS__) argument 70 #define cht_debug(_fmt, ...) cht_log(CHTV_DEBUG, _fmt, ##__VA_ARGS__) argument
|
| /xnu-12377.61.12/bsd/net/aop/ |
| H A D | aop_stats.h | 219 type##_fmt(enum _##type value) \
|
| /xnu-12377.61.12/bsd/net/pktsched/ |
| H A D | pktsched_netem.c | 114 #define NETEM_LOG(_level, _fmt, ...) \ argument 117 log(_level, "NETEM: %-30s "_fmt "\n", \
|
| /xnu-12377.61.12/bsd/skywalk/namespace/ |
| H A D | netns.c | 69 #define NS_PORT_ERR(_fmt, ...) do { \ argument 70 SK_ERR("%s(%d) port %u: " _fmt, sk_proc_name(current_proc()), \
|