Lines Matching refs:slot_max
68 RK_U32 slot_max; member
92 if (impl->slot_cnt >= impl->slot_max) { in add_new_slot()
93 impl->slots = mpp_realloc(impl->slots, FileBufSlot*, impl->slot_max * 2); in add_new_slot()
97 impl->slot_max *= 2; in add_new_slot()
101 mpp_assert(impl->slot_cnt < impl->slot_max); in add_new_slot()
210 impl->slot_max = 1024; /* preset 1024 file slots */ in check_file_type()
223 impl->slot_max = 1; in check_file_type()
239 impl->slot_max = 1024; /* preset 1024 file slots */ in check_file_type()
264 if (impl->slot_rd_idx >= impl->slot_max) { in reader_read()
265 mpp_log_f("invalid read index % max %d\n", impl->slot_rd_idx, impl->slot_max); in reader_read()
293 if (index >= (RK_S32)impl->slot_max) { in reader_index_read()
294 mpp_log_f("invalid read index % max %d\n", index, impl->slot_max); in reader_index_read()
339 impl->slots = mpp_calloc(FileBufSlot*, impl->slot_max); in reader_init()