Searched refs:log_id (Results 1 – 1 of 1) sorted by relevance
71 typedef int (*logger_function_t)(log_id_t log_id, struct iovec *vec);79 static int __write_to_log_init(log_id_t log_id, struct iovec *vec);80 static int __write_to_log_null(log_id_t log_id, struct iovec *vec);91 static int __write_to_log_null(log_id_t log_id, struct iovec *vec) in __write_to_log_null() argument112 static int __write_to_log_kernel(log_id_t log_id, struct iovec *vec) in __write_to_log_kernel() argument114 return TEMP_FAILURE_RETRY( writev(log_channels[log_id].fd, vec, 3) ); in __write_to_log_kernel()118 static int __write_to_log_init(log_id_t log_id, struct iovec *vec) in __write_to_log_init() argument120 if ((LOG_ID_NONE < log_id) && (log_id < LOG_ID_MAX)) { in __write_to_log_init()125 fd = TEMP_FAILURE_RETRY(open(log_channels[log_id].path, O_WRONLY)); in __write_to_log_init()127 log_channels[log_id].logger = in __write_to_log_init()[all …]