Lines Matching refs:len
12 size_t len; in log_valist() local
14 len = vsnprintf(buffer, sizeof(buffer), str, args); in log_valist()
15 len = min(len, sizeof(buffer) - 1); in log_valist()
18 len = fio_server_text_output(FIO_LOG_INFO, buffer, len); in log_valist()
22 len = fwrite(buffer, len, 1, f_out); in log_valist()
24 return len; in log_valist()
27 int log_local_buf(const char *buf, size_t len) in log_local_buf() argument
32 len = fwrite(buf, len, 1, f_out); in log_local_buf()
34 return len; in log_local_buf()
41 size_t len; in log_info() local
44 len = vsnprintf(buffer, sizeof(buffer), format, args); in log_info()
46 len = min(len, sizeof(buffer) - 1); in log_info()
49 return fio_server_text_output(FIO_LOG_INFO, buffer, len); in log_info()
52 return len; in log_info()
54 return fwrite(buffer, len, 1, f_out); in log_info()
69 size_t len; in log_err() local
72 len = vsnprintf(buffer, sizeof(buffer), format, args); in log_err()
74 len = min(len, sizeof(buffer) - 1); in log_err()
77 return fio_server_text_output(FIO_LOG_ERR, buffer, len); in log_err()
80 return len; in log_err()
85 ret = fwrite(buffer, len, 1, stderr); in log_err()
88 return fwrite(buffer, len, 1, f_err); in log_err()