Searched refs:alloc_pool (Results 1 – 2 of 2) sorted by relevance
133 static void * alloc_pool( /* Pointer to allocated memory block (NULL:no memory available) */ in alloc_pool() function176 pb = alloc_pool(jd, 64 * sizeof(int32_t)); /* Allocate a memory block for the table */ in create_qt_tbl()214 … pb = alloc_pool(jd, 16); /* Allocate a memory block for the bit distribution table */ in create_huffman_tbl()220 … ph = alloc_pool(jd, np * sizeof(uint16_t)); /* Allocate a memory block for the code word table */ in create_huffman_tbl()232 pd = alloc_pool(jd, np); /* Allocate a memory block for the decoded data */ in create_huffman_tbl()247 tbl_ac = alloc_pool(jd, HUFF_LEN * sizeof(uint16_t)); /* LUT for AC elements */ in create_huffman_tbl()253 tbl_dc = alloc_pool(jd, HUFF_LEN * sizeof(uint8_t)); /* LUT for AC elements */ in create_huffman_tbl()964 jd->inbuf = seg = alloc_pool(jd, JD_SZBUF); /* Allocate stream input buffer */ in jd_prepare()1059 jd->workbuf = alloc_pool(jd, in jd_prepare()1062 … jd->mcubuf = alloc_pool(jd, (n + 2) * 64 * sizeof(jd_yuv_t)); /* Allocate MCU working buffer */ in jd_prepare()
131 static struct smm_pool * alloc_pool(void);417 smm_instance.active = alloc_pool(); in get_from_pool()583 struct smm_pool * alloc_pool(void) in alloc_pool() function