Home
last modified time | relevance | path

Searched refs:_fmt (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-debug.h90 #define IWL_CRIT(_subsys, _fmt, ...) \ argument
91 __iwl_crit((_subsys)->dev, _fmt, ##__VA_ARGS__)
92 #define IWL_INFO(_subsys, _fmt, ...) \ argument
93 __iwl_info((_subsys)->dev, _fmt, ##__VA_ARGS__)
94 #define IWL_WARN(_subsys, _fmt, ...) \ argument
95 __iwl_warn((_subsys)->dev, _fmt, ##__VA_ARGS__)
97 #define __IWL_ERR_DEV(_dev, _mode, _fmt, ...) \ argument
98 __iwl_err((_dev), IWL_ERR_MODE_REGULAR, _fmt, ##__VA_ARGS__)
99 #define IWL_ERR_DEV(_dev, _fmt, ...) \ argument
100 __IWL_ERR_DEV(_dev, IWL_ERR_MODE_REGULAR, _fmt, ##__VA_ARGS__)
[all …]
/freebsd/sys/dev/aq/
H A Daq_dbg.h115 #define log_base_(_lvl, _fmt, args...) printf( "atlantic: " _fmt "\n", ##args) argument
118 …ne trace_base_(_lvl, _cat, _fmt, args...) do { if (dbg_level_ >= _lvl && (_cat & dbg_categories_))… argument
120 #define trace_base_(_lvl, _cat, _fmt, ...) do {} while (0) argument
123 #define aq_log_error(_fmt, args...) log_base_(lvl_error, "[!] " _fmt, ##args) argument
124 #define aq_log_warn(_fmt, args...) log_base_(lvl_warn, "/!\\ " _fmt, ##args) argument
125 #define aq_log(_fmt, args...) log_base_(lvl_trace, _fmt, ##args) argument
126 #define aq_log_detail(_fmt, args...) log_base_(lvl_detail, _fmt, ##args) argument
128 #define trace_error(_cat,_fmt, args...) trace_base_(lvl_error, _cat, "[!] " _fmt, ##args) argument
129 #define trace_warn(_cat, _fmt, args...) trace_base_(lvl_warn, _cat, "/!\\ " _fmt, ##args) argument
130 #define trace(_cat, _fmt, args...) trace_base_(lvl_trace, _cat, _fmt, ##args) argument
[all …]
/freebsd/sys/net/route/
H A Droute_debug.h93 #define FIB_LOG(_l, _fib, _fam, _fmt, ...) \ argument
94 FIB_LOG_##_l(_l, _fib, _fam, _fmt, ## __VA_ARGS__)
95 #define _FIB_LOG(_l, _fib, _fam, _fmt, ...) \ argument
97 _output("[" DEBUG_PREFIX_NAME "] %s.%u %s: " _fmt "\n", \
102 #define FIB_NH_LOG(_l, _nh, _fmt, ...) \ argument
104 _fmt, ## __VA_ARGS__)
106 #define FIB_RH_LOG(_l, _rh, _fmt, ...) \ argument
107 FIB_LOG_##_l(_l, (_rh)->rib_fibnum, (_rh)->rib_family, _fmt, \
110 #define FIB_CTL_LOG(_l, _ctl, _fmt, ...) \ argument
112 (_ctl)->ctl_rh->rib_family, _fmt, ## __VA_ARGS__)
[all …]
H A Dfib_algo.c240 #define ALGO_PRINTF(_l, _fmt, ...) if (_PASS_MSG(_l)) { \ argument
241 printf("[fib_algo] %s: " _fmt "\n", __func__, ##__VA_ARGS__); \
243 #define _ALGO_PRINTF(_fib, _fam, _aname, _gen, _func, _fmt, ...) \ argument
244 printf("[fib_algo] %s.%u (%s#%u) %s: " _fmt "\n",\
246 #define _RH_PRINTF(_fib, _fam, _func, _fmt, ...) \ argument
247 printf("[fib_algo] %s.%u %s: " _fmt "\n", print_family(_fam), _fib, _func, ## __VA_ARGS__)
248 #define RH_PRINTF(_l, _rh, _fmt, ...) if (_PASS_MSG(_l)) { \ argument
249 _RH_PRINTF(_rh->rib_fibnum, _rh->rib_family, __func__, _fmt, ## __VA_ARGS__);\
251 #define FD_PRINTF(_l, _fd, _fmt, ...) FD_PRINTF_##_l(_l, _fd, _fmt, ## __VA_ARGS__) argument
252 #define _FD_PRINTF(_l, _fd, _fmt, ...) if (_PASS_MSG(_l)) { \ argument
[all …]
H A Dfib_algo.h113 #define FIB_PRINTF(_l, _fd, _fmt, ...) fib_printf(_l, _fd, __func__, _fmt, ##__VA_ARGS__) argument
/freebsd/sys/netlink/
H A Dnetlink_debug.h49 #define NL_RAW_PID_LOG(_l, _pid, _fmt, ...) \ argument
50 NL_RAW_PID_LOG_##_l(_l, _pid, _fmt, ## __VA_ARGS__)
51 #define _NL_RAW_PID_LOG(_l, _pid, _fmt, ...) \ argument
53 _output("[" DEBUG_PREFIX_NAME "] PID %u %s: " _fmt "\n", _pid, \
57 #define NLP_LOG(_l, _nlp, _fmt, ...) \ argument
58 NL_RAW_PID_LOG_##_l(_l, nlp_get_pid(_nlp), _fmt, ## __VA_ARGS__)
63 #define NL_RAW_PID_LOG_LOG_DEBUG3(_l, _pid, _fmt, ...) argument
68 #define NL_RAW_PID_LOG_LOG_DEBUG2(_l, _pid, _fmt, ...) argument
73 #define NL_RAW_PID_LOG_LOG_DEBUG(_l, _pid, _fmt, ...) argument
78 #define NL_RAW_PID_LOG_LOG_INFO(_l, _pid, _fmt, ...) argument
H A Dnetlink_message_parser.h215 #define NLMSG_REPORT_ERR_MSG(_npt, _fmt, ...) { \ argument
216 nlmsg_report_err_msg(_npt, _fmt, ## __VA_ARGS__); \
217 NLP_LOG(LOG_DEBUG, (_npt)->nlp, _fmt, ## __VA_ARGS__); \
/freebsd/tools/tools/ath/common/
H A Ddumpregs.h68 #define _DEFREGfmt(_addr, _name, _type, _fmt) \ argument
69 { .addr = _addr, .name = _name, .type = _type, .bits = _fmt }
73 #define DEFVOIDfmt(_addr, _name, _fmt) \ argument
74 _DEFREGfmt(_addr, _name, 0, _fmt)
76 #define DEFBASICfmt(_addr, _name, _fmt) \ argument
77 _DEFREGfmt(_addr, _name, DUMP_BASIC, _fmt)
82 #define DEFINTfmt(_addr, _name, _fmt) \ argument
83 _DEFREGfmt(_addr, _name, DUMP_INTERRUPT, _fmt)
/freebsd/sys/tests/
H A Dktest.h80 #define KTEST_LOG_LEVEL(_ctx, _l, _fmt, ...) { \ argument
83 ktest_add_msg_text(_ctx, _l, _fmt, ## __VA_ARGS__); \
88 #define KTEST_LOG(_ctx, _fmt, ...) \ argument
89 KTEST_LOG_LEVEL(_ctx, LOG_DEBUG, _fmt, ## __VA_ARGS__)
91 #define KTEST_ERR(_ctx, _fmt, ...) \ argument
92 KTEST_LOG_LEVEL(_ctx, LOG_ERR, _fmt, ## __VA_ARGS__)
/freebsd/contrib/tzcode/
H A Dstrftime.c164 static char * _fmt(const char *, const struct tm *, char *, const char *,
192 p = _fmt(format, t, s, s + maxsize, &warn); in strftime()
215 _fmt(const char *format, const struct tm *t, char *pt, in _fmt() function
272 pt = _fmt(Locale->c_fmt, t, pt, ptlim, &warn2); in _fmt()
280 pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp); in _fmt()
301 pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp); in _fmt()
365 pt = _fmt("%H:%M", t, pt, ptlim, warnp); in _fmt()
368 pt = _fmt("%I:%M:%S %p", t, pt, ptlim, warnp); in _fmt()
408 pt = _fmt("%H:%M:%S", t, pt, ptlim, warnp); in _fmt()
525 pt = _fmt("%e-%b-%Y", t, pt, ptlim, warnp); in _fmt()
[all …]
/freebsd/sys/net80211/
H A Dieee80211_var.h1068 #define IEEE80211_DPRINTF(_vap, _m, _fmt, ...) do { \ argument
1070 ieee80211_note(_vap, _fmt, __VA_ARGS__); \
1072 #define IEEE80211_NOTE(_vap, _m, _ni, _fmt, ...) do { \ argument
1074 ieee80211_note_mac(_vap, (_ni)->ni_macaddr, _fmt, __VA_ARGS__);\
1076 #define IEEE80211_NOTE_MAC(_vap, _m, _mac, _fmt, ...) do { \ argument
1078 ieee80211_note_mac(_vap, _mac, _fmt, __VA_ARGS__); \
1080 #define IEEE80211_NOTE_FRAME(_vap, _m, _wh, _fmt, ...) do { \ argument
1082 ieee80211_note_frame(_vap, _wh, _fmt, __VA_ARGS__); \
1112 #define IEEE80211_DISCARD(_vap, _m, _wh, _type, _fmt, ...) do { \ argument
1115 "%s:%d: " _fmt, __func__, __LINE__, __VA_ARGS__); \
[all …]
/freebsd/lib/libc/stdtime/
H A Dstrftime.c37 static char * _fmt(const char *, const struct tm *, char *, const char *,
86 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, loc); in strftime_l()
117 _fmt(const char *format, const struct tm * const t, char *pt, in _fmt() function
174 pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2, loc); in _fmt()
182 pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp, loc); in _fmt()
217 pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp, loc); in _fmt()
289 pt = _fmt("%H:%M", t, pt, ptlim, warnp, loc); in _fmt()
292 pt = _fmt(tptr->ampm_fmt, t, pt, ptlim, in _fmt()
317 pt = _fmt("%H:%M:%S", t, pt, ptlim, warnp, loc); in _fmt()
433 pt = _fmt("%e-%b-%Y", t, pt, ptlim, warnp, loc); in _fmt()
[all …]
/freebsd/contrib/openpam/include/security/
H A Dopenpam.h89 const char *_fmt,
103 const char *_fmt,
112 const char *_fmt,
126 const char *_fmt,
133 const char *_fmt,
142 const char *_fmt,
214 const char *_fmt,
/freebsd/tests/sys/net/routing/
H A Drtsock_print.h32 #define RLOG(_fmt, ...) printf("%s: " _fmt "\n", __func__, ##__VA_ARGS__) argument
33 #define RLOG_ERRNO(_fmt, ...) do { \ argument
34 printf("%s: " _fmt, __func__, ##__VA_ARGS__); \
38 #define RTSOCK_ATF_REQUIRE_MSG(_rtm, _cond, _fmt, ...) do { \ argument
46 ATF_REQUIRE_MSG(_cond, _fmt, ##__VA_ARGS__); \
49 #define RTSOCKHD_ATF_REQUIRE_MSG(_rtm, _cond, _fmt, ...) do { \ argument
54 ATF_REQUIRE_MSG(_cond, _fmt, ##__VA_ARGS__); \
/freebsd/sys/sys/
H A Dconf.h290 int _perms, const char *_fmt, ...) __printflike(6, 7);
293 const char *_fmt, ...) __printflike(7, 8);
297 const char *_fmt, ...) __printflike(8, 9);
300 const char *_fmt, ...) __printflike(8, 9);
302 const char *_fmt, ...) __printflike(3, 4);
303 struct cdev *make_dev_alias(struct cdev *_pdev, const char *_fmt, ...)
306 const char *_fmt, ...) __printflike(4, 5);
/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_shim.h17 #define RTE_LOG(_sev, _sub, _fmt, ...) printf("DPDK::" #_sev "::" #_sub " %s: " _fmt, __func__ , ##… argument
/freebsd/contrib/sendmail/include/sm/
H A Dstring.h63 sm_stringf_x __P((const char *_fmt, ...));
66 sm_vstringf_x __P((const char *_fmt, va_list _ap));
H A Ddebug.h34 sm_dprintf __P((char *_fmt, ...));
/freebsd/sys/dev/ice/
H A Dice_osdep.h76 #define ice_info(_hw, _fmt, args...) \ argument
77 device_printf(ice_hw_to_dev(_hw), (_fmt), ##args)
79 #define ice_warn(_hw, _fmt, args...) \ argument
80 device_printf(ice_hw_to_dev(_hw), (_fmt), ##args)
/freebsd/sys/security/mac_grantbylabel/
H A Dmac_grantbylabel.c63 #define MAC_GRANTBYLABEL_DBG(_lvl, _fmt, ...) \ argument
66 _fmt "\n", ##__VA_ARGS__)); \
69 #define MAC_GRANTBYLABEL_DBG(_lvl, _fmt, ...) argument
/freebsd/usr.sbin/uathload/
H A Duathload.c75 #define VERBOSE(_fmt, ...) do { \ argument
77 printf(_fmt, __VA_ARGS__); \
/freebsd/bin/ps/
H A Dps.c179 int all, ch, elem, flag, _fmt, i, lineno, linelen, left; in main() local
232 all = descendancy = _fmt = nselectors = optfatal = 0; in main()
329 _fmt = 1; in main()
336 _fmt = 1; in main()
352 _fmt = 1; in main()
420 _fmt = 1; in main()
426 _fmt = 1; in main()
485 if (!_fmt) in main()
/freebsd/tools/tools/netmap/
H A Dnmreplay.c91 #define NED(_fmt, ...) do {} while (0) argument
92 #define ED(_fmt, ...) \ argument
96 fprintf(stderr, "%03d.%03d %-10.10s [%5d] \t" _fmt "\n", \
102 #define WWW(_fmt, ...) ED("--WWW-- " _fmt, ##__VA_ARGS__) argument
103 #define EEE(_fmt, ...) ED("--EEE-- " _fmt, ##__VA_ARGS__) argument
104 #define DDD(_fmt, ...) ED("--DDD-- " _fmt, ##__VA_ARGS__) argument
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h344 #define dev_set_name(_dev, _fmt, ...) \ argument
345 kobject_set_name(&(_dev)->kobj, (_fmt), ##__VA_ARGS__)
674 #define devm_kasprintf(_dev, _gfp, _fmt, ...) \ argument
675 lkpi_devm_kasprintf(_dev, _gfp, _fmt, ##__VA_ARGS__)
/freebsd/sys/dev/bhnd/tools/
H A Dnvram_map_gen.awk608 function write_data_nvram_vardefn(v, _desc, _help, _type, _fmt) {
614 _fmt = var_get_fmt(v)
632 emit(".fmt = &" get(_fmt, p_symbol) ",\n")
2594 function type_get_default_fmt(type, _base, _fmt, _array_fmt) {
2596 _fmt = get(_base, p_default_fmt)
2599 _array_fmt = get(_fmt, p_array_fmt)
2601 _fmt = _array_fmt
2604 return (_fmt)
2718 function fmt_named(name, _n, _fmt) {
2991 function var_get_fmt(var, _fmt) {
[all …]

12