Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-debug.h91 #define IWL_CRIT(_subsys, _fmt, ...) \ argument
92 __iwl_crit((_subsys)->dev, _fmt, ##__VA_ARGS__)
93 #define IWL_INFO(_subsys, _fmt, ...) \ argument
94 __iwl_info((_subsys)->dev, _fmt, ##__VA_ARGS__)
95 #define IWL_WARN(_subsys, _fmt, ...) \ argument
96 __iwl_warn((_subsys)->dev, _fmt, ##__VA_ARGS__)
98 #define __IWL_ERR_DEV(_dev, _mode, _fmt, ...) \ argument
99 __iwl_err((_dev), IWL_ERR_MODE_REGULAR, _fmt, ##__VA_ARGS__)
100 #define IWL_ERR_DEV(_dev, _fmt, ...) \ argument
101 __IWL_ERR_DEV(_dev, IWL_ERR_MODE_REGULAR, _fmt, ##__VA_ARGS__)
[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.c241 #define ALGO_PRINTF(_l, _fmt, ...) if (_PASS_MSG(_l)) { \ argument
242 printf("[fib_algo] %s: " _fmt "\n", __func__, ##__VA_ARGS__); \
244 #define _ALGO_PRINTF(_fib, _fam, _aname, _gen, _func, _fmt, ...) \ argument
245 printf("[fib_algo] %s.%u (%s#%u) %s: " _fmt "\n",\
247 #define _RH_PRINTF(_fib, _fam, _func, _fmt, ...) \ argument
248 printf("[fib_algo] %s.%u %s: " _fmt "\n", print_family(_fam), _fib, _func, ## __VA_ARGS__)
249 #define RH_PRINTF(_l, _rh, _fmt, ...) if (_PASS_MSG(_l)) { \ argument
250 _RH_PRINTF(_rh->rib_fibnum, _rh->rib_family, __func__, _fmt, ## __VA_ARGS__);\
252 #define FD_PRINTF(_l, _fd, _fmt, ...) FD_PRINTF_##_l(_l, _fd, _fmt, ## __VA_ARGS__) argument
253 #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.h213 #define NLMSG_REPORT_ERR_MSG(_npt, _fmt, ...) { \ argument
214 nlmsg_report_err_msg(_npt, _fmt, ## __VA_ARGS__); \
215 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/contrib/tzcode/
H A Dstrftime.c109 static char * _fmt(const char *, const struct tm *, char *, const char *,
137 p = _fmt(format, t, s, s + maxsize, &warn); in strftime()
164 _fmt(const char *format, const struct tm *t, char *pt, in _fmt() function
216 pt = _fmt(Locale->c_fmt, t, pt, ptlim, &warn2); in _fmt()
224 pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp); in _fmt()
245 pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp); in _fmt()
309 pt = _fmt("%H:%M", t, pt, ptlim, warnp); in _fmt()
312 pt = _fmt("%I:%M:%S %p", t, pt, ptlim, warnp); in _fmt()
351 pt = _fmt("%H:%M:%S", t, pt, ptlim, warnp); in _fmt()
468 pt = _fmt("%e-%b-%Y", t, pt, ptlim, warnp); in _fmt()
[all …]
/freebsd/sys/net80211/
H A Dieee80211_var.h1046 #define IEEE80211_DPRINTF(_vap, _m, _fmt, ...) do { \ argument
1048 ieee80211_note(_vap, _fmt, __VA_ARGS__); \
1050 #define IEEE80211_NOTE(_vap, _m, _ni, _fmt, ...) do { \ argument
1052 ieee80211_note_mac(_vap, (_ni)->ni_macaddr, _fmt, __VA_ARGS__);\
1054 #define IEEE80211_NOTE_MAC(_vap, _m, _mac, _fmt, ...) do { \ argument
1056 ieee80211_note_mac(_vap, _mac, _fmt, __VA_ARGS__); \
1058 #define IEEE80211_NOTE_FRAME(_vap, _m, _wh, _fmt, ...) do { \ argument
1060 ieee80211_note_frame(_vap, _wh, _fmt, __VA_ARGS__); \
1090 #define IEEE80211_DISCARD(_vap, _m, _wh, _type, _fmt, ...) do { \ argument
1093 "%s:%d: " _fmt, __func__, __LINE__, __VA_ARGS__); \
[all …]
/freebsd/lib/libc/stdtime/
H A Dstrftime.c35 static char * _fmt(const char *, const struct tm *, char *, const char *,
84 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, loc); in strftime_l()
115 _fmt(const char *format, const struct tm * const t, char *pt, in _fmt() function
172 pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2, loc); in _fmt()
180 pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp, loc); in _fmt()
215 pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp, loc); in _fmt()
287 pt = _fmt("%H:%M", t, pt, ptlim, warnp, loc); in _fmt()
290 pt = _fmt(tptr->ampm_fmt, t, pt, ptlim, in _fmt()
315 pt = _fmt("%H:%M:%S", t, pt, ptlim, warnp, loc); in _fmt()
431 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/sys/tests/
H A Dktest.h76 #define KTEST_LOG_LEVEL(_ctx, _l, _fmt, ...) { \ argument
79 ktest_add_msg_text(_ctx, _l, _fmt, ## __VA_ARGS__); \
84 #define KTEST_LOG(_ctx, _fmt, ...) \ argument
85 KTEST_LOG_LEVEL(_ctx, LOG_DEBUG, _fmt, ## __VA_ARGS__)
/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.h288 int _perms, const char *_fmt, ...) __printflike(6, 7);
291 const char *_fmt, ...) __printflike(7, 8);
295 const char *_fmt, ...) __printflike(8, 9);
298 const char *_fmt, ...) __printflike(8, 9);
300 const char *_fmt, ...) __printflike(3, 4);
301 struct cdev *make_dev_alias(struct cdev *_pdev, const char *_fmt, ...)
304 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/contrib/dev/iwlwifi/fw/
H A Ddbg.h337 #define IWL_FW_CHECK_FAILED(_obj, _fmt, ...) \ argument
338 IWL_ERR_LIMIT(_obj, _fmt, __VA_ARGS__)
340 #define IWL_FW_CHECK(_obj, _cond, _fmt, ...) \ argument
345 IWL_FW_CHECK_FAILED(_obj, _fmt, __VA_ARGS__); \
/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/bin/ps/
H A Dps.c162 int all, ch, elem, flag, _fmt, i, lineno, linelen, left; in main() local
207 all = descendancy = _fmt = nselectors = optfatal = 0; in main()
302 _fmt = 1; in main()
310 _fmt = 1; in main()
327 _fmt = 1; in main()
331 _fmt = 1; in main()
394 _fmt = 1; in main()
400 _fmt = 1; in main()
461 if (!_fmt) in main()
/freebsd/sys/security/mac_grantbylabel/
H A Dmac_grantbylabel.c64 #define MAC_GRANTBYLABEL_DBG(_lvl, _fmt, ...) \ argument
67 _fmt "\n", ##__VA_ARGS__)); \
70 #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/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.h333 #define dev_set_name(_dev, _fmt, ...) \ argument
334 kobject_set_name(&(_dev)->kobj, (_fmt), ##__VA_ARGS__)
662 #define devm_kasprintf(_dev, _gfp, _fmt, ...) \ argument
663 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