_fmt
int all, ch, elem, flag, _fmt, i, lineno, linelen, left;
all = descendancy = _fmt = nselectors = optfatal = 0;
_fmt = 1;
_fmt = 1;
_fmt = 1;
_fmt = 1;
_fmt = 1;
if (!_fmt)
void setproctitle(const char *_fmt, ...) __printf0like(1, 2);
void setproctitle_fast(const char *_fmt, ...) __printf0like(1, 2);
pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2, loc);
pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp, loc);
pt = _fmt("%Y-%m-%d", t, pt, ptlim, warnp, loc);
pt = _fmt("%H:%M", t, pt, ptlim, warnp, loc);
pt = _fmt(tptr->ampm_fmt, t, pt, ptlim,
pt = _fmt("%H:%M:%S", t, pt, ptlim, warnp, loc);
static char * _fmt(const char *, const struct tm *, char *, const char *,
pt = _fmt("%e-%b-%Y", t, pt, ptlim, warnp, loc);
pt = _fmt(tptr->X_fmt, t, pt, ptlim, warnp, loc);
pt = _fmt(tptr->x_fmt, t, pt, ptlim, &warn2, loc);
pt = _fmt(tptr->date_fmt, t, pt, ptlim,
p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, loc);
uid_t _uid, gid_t _gid, int _perms, const char *_fmt,...)
va_start(args, _fmt);
vsnprintf(info.devname, sizeof(info.devname), _fmt, args);
#define dev_set_name(_dev, _fmt, ...) \
kobject_set_name(&(_dev)->kobj, (_fmt), ##__VA_ARGS__)
#define devm_kasprintf(_dev, _gfp, _fmt, ...) \
lkpi_devm_kasprintf(_dev, _gfp, _fmt, ##__VA_ARGS__)
#define SKB_TRACE_FMT(_s, _fmt, ...) \
printf("SKB_TRACE %s:%d %p " _fmt "\n", __func__, __LINE__, _s, \
#define wiphy_err(_wiphy, _fmt, ...) \
dev_err((_wiphy)->dev, _fmt, __VA_ARGS__)
#define TRACEOK(_fmt, ...) if (linuxkpi_debug_80211 & D80211_TRACEOK) \
printf("%s:%d: TRACEPOINT " _fmt "\n", __func__, __LINE__, ##__VA_ARGS__)
#define log_base_(_lvl, _fmt, args...) printf( "atlantic: " _fmt "\n", ##args)
#define trace_base_(_lvl, _cat, _fmt, args...) do { if (dbg_level_ >= _lvl && (_cat & dbg_categories_)) { printf( "atlantic: " _fmt " @%s,%d\n", ##args, __FILENAME__, __LINE__); }} while (0)
#define trace_base_(_lvl, _cat, _fmt, ...) do {} while (0)
#define aq_log_error(_fmt, args...) log_base_(lvl_error, "[!] " _fmt, ##args)
#define aq_log_warn(_fmt, args...) log_base_(lvl_warn, "/!\\ " _fmt, ##args)
#define aq_log(_fmt, args...) log_base_(lvl_trace, _fmt, ##args)
#define aq_log_detail(_fmt, args...) log_base_(lvl_detail, _fmt, ##args)
#define trace_error(_cat,_fmt, args...) trace_base_(lvl_error, _cat, "[!] " _fmt, ##args)
#define trace_warn(_cat, _fmt, args...) trace_base_(lvl_warn, _cat, "/!\\ " _fmt, ##args)
#define trace(_cat, _fmt, args...) trace_base_(lvl_trace, _cat, _fmt, ##args)
#define trace_detail(_cat, _fmt, args...) trace_base_(lvl_detail, _cat, _fmt, ##args)
#define PMU_LOG(_sc, _fmt, ...) do { \
device_printf(_sc->dev, _fmt, ##__VA_ARGS__); \
printf(_fmt, ##__VA_ARGS__); \
#define PMU_DEBUG(_sc, _fmt, ...) PMU_LOG(_sc, _fmt, ##__VA_ARGS__)
#define PMU_DEBUG(_sc, _fmt, ...)
#define SPROM_OP_BAD(_state, _fmt, ...) \
BHND_NV_LOG("bad encoding at %td: " _fmt, \
#define BHND_NVRAM_VAL_INITIALIZER(_fmt, _storage) \
.fmt = _fmt, \
extern const bhnd_nvram_val_fmt bhnd_nvram_val_ ## _n ## _fmt;
const bhnd_nvram_val_fmt bhnd_nvram_val_ ## _n ## _fmt = { \
#define ice_info(_hw, _fmt, args...) \
device_printf(ice_hw_to_dev(_hw), (_fmt), ##args)
#define ice_warn(_hw, _fmt, args...) \
device_printf(ice_hw_to_dev(_hw), (_fmt), ##args)
#define ND(_fmt, ...) do {} while(0)
#define D(_fmt, ...) \
fprintf(stderr, "%03d.%06d %s [%d] " _fmt "\n", \
#define ALGO_PRINTF(_l, _fmt, ...) if (_PASS_MSG(_l)) { \
printf("[fib_algo] %s: " _fmt "\n", __func__, ##__VA_ARGS__); \
#define _ALGO_PRINTF(_fib, _fam, _aname, _gen, _func, _fmt, ...) \
printf("[fib_algo] %s.%u (%s#%u) %s: " _fmt "\n",\
#define _RH_PRINTF(_fib, _fam, _func, _fmt, ...) \
printf("[fib_algo] %s.%u %s: " _fmt "\n", print_family(_fam), _fib, _func, ## __VA_ARGS__)
#define RH_PRINTF(_l, _rh, _fmt, ...) if (_PASS_MSG(_l)) { \
_RH_PRINTF(_rh->rib_fibnum, _rh->rib_family, __func__, _fmt, ## __VA_ARGS__);\
#define FD_PRINTF(_l, _fd, _fmt, ...) FD_PRINTF_##_l(_l, _fd, _fmt, ## __VA_ARGS__)
#define _FD_PRINTF(_l, _fd, _fmt, ...) if (_PASS_MSG(_l)) { \
_fd->fd_gen, __func__, _fmt, ## __VA_ARGS__); \
#define FD_PRINTF_LOG_DEBUG2(_l, _fd, _fmt, ...)
#define FIB_PRINTF(_l, _fd, _fmt, ...) fib_printf(_l, _fd, __func__, _fmt, ##__VA_ARGS__)
#define FIB_NH_LOG(_l, _nh, _fmt, ...) \
_fmt, ## __VA_ARGS__)
#define FIB_RH_LOG(_l, _rh, _fmt, ...) \
FIB_LOG_##_l(_l, (_rh)->rib_fibnum, (_rh)->rib_family, _fmt, \
#define FIB_CTL_LOG(_l, _ctl, _fmt, ...) \
(_ctl)->ctl_rh->rib_family, _fmt, ## __VA_ARGS__)
#define RT_LOG(_l, _fmt, ...) RT_LOG_##_l(_l, _fmt, ## __VA_ARGS__)
#define _RT_LOG(_l, _fmt, ...) do { \
_output("[" DEBUG_PREFIX_NAME "] %s: " _fmt "\n", \
#define FIB_LOG_LOG_DEBUG3(_l, _fib, _fam, _fmt, ...)
#define RT_LOG_LOG_DEBUG3(_l, _fmt, ...)
#define FIB_LOG_LOG_DEBUG2(_l, _fib, _fam, _fmt, ...)
#define RT_LOG_LOG_DEBUG2(_l, _fmt, ...)
#define FIB_LOG_LOG_DEBUG(_l, _fib, _fam, _fmt, ...)
#define RT_LOG_LOG_DEBUG(_l, _fmt, ...)
#define FIB_LOG_LOG_INFO(_l, _fib, _fam, _fmt, ...)
#define RT_LOG_LOG_INFO(_l, _fmt, ...)
#define FIB_LOG(_l, _fib, _fam, _fmt, ...) \
FIB_LOG_##_l(_l, _fib, _fam, _fmt, ## __VA_ARGS__)
#define _FIB_LOG(_l, _fib, _fam, _fmt, ...) \
_output("[" DEBUG_PREFIX_NAME "] %s.%u %s: " _fmt "\n", \
#define RTS_PID_LOG(_l, _fmt, ...) \
RT_LOG_##_l(_l, "PID %d: " _fmt, curproc ? curproc->p_pid : 0, \
#define IEEE80211_DPRINTF(_vap, _m, _fmt, ...) do { \
ieee80211_note(_vap, _fmt, __VA_ARGS__); \
#define IEEE80211_NOTE(_vap, _m, _ni, _fmt, ...) do { \
ieee80211_note_mac(_vap, (_ni)->ni_macaddr, _fmt, __VA_ARGS__);\
#define IEEE80211_NOTE_MAC(_vap, _m, _mac, _fmt, ...) do { \
ieee80211_note_mac(_vap, _mac, _fmt, __VA_ARGS__); \
#define IEEE80211_NOTE_FRAME(_vap, _m, _wh, _fmt, ...) do { \
ieee80211_note_frame(_vap, _wh, _fmt, __VA_ARGS__); \
#define IEEE80211_DISCARD(_vap, _m, _wh, _type, _fmt, ...) do { \
"%s:%d: " _fmt, __func__, __LINE__, __VA_ARGS__); \
#define IEEE80211_DISCARD_IE(_vap, _m, _wh, _type, _fmt, ...) do { \
"%s:%d: " _fmt, __func__, __LINE__, __VA_ARGS__); \
#define IEEE80211_DISCARD_MAC(_vap, _m, _mac, _type, _fmt, ...) do { \
"%s:%d: " _fmt, __func__, __LINE__, __VA_ARGS__); \
#define IEEE80211_DPRINTF(_vap, _m, _fmt, ...)
#define IEEE80211_NOTE(_vap, _m, _ni, _fmt, ...)
#define IEEE80211_NOTE_FRAME(_vap, _m, _wh, _fmt, ...)
#define IEEE80211_NOTE_MAC(_vap, _m, _mac, _fmt, ...)
#define IEEE80211_DISCARD(_vap, _m, _wh, _type, _fmt, ...)
#define IEEE80211_DISCARD_IE(_vap, _m, _wh, _type, _fmt, ...)
#define IEEE80211_DISCARD_MAC(_vap, _m, _mac, _type, _fmt, ...)
#define NL_RAW_PID_LOG(_l, _pid, _fmt, ...) \
NL_RAW_PID_LOG_##_l(_l, _pid, _fmt, ## __VA_ARGS__)
#define _NL_RAW_PID_LOG(_l, _pid, _fmt, ...) \
_output("[" DEBUG_PREFIX_NAME "] PID %u %s: " _fmt "\n", _pid, \
#define NLP_LOG(_l, _nlp, _fmt, ...) \
NL_RAW_PID_LOG_##_l(_l, nlp_get_pid(_nlp), _fmt, ## __VA_ARGS__)
#define NL_RAW_PID_LOG_LOG_DEBUG3(_l, _pid, _fmt, ...)
#define NL_RAW_PID_LOG_LOG_DEBUG2(_l, _pid, _fmt, ...)
#define NL_RAW_PID_LOG_LOG_DEBUG(_l, _pid, _fmt, ...)
#define NL_RAW_PID_LOG_LOG_INFO(_l, _pid, _fmt, ...)
#define NLMSG_REPORT_ERR_MSG(_npt, _fmt, ...) { \
nlmsg_report_err_msg(_npt, _fmt, ## __VA_ARGS__); \
NLP_LOG(LOG_DEBUG, (_npt)->nlp, _fmt, ## __VA_ARGS__); \
#define MAC_GRANTBYLABEL_DBG(_lvl, _fmt, ...) \
_fmt "\n", ##__VA_ARGS__)); \
#define MAC_GRANTBYLABEL_DBG(_lvl, _fmt, ...)
#define MAC_VERIEXEC_DBG(_lvl, _fmt, ...) \
VERIEXEC_DEBUG((_lvl), (MAC_VERIEXEC_FULLNAME ": " _fmt \
#define MAC_VERIEXEC_DBG(_lvl, _fmt, ...)
int _perms, const char *_fmt, ...) __printflike(6, 7);
const char *_fmt, ...) __printflike(7, 8);
const char *_fmt, ...) __printflike(8, 9);
const char *_fmt, ...) __printflike(8, 9);
const char *_fmt, ...) __printflike(3, 4);
struct cdev *make_dev_alias(struct cdev *_pdev, const char *_fmt, ...)
const char *_fmt, ...) __printflike(4, 5);
#define KTEST_LOG_LEVEL(_ctx, _l, _fmt, ...) { \
ktest_add_msg_text(_ctx, _l, _fmt, ## __VA_ARGS__); \
#define KTEST_LOG(_ctx, _fmt, ...) \
KTEST_LOG_LEVEL(_ctx, LOG_DEBUG, _fmt, ## __VA_ARGS__)
#define KTEST_ERR(_ctx, _fmt, ...) \
KTEST_LOG_LEVEL(_ctx, LOG_ERR, _fmt, ## __VA_ARGS__)
#define RLOG(_fmt, ...) printf("%s: " _fmt "\n", __func__, ##__VA_ARGS__)
#define RLOG_ERRNO(_fmt, ...) do { \
printf("%s: " _fmt, __func__, ##__VA_ARGS__); \
#define RTSOCK_ATF_REQUIRE_MSG(_rtm, _cond, _fmt, ...) do { \
ATF_REQUIRE_MSG(_cond, _fmt, ##__VA_ARGS__); \
#define RTSOCKHD_ATF_REQUIRE_MSG(_rtm, _cond, _fmt, ...) do { \
ATF_REQUIRE_MSG(_cond, _fmt, ##__VA_ARGS__); \
#define _DEFREGfmt(_addr, _name, _type, _fmt) \
{ .addr = _addr, .name = _name, .type = _type, .bits = _fmt }
#define DEFVOIDfmt(_addr, _name, _fmt) \
_DEFREGfmt(_addr, _name, 0, _fmt)
#define DEFBASICfmt(_addr, _name, _fmt) \
_DEFREGfmt(_addr, _name, DUMP_BASIC, _fmt)
#define DEFINTfmt(_addr, _name, _fmt) \
_DEFREGfmt(_addr, _name, DUMP_INTERRUPT, _fmt)
#define WWW(_fmt, ...) ED("--WWW-- " _fmt, ##__VA_ARGS__)
#define EEE(_fmt, ...) ED("--EEE-- " _fmt, ##__VA_ARGS__)
#define DDD(_fmt, ...) ED("--DDD-- " _fmt, ##__VA_ARGS__)
#define NED(_fmt, ...) do {} while (0)
#define ED(_fmt, ...) \
fprintf(stderr, "%03d.%03d %-10.10s [%5d] \t" _fmt "\n", \
#define VERBOSE(_fmt, ...) do { \
printf(_fmt, __VA_ARGS__); \