Searched refs:ulog_fs_tmp (Results 1 – 1 of 1) sorted by relevance
34 static char *ulog_fs_tmp[ULOG_RESERVED_FS_SIZE] = { NULL }; variable45 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()65 if (NULL != ulog_fs_tmp[tmp_queue_out]) { in pop_fs_tmp()66 strncpy(data, ulog_fs_tmp[tmp_queue_out], len - 1); in pop_fs_tmp()67 aos_free(ulog_fs_tmp[tmp_queue_out]); in pop_fs_tmp()68 ulog_fs_tmp[tmp_queue_out] = NULL; in pop_fs_tmp()
Completed in 3 milliseconds