Lines Matching full:size
20 * @param buf_size buffer size
50 * @param buf_size buffer size
123 * Allocate a block by given size. The block will add to blk_list when allocate success.
126 * @param blk_size block size
161 empty1 = (rbb->buf + rbb->buf_size) - (tail->buf + tail->size); in rt_rbb_blk_alloc()
168 new->buf = tail->buf + tail->size; in rt_rbb_blk_alloc()
169 new->size = blk_size; in rt_rbb_blk_alloc()
176 new->size = blk_size; in rt_rbb_blk_alloc()
193 empty1 = head->buf - (tail->buf + tail->size); in rt_rbb_blk_alloc()
199 new->buf = tail->buf + tail->size; in rt_rbb_blk_alloc()
200 new->size = blk_size; in rt_rbb_blk_alloc()
215 new->size = blk_size; in rt_rbb_blk_alloc()
285 * return the block size
289 * @return block size
295 return block->size; in rt_rbb_blk_size()
340 * get a continuous block to queue by given size
357 * @param queue_data_len The max queue data size, and the return size must less then it.
360 * @return the block queue data total size
406 data_total_size + block->size > queue_data_len) in rt_rbb_blk_queue_get()
415 data_total_size += last_block->size; in rt_rbb_blk_queue_get()
441 data_total_size += blk_queue->blocks[i].size; in rt_rbb_blk_queue_len()
532 data_len += last_block->size; in rt_rbb_next_blk_queue_len()
542 * get the ring block buffer object buffer size
546 * @return buffer size