Searched refs:reg_flags (Results 1 – 2 of 2) sorted by relevance
370 uint8_t *reg_flags = NULL; in mm_app_stream_initbuf() local385 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * stream->num_of_bufs); in mm_app_stream_initbuf()386 if (pBufs == NULL || reg_flags == NULL) { in mm_app_stream_initbuf()391 if (reg_flags != NULL) { in mm_app_stream_initbuf()392 free(reg_flags); in mm_app_stream_initbuf()406 free(reg_flags); in mm_app_stream_initbuf()413 reg_flags[i] = 1; in mm_app_stream_initbuf()434 free(reg_flags); in mm_app_stream_initbuf()440 *initial_reg_flag = reg_flags; in mm_app_stream_initbuf()
2341 uint8_t *reg_flags = NULL; in mm_stream_init_bufs() local2352 &my_obj->total_buf_cnt, ®_flags, &my_obj->buf, in mm_stream_init_bufs()2356 my_obj->buf_status[i].initial_reg_flag = reg_flags[i]; in mm_stream_init_bufs()2376 if (reg_flags) { in mm_stream_init_bufs()2377 my_obj->buf[i].user_buf.buf_in_use = reg_flags[i]; in mm_stream_init_bufs()2397 free(reg_flags); in mm_stream_init_bufs()2398 reg_flags = NULL; in mm_stream_init_bufs()