Home
last modified time | relevance | path

Searched refs:cdls (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_debug.h182 #define LIBCFS_DEBUG_MSG_DATA_INIT(data, mask, cdls) \ argument
188 (data)->msg_cdls = (cdls); \
192 #define LIBCFS_DEBUG_MSG_DATA_DECL(dataname, mask, cdls) \ argument
198 .msg_cdls = (cdls) }; \
210 #define __CDEBUG(cdls, mask, format, ...) \ argument
214 CFS_CHECK_STACK(&msgdata, mask, cdls); \
217 LIBCFS_DEBUG_MSG_DATA_INIT(&msgdata, mask, cdls); \
226 static struct cfs_debug_limit_state cdls; \
228 __CDEBUG(&cdls, mask, format, ## __VA_ARGS__); \
/drivers/staging/lustre/include/linux/libcfs/linux/
Dlibcfs.h101 #define __CHECK_STACK(msgdata, mask, cdls) \ argument
110 (msgdata)->msg_cdls = cdls; \
115 #define CFS_CHECK_STACK(msgdata, mask, cdls) __CHECK_STACK(msgdata, mask, cdls) argument
117 #define CFS_CHECK_STACK(msgdata, mask, cdls) do {} while (0) argument
/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c276 struct cfs_debug_limit_state *cdls = msgdata->msg_cdls; in libcfs_debug_vmsg2() local
398 if (cdls != NULL) { in libcfs_debug_vmsg2()
400 cdls->cdls_next != 0 && /* not first time ever */ in libcfs_debug_vmsg2()
401 !cfs_time_after(cfs_time_current(), cdls->cdls_next)) { in libcfs_debug_vmsg2()
403 cdls->cdls_count++; in libcfs_debug_vmsg2()
409 if (cfs_time_after(cfs_time_current(), cdls->cdls_next + in libcfs_debug_vmsg2()
413 cdls->cdls_delay /= libcfs_console_backoff * 4; in libcfs_debug_vmsg2()
415 cdls->cdls_delay *= libcfs_console_backoff; in libcfs_debug_vmsg2()
418 if (cdls->cdls_delay < libcfs_console_min_delay) in libcfs_debug_vmsg2()
419 cdls->cdls_delay = libcfs_console_min_delay; in libcfs_debug_vmsg2()
[all …]
/drivers/staging/lustre/lustre/include/
Dlustre_net.h1668 #define debug_req(msgdata, mask, cdls, req, fmt, a...) \ argument
1670 CFS_CHECK_STACK(msgdata, mask, cdls); \
1685 static struct cfs_debug_limit_state cdls; \
1686 LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, level, &cdls); \
1687 debug_req(&msgdata, level, &cdls, req, "@@@ "fmt" ", ## args);\
Dlustre_dlm.h992 #define ldlm_lock_debug(msgdata, mask, cdls, lock, fmt, a...) do { \ argument
993 CFS_CHECK_STACK(msgdata, mask, cdls); \