Home
last modified time | relevance | path

Searched refs:new_bytes (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/block/
H A Dreqlist.c69 void coroutine_fn reqlist_shrink_req(BlockReq *req, int64_t new_bytes) in reqlist_shrink_req() argument
71 if (new_bytes == req->bytes) { in reqlist_shrink_req()
75 assert(new_bytes > 0 && new_bytes < req->bytes); in reqlist_shrink_req()
77 req->bytes = new_bytes; in reqlist_shrink_req()
H A Dblock-copy.c233 int64_t new_bytes) in block_copy_task_shrink() argument
236 if (new_bytes == task->req.bytes) { in block_copy_task_shrink()
240 assert(new_bytes > 0 && new_bytes < task->req.bytes); in block_copy_task_shrink()
242 task->s->in_flight_bytes -= task->req.bytes - new_bytes; in block_copy_task_shrink()
244 task->req.offset + new_bytes, in block_copy_task_shrink()
245 task->req.bytes - new_bytes); in block_copy_task_shrink()
247 reqlist_shrink_req(&task->req, new_bytes); in block_copy_task_shrink()
H A Dio.c3547 int64_t old_size, new_bytes; in bdrv_co_truncate() local
3579 new_bytes = offset - old_size; in bdrv_co_truncate()
3581 new_bytes = 0; in bdrv_co_truncate()
3585 tracked_request_begin(&req, bs, offset - new_bytes, new_bytes, in bdrv_co_truncate()
3591 if (new_bytes) { in bdrv_co_truncate()
3594 ret = bdrv_co_write_req_prepare(child, offset - new_bytes, new_bytes, &req, in bdrv_co_truncate()
3615 if (new_bytes && backing) { in bdrv_co_truncate()
3659 bdrv_co_write_req_finish(child, offset - new_bytes, new_bytes, &req, 0); in bdrv_co_truncate()
/openbmc/linux/sound/soc/codecs/
H A Drt5677-spi.c309 size_t new_bytes, copy_bytes, period_bytes; in rt5677_spi_copy_work() local
345 new_bytes = mic_write_offset - rt5677_dsp->mic_read_offset; in rt5677_spi_copy_work()
347 new_bytes = RT5677_MIC_BUF_BYTES + mic_write_offset in rt5677_spi_copy_work()
352 while (new_bytes) { in rt5677_spi_copy_work()
353 copy_bytes = min(new_bytes, period_bytes in rt5677_spi_copy_work()
365 new_bytes -= copy_bytes; in rt5677_spi_copy_work()
/openbmc/qemu/include/block/
H A Dreqlist.h68 void coroutine_fn reqlist_shrink_req(BlockReq *req, int64_t new_bytes);
/openbmc/linux/include/linux/
H A Dperf_event.h1532 const void *new_bytes, size_t new_len);
1782 const void *new_bytes, in perf_event_text_poke() argument
/openbmc/linux/drivers/virtio/
H A Dvirtio_mem.c396 unsigned long new_bytes = old_bytes + 1; in virtio_mem_bbm_bb_states_prepare_next_bb() local
398 int new_pages = PFN_UP(new_bytes); in virtio_mem_bbm_bb_states_prepare_next_bb()
/openbmc/linux/tools/perf/util/
H A Dmachine.c1017 u8 *new_bytes = event->text_poke.bytes + event->text_poke.old_len; in machine__process_text_poke() local
1027 new_bytes, in machine__process_text_poke()
/openbmc/linux/kernel/events/
H A Dcore.c9368 const void *new_bytes; member
9408 __output_copy(&handle, text_poke_event->new_bytes, text_poke_event->new_len); in perf_event_text_poke_output()
9419 size_t old_len, const void *new_bytes, size_t new_len) in perf_event_text_poke() argument
9433 .new_bytes = new_bytes, in perf_event_text_poke()