Home
last modified time | relevance | path

Searched refs:copy_bytes (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/fs/btrfs/
Dverity.c224 unsigned long copy_bytes; in write_key_bytes() local
249 copy_bytes = min_t(u64, len, 2048); in write_key_bytes()
251 ret = btrfs_insert_empty_item(trans, root, path, &key, copy_bytes); in write_key_bytes()
261 (unsigned long)data, copy_bytes); in write_key_bytes()
262 offset += copy_bytes; in write_key_bytes()
263 src_offset += copy_bytes; in write_key_bytes()
264 len -= copy_bytes; in write_key_bytes()
307 unsigned long copy_bytes; in read_key_bytes() local
368 copy_bytes = copy_end - offset; in read_key_bytes()
380 copy_bytes); in read_key_bytes()
[all …]
/linux-6.12.1/sound/core/oss/
Dmulaw.c152 unsigned int copy_bytes; /* bytes to copy per conversion */ member
162 if (data->native_bytes > data->copy_bytes) in cvt_s16_to_native()
165 data->copy_bytes); in cvt_s16_to_native()
207 data->copy_bytes); in cvt_native_to_s16()
289 data->copy_bytes = data->native_bytes < 2 ? 1 : 2; in init_data()
291 data->native_ofs = data->native_bytes - data->copy_bytes; in init_data()
292 data->copy_ofs = 2 - data->copy_bytes; in init_data()
Dlinear.c38 unsigned int copy_bytes; /* bytes to copy per conversion */ member
48 memcpy(p + data->copy_ofs, src + data->src_ofs, data->copy_bytes); in do_convert()
128 data->copy_bytes = src_bytes < dst_bytes ? src_bytes : dst_bytes; in init_data()
130 data->copy_ofs = 4 - data->copy_bytes; in init_data()
131 data->src_ofs = src_bytes - data->copy_bytes; in init_data()
/linux-6.12.1/drivers/accel/ivpu/
Divpu_ms.c106 u64 copy_bytes; in copy_leftover_bytes() local
109 copy_bytes = min(user_size - *user_bytes_copied, ms->leftover_bytes); in copy_leftover_bytes()
110 if (copy_to_user(user_ptr + *user_bytes_copied, ms->leftover_addr, copy_bytes)) in copy_leftover_bytes()
113 ms->leftover_bytes -= copy_bytes; in copy_leftover_bytes()
114 ms->leftover_addr += copy_bytes; in copy_leftover_bytes()
115 *user_bytes_copied += copy_bytes; in copy_leftover_bytes()
/linux-6.12.1/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c541 u32 copy_bytes, ring_bytes; in netup_unidvb_ring_copy() local
554 copy_bytes = (ring_bytes > buff_bytes) ? in netup_unidvb_ring_copy()
556 memcpy_fromio(p, (u8 __iomem *)(dma->addr_virt + dma->data_offset), copy_bytes); in netup_unidvb_ring_copy()
557 p += copy_bytes; in netup_unidvb_ring_copy()
558 buf->size += copy_bytes; in netup_unidvb_ring_copy()
559 buff_bytes -= copy_bytes; in netup_unidvb_ring_copy()
560 dma->data_size -= copy_bytes; in netup_unidvb_ring_copy()
561 dma->data_offset += copy_bytes; in netup_unidvb_ring_copy()
567 copy_bytes = (ring_bytes > buff_bytes) ? in netup_unidvb_ring_copy()
569 memcpy_fromio(p, (u8 __iomem *)(dma->addr_virt + dma->data_offset), copy_bytes); in netup_unidvb_ring_copy()
[all …]
/linux-6.12.1/drivers/media/pci/cobalt/
Dcobalt-omnitek.c157 unsigned copy_bytes = width; in descriptor_list_create() local
168 copy_bytes = stride = size; in descriptor_list_create()
194 copy_bytes - copied); in descriptor_list_create()
234 if (copied == copy_bytes) { in descriptor_list_create()
/linux-6.12.1/sound/soc/codecs/
Drt5677-spi.c309 size_t new_bytes, copy_bytes, period_bytes; in rt5677_spi_copy_work() local
353 copy_bytes = min(new_bytes, period_bytes in rt5677_spi_copy_work()
355 ret = rt5677_spi_copy(rt5677_dsp, copy_bytes); in rt5677_spi_copy_work()
360 rt5677_dsp->avail_bytes += copy_bytes; in rt5677_spi_copy_work()
365 new_bytes -= copy_bytes; in rt5677_spi_copy_work()
/linux-6.12.1/lib/
Ddecompress_unlzma.c337 static inline int INIT copy_bytes(struct writer *wr, in copy_bytes() function
534 return copy_bytes(wr, cst->rep0, len); in process_bit1()
/linux-6.12.1/arch/mips/cavium-octeon/
Docteon-memcpy.S344 beq rem, len, copy_bytes
358 copy_bytes: label
/linux-6.12.1/drivers/ntb/
Dntb_transport.c88 static unsigned int copy_bytes = 1024; variable
89 module_param(copy_bytes, uint, 0644);
90 MODULE_PARM_DESC(copy_bytes, "Threshold under which NTB will use the CPU to copy instead of DMA");
1619 if (entry->len < copy_bytes) in ntb_async_rx()
1899 if (entry->len < copy_bytes) in ntb_async_tx()
/linux-6.12.1/tools/perf/util/
Dsymbol-elf.c1945 static int copy_bytes(int from, off_t from_offs, int to, off_t to_offs, u64 len) in copy_bytes() function
2613 if (copy_bytes(kcore.fd, p->offset, extract.fd, offs, p->len)) in kcore_copy()
2666 if (copy_bytes(kcore.fd, kce->offs, extract.fd, offset, kce->len)) in kcore_extract__create()
/linux-6.12.1/tools/perf/
Dbuiltin-inject.c242 static int copy_bytes(struct perf_inject *inject, struct perf_data *data, off_t size) in copy_bytes() function
287 ret = copy_bytes(inject, session->data, in perf_event__repipe_auxtrace()
/linux-6.12.1/fs/xfs/
Dxfs_log.c1899 int copy_bytes) in xlog_state_finish_copy() argument
1904 iclog->ic_offset += copy_bytes; in xlog_state_finish_copy()