Searched refs:tmp_queue_in (Results 1 – 1 of 1) sorted by relevance
36 static uint16_t tmp_queue_in = 0; variable44 if (NULL != data && len != 0 && ((tmp_queue_in + 1) % ULOG_RESERVED_FS_SIZE) != tmp_queue_out) { in push_fs_tmp()45 if (NULL == ulog_fs_tmp[tmp_queue_in]) { in push_fs_tmp()46 ulog_fs_tmp[tmp_queue_in] = (char *)aos_malloc(len + 1); in push_fs_tmp()47 if (NULL != ulog_fs_tmp[tmp_queue_in]) { in push_fs_tmp()48 memcpy(ulog_fs_tmp[tmp_queue_in], data, len); in push_fs_tmp()49 ulog_fs_tmp[tmp_queue_in][len] = '\0'; in push_fs_tmp()50 tmp_queue_in = (tmp_queue_in + 1) % ULOG_RESERVED_FS_SIZE; in push_fs_tmp()62 if (tmp_queue_in == tmp_queue_out) { in pop_fs_tmp()
Completed in 3 milliseconds