Home
last modified time | relevance | path

Searched refs:buffer_used (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/sound/core/oss/ !
Dpcm_oss.c1087 runtime->oss.buffer_used = 0; in snd_pcm_oss_change_params_locked()
1163 runtime->oss.buffer_used = 0; in snd_pcm_oss_prepare()
1419 if (bytes < runtime->oss.period_bytes || runtime->oss.buffer_used > 0) { in snd_pcm_oss_write1()
1421 if (tmp + runtime->oss.buffer_used > runtime->oss.period_bytes) in snd_pcm_oss_write1()
1422 tmp = runtime->oss.period_bytes - runtime->oss.buffer_used; in snd_pcm_oss_write1()
1424 if (copy_from_user(runtime->oss.buffer + runtime->oss.buffer_used, buf, tmp)) { in snd_pcm_oss_write1()
1429 runtime->oss.buffer_used += tmp; in snd_pcm_oss_write1()
1434 runtime->oss.buffer_used == runtime->oss.period_bytes) { in snd_pcm_oss_write1()
1436 runtime->oss.buffer_used - runtime->oss.period_ptr, 1); in snd_pcm_oss_write1()
1443 runtime->oss.period_ptr == runtime->oss.buffer_used) in snd_pcm_oss_write1()
[all …]
/linux-5.19.10/drivers/net/wireless/broadcom/b43/ !
Dpio.c483 q->buffer_used += roundup(skb->len + hdrlen, 4); in pio_tx_frame()
523 B43_WARN_ON(q->buffer_used > q->buffer_size); in b43_pio_tx()
525 if (total_len > (q->buffer_size - q->buffer_used)) { in b43_pio_tx()
551 B43_WARN_ON(q->buffer_used > q->buffer_size); in b43_pio_tx()
552 if (((q->buffer_size - q->buffer_used) < roundup(2 + 2 + 6, 4)) || in b43_pio_tx()
582 q->buffer_used -= total_len; in b43_pio_handle_txstatus()
Dpio.h77 u16 buffer_used; member
/linux-5.19.10/include/sound/ !
Dpcm_oss.h43 size_t buffer_used; /* used length from period buffer */ member
/linux-5.19.10/drivers/staging/vc04_services/vchiq-mmal/ !
Dmmal-vchiq.c140 unsigned long buffer_used; member
262 buffer->length = msg_context->u.bulk.buffer_used; in buffer_work_cb()
288 unsigned long len = msg_context->u.bulk.buffer_used; in buffer_to_host_work_cb()
347 msg_context->u.bulk.buffer_used = rd_len; in bulk_receive()
366 msg_context->u.bulk.buffer_used = in inline_receive()
398 msg_context->u.bulk.buffer_used = 0; in buffer_from_host()
498 msg_context->u.bulk.buffer_used = 0; in buffer_to_host_cb()
523 msg_context->u.bulk.buffer_used = in buffer_to_host_cb()
/linux-5.19.10/net/sched/ !
Dsch_cake.c229 u32 buffer_used; member
1537 q->buffer_used -= skb->truesize; in cake_drop()
1761 q->buffer_used += segs->truesize; in cake_enqueue()
1788 q->buffer_used += skb->truesize - ack->truesize; in cake_enqueue()
1796 q->buffer_used += skb->truesize; in cake_enqueue()
1895 if (q->buffer_used > q->buffer_max_used) in cake_enqueue()
1896 q->buffer_max_used = q->buffer_used; in cake_enqueue()
1898 if (q->buffer_used > q->buffer_limit) { in cake_enqueue()
1901 while (q->buffer_used > q->buffer_limit) { in cake_enqueue()
1924 q->buffer_used -= skb->truesize; in cake_dequeue_one()
/linux-5.19.10/tools/perf/util/ !
Dcs-etm.c534 size_t buffer_used = 0; in cs_etm__dump_event() local
546 &((u8 *)buffer->data)[buffer_used], in cs_etm__dump_event()
547 buffer->size - buffer_used, &consumed); in cs_etm__dump_event()
551 buffer_used += consumed; in cs_etm__dump_event()
552 } while (buffer_used < buffer->size); in cs_etm__dump_event()