Searched refs:buffer_used (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/tools/perf/util/ |
D | cs-etm.c | 115 size_t buffer_used = 0; in cs_etm__dump_event() local 155 &((u8 *)buffer->data)[buffer_used], in cs_etm__dump_event() 156 buffer->size - buffer_used, &consumed); in cs_etm__dump_event() 160 buffer_used += consumed; in cs_etm__dump_event() 161 } while (buffer_used < buffer->size); in cs_etm__dump_event() 1004 size_t buffer_used, processed; in cs_etm__run_decoder() local 1012 buffer_used = 0; in cs_etm__run_decoder() 1031 &buffer.buf[buffer_used], in cs_etm__run_decoder() 1032 buffer.len - buffer_used, in cs_etm__run_decoder() 1038 buffer_used += processed; in cs_etm__run_decoder() [all …]
|
/Linux-v4.19/sound/core/oss/ |
D | pcm_oss.c | 1074 runtime->oss.buffer_used = 0; in snd_pcm_oss_change_params_locked() 1148 runtime->oss.buffer_used = 0; in snd_pcm_oss_prepare() 1400 if (bytes < runtime->oss.period_bytes || runtime->oss.buffer_used > 0) { in snd_pcm_oss_write1() 1402 if (tmp + runtime->oss.buffer_used > runtime->oss.period_bytes) in snd_pcm_oss_write1() 1403 tmp = runtime->oss.period_bytes - runtime->oss.buffer_used; in snd_pcm_oss_write1() 1405 if (copy_from_user(runtime->oss.buffer + runtime->oss.buffer_used, buf, tmp)) { in snd_pcm_oss_write1() 1410 runtime->oss.buffer_used += tmp; in snd_pcm_oss_write1() 1415 runtime->oss.buffer_used == runtime->oss.period_bytes) { in snd_pcm_oss_write1() 1417 runtime->oss.buffer_used - runtime->oss.period_ptr, 1); in snd_pcm_oss_write1() 1424 runtime->oss.period_ptr == runtime->oss.buffer_used) in snd_pcm_oss_write1() [all …]
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | pio.c | 496 q->buffer_used += roundup(skb->len + hdrlen, 4); in pio_tx_frame() 536 B43_WARN_ON(q->buffer_used > q->buffer_size); in b43_pio_tx() 538 if (total_len > (q->buffer_size - q->buffer_used)) { in b43_pio_tx() 564 B43_WARN_ON(q->buffer_used > q->buffer_size); in b43_pio_tx() 565 if (((q->buffer_size - q->buffer_used) < roundup(2 + 2 + 6, 4)) || in b43_pio_tx() 595 q->buffer_used -= total_len; in b43_pio_handle_txstatus()
|
D | pio.h | 77 u16 buffer_used; member
|
/Linux-v4.19/include/sound/ |
D | pcm_oss.h | 58 size_t buffer_used; /* used length from period buffer */ member
|
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-camera/ |
D | mmal-vchiq.c | 130 unsigned long buffer_used; member 247 msg_context->u.bulk.buffer_used, in buffer_work_cb() 290 msg_context->u.bulk.buffer_used = rd_len; in bulk_receive() 320 msg_context->u.bulk.buffer_used = 0; in dummy_bulk_receive() 346 msg_context->u.bulk.buffer_used = in inline_receive() 378 msg_context->u.bulk.buffer_used = 0; in buffer_from_host() 470 msg_context->u.bulk.buffer_used = 0; in buffer_to_host_cb() 495 msg_context->u.bulk.buffer_used = in buffer_to_host_cb()
|
/Linux-v4.19/net/sched/ |
D | sch_cake.c | 227 u32 buffer_used; member 1490 q->buffer_used -= skb->truesize; in cake_drop() 1687 q->buffer_used += segs->truesize; in cake_enqueue() 1715 q->buffer_used += skb->truesize - ack->truesize; in cake_enqueue() 1723 q->buffer_used += skb->truesize; in cake_enqueue() 1812 if (q->buffer_used > q->buffer_max_used) in cake_enqueue() 1813 q->buffer_max_used = q->buffer_used; in cake_enqueue() 1815 if (q->buffer_used > q->buffer_limit) { in cake_enqueue() 1818 while (q->buffer_used > q->buffer_limit) { in cake_enqueue() 1841 q->buffer_used -= skb->truesize; in cake_dequeue_one()
|