Searched refs:current_size (Results 1 – 3 of 3) sorted by relevance
168 int current_size; in tlm_get_read_buffer() local180 current_size = buffer->tb_buffer_size - buffer->tb_buffer_spot; in tlm_get_read_buffer()181 if (buffer->tb_full && current_size <= 0) { in tlm_get_read_buffer()194 current_size = buffer->tb_buffer_size - buffer->tb_buffer_spot; in tlm_get_read_buffer()212 current_size = buffer->tb_buffer_size - buffer->tb_buffer_spot; in tlm_get_read_buffer()216 if (current_size <= 0) in tlm_get_read_buffer()219 current_size = min(want, current_size); in tlm_get_read_buffer()221 buffer->tb_buffer_spot += current_size; in tlm_get_read_buffer()222 *actual_size = current_size; in tlm_get_read_buffer()244 int current_size; in tlm_unget_read_buffer() local[all …]
138 uchar_t *extend_tbl(uchar_t *tbl, unsigned int *current_size,678 extend_tbl(uchar_t *tbl, unsigned int *current_size, unsigned int new_size) in extend_tbl() argument687 if (tbl && (*current_size < new_size)) { in extend_tbl()697 *current_size = new_size; in extend_tbl()
1107 adt_adjust_address(void *current_address, size_t current_size, in adt_adjust_address() argument1113 adjustment = (size_t)current_address + current_size; in adt_adjust_address()