Lines Matching refs:ulog_file_name

262     char ulog_file_name[ULOG_FILE_PATH_SIZE] = { 0 };  in log_file_exist()  local
266 … snprintf(ulog_file_name, sizeof(ulog_file_name), ULOG_FILE_FORMAT, guc_logfile_path, file_idx); in log_file_exist()
267 fd = aos_open(ulog_file_name, (O_RDWR | O_CREAT | O_EXCL) in log_file_exist()
272 SESSION_FS_DEBUG("check if file %s exist %d\n", ulog_file_name, fd); in log_file_exist()
277 SESSION_FS_DEBUG("file %s alreay exist\n", ulog_file_name); in log_file_exist()
282 SESSION_FS_DEBUG("file %s alreay exist\n", ulog_file_name); in log_file_exist()
289 aos_unlink(ulog_file_name); in log_file_exist()
298 char ulog_file_name[ULOG_FILE_PATH_SIZE] = { 0 }; in open_create_log_file() local
300 snprintf(ulog_file_name, sizeof(ulog_file_name), ULOG_FILE_FORMAT, guc_logfile_path, file_idx); in open_create_log_file()
301 SESSION_FS_DEBUG("open create log %s\n", ulog_file_name); in open_create_log_file()
302 aos_unlink(ulog_file_name); in open_create_log_file()
303 fd = aos_open(ulog_file_name, (O_RDWR | O_CREAT | O_TRUNC) in open_create_log_file()
314 SESSION_FS_INFO("open create file %s fail fd %d, errno %d\n", ulog_file_name, fd, errno); in open_create_log_file()
322 char ulog_file_name[ULOG_FILE_PATH_SIZE]; in open_log_file() local
323 memset(ulog_file_name, 0, sizeof(ulog_file_name)); in open_log_file()
324 snprintf(ulog_file_name, sizeof(ulog_file_name), ULOG_FILE_FORMAT, guc_logfile_path, file_idx); in open_log_file()
325 fd = aos_open(ulog_file_name, flag); in open_log_file()
329 SESSION_FS_INFO("seek fail %s %d\n", ulog_file_name, seek_off); in open_log_file()
334 SESSION_FS_INFO("open %s flag %d fail fd %d\n", ulog_file_name, flag, fd); in open_log_file()
501 char ulog_file_name[ULOG_FILE_PATH_SIZE] = { 0 }; in reload_log_argu() local
513 … snprintf(ulog_file_name, sizeof(ulog_file_name), ULOG_FILE_FORMAT, guc_logfile_path, tmp_idx); in reload_log_argu()
514 rc = aos_stat(ulog_file_name, &st_logstat); in reload_log_argu()