Home
last modified time | relevance | path

Searched refs:logtype (Results 1 – 22 of 22) sorted by relevance

/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_log.c121 rte_log_can_log(uint32_t logtype, uint32_t level) in rte_log_can_log() argument
128 log_level = rte_log_get_level(logtype); in rte_log_can_log()
249 return RTE_PER_LCORE(log_cur_msg).logtype; in rte_log_cur_msg_logtype()
341 struct logtype { struct
343 const char *logtype; argument
346 static const struct logtype logtype_strings[] = {
392 __rte_log_register(logtype_strings[i].logtype, in RTE_INIT_PRIO()
443 if (logtype >= rte_logs.dynamic_types_len) in rte_vlog()
445 if (!rte_log_can_log(logtype, level)) in rte_vlog()
450 RTE_PER_LCORE(log_cur_msg).logtype = logtype; in rte_vlog()
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_007_pos.ksh57 for logtype in "" "mirror"
64 $spare $SDEV log $logtype $LDEV $LDEV2
67 $TESTPOOL $ldev 'ONLINE' $logtype
77 $TESTPOOL $ldev 'ONLINE' $logtype
87 $TESTPOOL $ldev 'ONLINE' $logtype
H A Dslog_008_neg.ksh53 for logtype in "raidz" "raidz1" "raidz2"
56 $spare $SDEV log $logtype $LDEV $LDEV2
59 $TESTPOOL $ldev 'ONLINE' $logtype
H A Dslog_001_pos.ksh54 for logtype in "" "mirror"
57 $spare $SDEV log $logtype $LDEV
62 $TESTPOOL $ldev 'ONLINE' $logtype
H A Dslog_009_neg.ksh54 for logtype in "raidz" "raidz1" "raidz2"
60 log_mustnot zpool add $TESTPOOL log $logtype $LDEV2
63 $TESTPOOL $ldev 'ONLINE' $logtype
H A Dslog_002_pos.ksh55 for logtype in "" "mirror"
58 log_must zpool add $TESTPOOL log $logtype $LDEV
62 $TESTPOOL $ldev 'ONLINE' $logtype
H A Dslog_006_pos.ksh55 for logtype in "" "mirror"
58 $spare $SDEV log $logtype $LDEV
66 $TESTPOOL $tdev 'ONLINE' $logtype
H A Dslog_003_pos.ksh55 for logtype in "" "mirror"
60 $spare $SDEV log $logtype $LDEV
H A Dslog_004_pos.ksh55 for logtype in "" "mirror"
58 $spare $SDEV log $logtype $LDEV
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_log.h127 int rte_log_get_level(uint32_t logtype);
140 bool rte_log_can_log(uint32_t logtype, uint32_t loglevel);
176 int rte_log_set_level(uint32_t logtype, uint32_t level);
275 int rte_log(uint32_t level, uint32_t logtype, const char *format, ...)
309 int rte_vlog(uint32_t level, uint32_t logtype, const char *format, va_list ap)
/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Drte_log.h145 int rte_log_get_level(uint32_t logtype);
158 bool rte_log_can_log(uint32_t logtype, uint32_t loglevel);
194 int rte_log_set_level(uint32_t logtype, uint32_t level);
293 int rte_log(uint32_t level, uint32_t logtype, const char *format, ...)
327 int rte_vlog(uint32_t level, uint32_t logtype, const char *format, va_list ap)
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_mcdi.c64 uint32_t logtype; in sfc_mcdi_init() local
68 logtype = sfc_register_logtype(&sa->priv.shared->pci_addr, in sfc_mcdi_init()
72 return sfc_efx_mcdi_init(&sa->mcdi, logtype, in sfc_mcdi_init()
/f-stack/dpdk/drivers/common/qat/
H A Dqat_logs.c11 qat_hexdump_log(uint32_t level, uint32_t logtype, const char *title, in qat_hexdump_log() argument
14 if (rte_log_can_log(logtype, level)) in qat_hexdump_log()
H A Dqat_logs.h30 qat_hexdump_log(uint32_t level, uint32_t logtype, const char *title,
/f-stack/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_logs.c15 bcmfs_hexdump_log(uint32_t level, uint32_t logtype, const char *title, in bcmfs_hexdump_log() argument
20 if (level > (uint32_t)(rte_log_get_level(logtype))) in bcmfs_hexdump_log()
H A Dbcmfs_logs.h31 bcmfs_hexdump_log(uint32_t level, uint32_t logtype, const char *heading,
/f-stack/dpdk/drivers/common/sfc_efx/
H A Dsfc_efx_mcdi.h59 uint32_t logtype; member
67 uint32_t logtype, const char *log_prefix,
H A Dsfc_efx_mcdi.c27 rte_log(level, _mcdi->logtype, \
239 if (rte_log_get_level(mcdi->logtype) < (int)SFC_EFX_LOG_LEVEL_MCDI) in sfc_efx_mcdi_logger()
269 uint32_t logtype, const char *log_prefix, efx_nic_t *nic, in sfc_efx_mcdi_init() argument
290 mcdi->logtype = logtype; in sfc_efx_mcdi_init()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_compat.h27 #define dev_printf(level, logtype, fmt, ...) \ argument
28 rte_log(RTE_LOG_ ## level, logtype, \
/f-stack/dpdk/lib/librte_eventdev/
H A Drte_event_timer_adapter.c40 #define EVTIM_LOG(level, logtype, ...) \ argument
41 rte_log(RTE_LOG_ ## level, logtype, \
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_nat.c2270 ipf_nat_delete(softc, nat, logtype) in ipf_nat_delete() argument
2273 int logtype;
2280 if (logtype != 0 && softn->ipf_nat_logging != 0)
2281 ipf_nat_log(softc, softn, nat, logtype);
2353 if (logtype == NL_EXPIRE)
2362 if (logtype == NL_DESTROY) {
/f-stack/dpdk/doc/guides/prog_guide/
H A Denv_abstraction_layer.rst705 …In unregistered non-EAL pthreads, there is no per thread loglevel and logtype, global loglevels ar…