Searched refs:reg_flags (Results 1 – 7 of 7) sorted by relevance
340 uint8_t *reg_flags = NULL; in mm_app_stream_initbuf() local348 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * stream->num_of_bufs); in mm_app_stream_initbuf()349 if (pBufs == NULL || reg_flags == NULL) { in mm_app_stream_initbuf()354 if (reg_flags != NULL) { in mm_app_stream_initbuf()355 free(reg_flags); in mm_app_stream_initbuf()368 free(reg_flags); in mm_app_stream_initbuf()375 reg_flags[i] = 1; in mm_app_stream_initbuf()394 free(reg_flags); in mm_app_stream_initbuf()400 *initial_reg_flag = reg_flags; in mm_app_stream_initbuf()
1225 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local1246 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * my_obj->buf_num); in mm_stream_init_bufs()1250 NULL == reg_flags) { in mm_stream_init_bufs()1258 memset(reg_flags, 0, sizeof(uint8_t) * my_obj->buf_num); in mm_stream_init_bufs()1267 reg_flags, in mm_stream_init_bufs()1276 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()1280 free(reg_flags); in mm_stream_init_bufs()1281 reg_flags = NULL; in mm_stream_init_bufs()1328 if (NULL != reg_flags) { in mm_stream_init_bufs()1329 free(reg_flags); in mm_stream_init_bufs()[all …]
354 uint8_t *reg_flags = NULL; in mm_app_stream_initbuf() local367 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * stream->num_of_bufs); in mm_app_stream_initbuf()368 if (pBufs == NULL || reg_flags == NULL) { in mm_app_stream_initbuf()373 if (reg_flags != NULL) { in mm_app_stream_initbuf()374 free(reg_flags); in mm_app_stream_initbuf()388 free(reg_flags); in mm_app_stream_initbuf()395 reg_flags[i] = 1; in mm_app_stream_initbuf()414 free(reg_flags); in mm_app_stream_initbuf()420 *initial_reg_flag = reg_flags; in mm_app_stream_initbuf()
1403 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local1419 ®_flags, in mm_stream_init_bufs()1435 free(reg_flags); in mm_stream_init_bufs()1441 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()1446 free(reg_flags); in mm_stream_init_bufs()1447 reg_flags = NULL; in mm_stream_init_bufs()
1395 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local1410 ®_flags, in mm_stream_init_bufs()1426 free(reg_flags); in mm_stream_init_bufs()1432 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()1437 free(reg_flags); in mm_stream_init_bufs()1438 reg_flags = NULL; in mm_stream_init_bufs()
1427 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local1442 ®_flags, in mm_stream_init_bufs()1458 free(reg_flags); in mm_stream_init_bufs()1464 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()1469 free(reg_flags); in mm_stream_init_bufs()1470 reg_flags = NULL; in mm_stream_init_bufs()