Searched refs:FC_MAX_TRACE_BUF_LEN (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/uts/common/sys/fibre-channel/impl/ |
H A D | fctl_private.h | 65 #define FC_MAX_TRACE_BUF_LEN 512 macro
|
/titanic_50/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 6014 char buf[FC_MAX_TRACE_BUF_LEN + 3]; /* 3 is for "\n" */ in fc_trace_debug() 6024 cnt = snprintf(buf, FC_MAX_TRACE_BUF_LEN + 1, "%d=>%s::", in fc_trace_debug() 6027 cnt = snprintf(buf, FC_MAX_TRACE_BUF_LEN + 1, "%d=>trace::", in fc_trace_debug() 6031 if (cnt < FC_MAX_TRACE_BUF_LEN) { in fc_trace_debug() 6033 cnt += vsnprintf(buf + cnt, FC_MAX_TRACE_BUF_LEN + 1 - cnt, in fc_trace_debug() 6038 if (cnt > FC_MAX_TRACE_BUF_LEN) { in fc_trace_debug() 6039 cnt = FC_MAX_TRACE_BUF_LEN; in fc_trace_debug() 6041 if (errno && (cnt < FC_MAX_TRACE_BUF_LEN)) { in fc_trace_debug() 6042 cnt += snprintf(buf + cnt, FC_MAX_TRACE_BUF_LEN + 1 - cnt, in fc_trace_debug() 6045 (void) snprintf(buf + cnt, FC_MAX_TRACE_BUF_LEN + 3 - cnt, "\n"); in fc_trace_debug()
|