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

12

/freebsd-current/sys/contrib/dev/iwlwifi/
H A Diwl-debug.h91 #define IWL_CRIT(_subsys, _fmt, ...) \
92 __iwl_crit((_subsys)->dev, _fmt, ##__VA_ARGS__)
93 #define IWL_INFO(_subsys, _fmt, ...) \
94 __iwl_info((_subsys)->dev, _fmt, ##__VA_ARGS__)
95 #define IWL_WARN(_subsys, _fmt, ...) \
96 __iwl_warn((_subsys)->dev, _fmt, ##__VA_ARGS__)
98 #define __IWL_ERR_DEV(_dev, _mode, _fmt, ...) \
99 __iwl_err((_dev), IWL_ERR_MODE_REGULAR, _fmt, ##__VA_ARGS__)
100 #define IWL_ERR_DEV(_dev, _fmt, ...) \
101 __IWL_ERR_DEV(_dev, IWL_ERR_MODE_REGULAR, _fmt, ##__VA_ARGS_
[all...]
/freebsd-current/sys/netlink/
H A Dnetlink_debug.h49 #define NL_RAW_PID_LOG(_l, _pid, _fmt, ...) NL_RAW_PID_LOG_##_l(_l, _pid, _fmt, ## __VA_ARGS__)
50 #define _NL_RAW_PID_LOG(_l, _pid, _fmt, ...) if (_DEBUG_PASS_MSG(_l)) { \
51 _output("[" DEBUG_PREFIX_NAME "] PID %u %s: " _fmt "\n", _pid, __func__, ##__VA_ARGS__); \
54 #define NLP_LOG(_l, _nlp, _fmt, ...) NL_RAW_PID_LOG_##_l(_l, nlp_get_pid(_nlp), _fmt, ## __VA_ARGS__)
59 #define NL_RAW_PID_LOG_LOG_DEBUG3(_l, _pid, _fmt, ...)
64 #define NL_RAW_PID_LOG_LOG_DEBUG2(_l, _pid, _fmt, ...)
69 #define NL_RAW_PID_LOG_LOG_DEBUG(_l, _pid, _fmt, ...)
74 #define NL_RAW_PID_LOG_LOG_INFO(_l, _pid, _fmt,
[all...]
H A Dnetlink_message_parser.h213 #define NLMSG_REPORT_ERR_MSG(_npt, _fmt, ...) { \
214 nlmsg_report_err_msg(_npt, _fmt, ## __VA_ARGS__); \
215 NLP_LOG(LOG_DEBUG, (_npt)->nlp, _fmt, ## __VA_ARGS__); \
/freebsd-current/sys/net/route/
H A Droute_debug.h93 #define FIB_LOG(_l, _fib, _fam, _fmt, ...) FIB_LOG_##_l(_l, _fib, _fam, _fmt, ## __VA_ARGS__)
94 #define _FIB_LOG(_l, _fib, _fam, _fmt, ...) if (_DEBUG_PASS_MSG(_l)) { \
95 _output("[" DEBUG_PREFIX_NAME "] %s.%u %s: " _fmt "\n", rib_print_family(_fam), _fib, __func__, ##__VA_ARGS__); \
99 #define FIB_NH_LOG(_l, _nh, _fmt, ...) FIB_LOG_##_l(_l, nhop_get_fibnum(_nh), nhop_get_upper_family(_nh), _fmt, ## __VA_ARGS__)
101 #define FIB_RH_LOG(_l, _rh, _fmt, ...) FIB_LOG_##_l(_l, (_rh)->rib_fibnum, (_rh)->rib_family, _fmt, ## __VA_ARGS__)
103 #define FIB_CTL_LOG(_l, _ctl, _fmt, ...) FIB_LOG_##_l(_l, (_ctl)->ctl_rh->rib_fibnum, (_ctl)->ctl_rh->rib_family, _fmt, ## __VA_ARGS_
[all...]
H A Dfib_algo.h113 #define FIB_PRINTF(_l, _fd, _fmt, ...) fib_printf(_l, _fd, __func__, _fmt, ##__VA_ARGS__)
H A Dfib_algo.c241 #define ALGO_PRINTF(_l, _fmt, ...) if (_PASS_MSG(_l)) { \
242 printf("[fib_algo] %s: " _fmt "\n", __func__, ##__VA_ARGS__); \
244 #define _ALGO_PRINTF(_fib, _fam, _aname, _gen, _func, _fmt, ...) \
245 printf("[fib_algo] %s.%u (%s#%u) %s: " _fmt "\n",\
247 #define _RH_PRINTF(_fib, _fam, _func, _fmt, ...) \
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)) { \
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_
[all...]
/freebsd-current/tools/tools/ath/common/
H A Ddumpregs.h68 #define _DEFREGfmt(_addr, _name, _type, _fmt) \
69 { .addr = _addr, .name = _name, .type = _type, .bits = _fmt }
73 #define DEFVOIDfmt(_addr, _name, _fmt) \
74 _DEFREGfmt(_addr, _name, 0, _fmt)
76 #define DEFBASICfmt(_addr, _name, _fmt) \
77 _DEFREGfmt(_addr, _name, DUMP_BASIC, _fmt)
82 #define DEFINTfmt(_addr, _name, _fmt) \
83 _DEFREGfmt(_addr, _name, DUMP_INTERRUPT, _fmt)
/freebsd-current/sys/contrib/dpdk_rte_lpm/
H A Drte_shim.h17 #define RTE_LOG(_sev, _sub, _fmt, ...) printf("DPDK::" #_sev "::" #_sub " %s: " _fmt, __func__ , ## __VA_ARGS__)
/freebsd-current/sys/tests/
H A Dktest.h76 #define KTEST_LOG_LEVEL(_ctx, _l, _fmt, ...) { \
79 ktest_add_msg_text(_ctx, _l, _fmt, ## __VA_ARGS__); \
84 #define KTEST_LOG(_ctx, _fmt, ...) \
85 KTEST_LOG_LEVEL(_ctx, LOG_DEBUG, _fmt, ## __VA_ARGS__)
/freebsd-current/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);
115 _fmt(const char *format, const struct tm * const t, char *pt, function
160 * _fmt("%a %b %e %X %Y", t);
172 pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2, loc);
180 pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp, loc);
215 pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp, loc);
287 pt = _fmt("%H:%M", t, pt, ptlim, warnp, loc);
290 pt = _fmt(tptr->ampm_fmt, t, pt, ptlim,
315 pt = _fmt("
[all...]
/freebsd-current/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);
164 _fmt(const char *format, const struct tm *t, char *pt, function
204 ** _fmt("%a %b %e %X %Y", t);
216 pt = _fmt(Locale->c_fmt, t, pt, ptlim, &warn2);
224 pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp);
245 pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp);
309 pt = _fmt("%H:%M", t, pt, ptlim, warnp);
312 pt = _fmt("%I:%M:%S %p", t, pt, ptlim, warnp);
351 pt = _fmt("
[all...]
/freebsd-current/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-current/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-current/tests/sys/net/routing/
H A Drtsock_print.h32 #define RLOG(_fmt, ...) printf("%s: " _fmt "\n", __func__, ##__VA_ARGS__)
33 #define RLOG_ERRNO(_fmt, ...) do { \
34 printf("%s: " _fmt, __func__, ##__VA_ARGS__); \
38 #define RTSOCK_ATF_REQUIRE_MSG(_rtm, _cond, _fmt, ...) do { \
46 ATF_REQUIRE_MSG(_cond, _fmt, ##__VA_ARGS__); \
49 #define RTSOCKHD_ATF_REQUIRE_MSG(_rtm, _cond, _fmt, ...) do { \
54 ATF_REQUIRE_MSG(_cond, _fmt, ##__VA_ARGS__); \
/freebsd-current/sys/sys/
H A Dconf.h287 int _perms, const char *_fmt, ...) __printflike(6, 7);
290 const char *_fmt, ...) __printflike(7, 8);
294 const char *_fmt, ...) __printflike(8, 9);
297 const char *_fmt, ...) __printflike(8, 9);
299 const char *_fmt, ...) __printflike(3, 4);
300 struct cdev *make_dev_alias(struct cdev *_pdev, const char *_fmt, ...)
303 const char *_fmt, ...) __printflike(4, 5);
/freebsd-current/sys/net80211/
H A Dieee80211_var.h1041 #define IEEE80211_DPRINTF(_vap, _m, _fmt, ...) do { \
1043 ieee80211_note(_vap, _fmt, __VA_ARGS__); \
1045 #define IEEE80211_NOTE(_vap, _m, _ni, _fmt, ...) do { \
1047 ieee80211_note_mac(_vap, (_ni)->ni_macaddr, _fmt, __VA_ARGS__);\
1049 #define IEEE80211_NOTE_MAC(_vap, _m, _mac, _fmt, ...) do { \
1051 ieee80211_note_mac(_vap, _mac, _fmt, __VA_ARGS__); \
1053 #define IEEE80211_NOTE_FRAME(_vap, _m, _wh, _fmt, ...) do { \
1055 ieee80211_note_frame(_vap, _wh, _fmt, __VA_ARGS__); \
1085 #define IEEE80211_DISCARD(_vap, _m, _wh, _type, _fmt, ...) do { \
1088 "%s:%d: " _fmt, __func_
[all...]
/freebsd-current/usr.sbin/uathload/
H A Duathload.c75 #define VERBOSE(_fmt, ...) do { \
77 printf(_fmt, __VA_ARGS__); \
/freebsd-current/contrib/bsnmp/lib/
H A Dsnmpclient.h145 int snmp_oid_append(struct asn_oid *_oid, const char *_fmt, ...);
/freebsd-current/sys/contrib/dev/iwlwifi/fw/
H A Ddbg.h337 #define IWL_FW_CHECK_FAILED(_obj, _fmt, ...) \
338 IWL_ERR_LIMIT(_obj, _fmt, __VA_ARGS__)
340 #define IWL_FW_CHECK(_obj, _cond, _fmt, ...) \
345 IWL_FW_CHECK_FAILED(_obj, _fmt, __VA_ARGS__); \
/freebsd-current/sys/dev/ice/
H A Dice_osdep.h76 #define ice_info(_hw, _fmt, args...) \
77 device_printf(ice_hw_to_dev(_hw), (_fmt), ##args)
79 #define ice_warn(_hw, _fmt, args...) \
80 device_printf(ice_hw_to_dev(_hw), (_fmt), ##args)
/freebsd-current/sys/security/mac_grantbylabel/
H A Dmac_grantbylabel.c64 #define MAC_GRANTBYLABEL_DBG(_lvl, _fmt, ...) \
67 _fmt "\n", ##__VA_ARGS__)); \
70 #define MAC_GRANTBYLABEL_DBG(_lvl, _fmt, ...)
/freebsd-current/bin/ps/
H A Dps.c172 int all, ch, elem, flag, _fmt, i, lineno, linelen, left; local
217 all = descendancy = _fmt = nselectors = optfatal = 0;
315 _fmt = 1;
323 _fmt = 1;
340 _fmt = 1;
344 _fmt = 1;
407 _fmt = 1;
413 _fmt = 1;
474 if (!_fmt)
/freebsd-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value.h242 extern const bhnd_nvram_val_fmt bhnd_nvram_val_ ## _n ## _fmt;
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h334 #define dev_set_name(_dev, _fmt, ...) \
335 kobject_set_name(&(_dev)->kobj, (_fmt), ##__VA_ARGS__)
658 #define devm_kasprintf(_dev, _gfp, _fmt, ...) \
659 lkpi_devm_kasprintf(_dev, _gfp, _fmt, ##__VA_ARGS__)

Completed in 334 milliseconds

12