Searched refs:buffer_used (Results 1 – 7 of 7) sorted by relevance
1076 runtime->oss.buffer_used = 0; in snd_pcm_oss_change_params_locked()1152 runtime->oss.buffer_used = 0; in snd_pcm_oss_prepare()1408 if (bytes < runtime->oss.period_bytes || runtime->oss.buffer_used > 0) { in snd_pcm_oss_write1()1410 if (tmp + runtime->oss.buffer_used > runtime->oss.period_bytes) in snd_pcm_oss_write1()1411 tmp = runtime->oss.period_bytes - runtime->oss.buffer_used; in snd_pcm_oss_write1()1413 if (copy_from_user(runtime->oss.buffer + runtime->oss.buffer_used, buf, tmp)) { in snd_pcm_oss_write1()1418 runtime->oss.buffer_used += tmp; in snd_pcm_oss_write1()1423 runtime->oss.buffer_used == runtime->oss.period_bytes) { in snd_pcm_oss_write1()1425 runtime->oss.buffer_used - runtime->oss.period_ptr, 1); in snd_pcm_oss_write1()1432 runtime->oss.period_ptr == runtime->oss.buffer_used) in snd_pcm_oss_write1()[all …]
483 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()
77 u16 buffer_used; member
43 size_t buffer_used; /* used length from period buffer */ member
141 unsigned long buffer_used; member263 buffer->length = msg_context->u.bulk.buffer_used; in buffer_work_cb()289 unsigned long len = msg_context->u.bulk.buffer_used; in buffer_to_host_work_cb()348 msg_context->u.bulk.buffer_used = rd_len; in bulk_receive()367 msg_context->u.bulk.buffer_used = in inline_receive()399 msg_context->u.bulk.buffer_used = 0; in buffer_from_host()499 msg_context->u.bulk.buffer_used = 0; in buffer_to_host_cb()524 msg_context->u.bulk.buffer_used = in buffer_to_host_cb()
230 u32 buffer_used; member1524 q->buffer_used -= skb->truesize; in cake_drop()1748 q->buffer_used += segs->truesize; in cake_enqueue()1775 q->buffer_used += skb->truesize - ack->truesize; in cake_enqueue()1783 q->buffer_used += skb->truesize; in cake_enqueue()1882 if (q->buffer_used > q->buffer_max_used) in cake_enqueue()1883 q->buffer_max_used = q->buffer_used; in cake_enqueue()1885 if (q->buffer_used > q->buffer_limit) { in cake_enqueue()1888 while (q->buffer_used > q->buffer_limit) { in cake_enqueue()1911 q->buffer_used -= skb->truesize; in cake_dequeue_one()
874 size_t buffer_used = 0; in cs_etm__dump_event() local886 &((u8 *)buffer->data)[buffer_used], in cs_etm__dump_event()887 buffer->size - buffer_used, &consumed); in cs_etm__dump_event()891 buffer_used += consumed; in cs_etm__dump_event()892 } while (buffer_used < buffer->size); in cs_etm__dump_event()