Searched refs:copy_bytes (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/target/ |
D | target_core_user.c | 364 size_t copy_bytes = min((size_t)sg->length, in tcmu_queue_cmd_ring() local 370 memcpy(to, from, copy_bytes); in tcmu_queue_cmd_ring() 371 tcmu_flush_dcache_range(to, copy_bytes); in tcmu_queue_cmd_ring() 375 iov->iov_len = copy_bytes; in tcmu_queue_cmd_ring() 381 UPDATE_HEAD(udev->data_head, copy_bytes, udev->data_size); in tcmu_queue_cmd_ring() 384 if (sg->length != copy_bytes) { in tcmu_queue_cmd_ring() 385 from += copy_bytes; in tcmu_queue_cmd_ring() 386 copy_bytes = sg->length - copy_bytes; in tcmu_queue_cmd_ring() 388 iov->iov_len = copy_bytes; in tcmu_queue_cmd_ring() 394 memcpy(to, from, copy_bytes); in tcmu_queue_cmd_ring() [all …]
|
/linux-4.1.27/sound/core/oss/ |
D | mulaw.c | 152 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() 287 data->copy_bytes = data->native_bytes < 2 ? 1 : 2; in init_data() 289 data->native_ofs = data->native_bytes - data->copy_bytes; in init_data() 290 data->copy_ofs = 2 - data->copy_bytes; in init_data()
|
D | linear.c | 38 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() 126 data->copy_bytes = src_bytes < dst_bytes ? src_bytes : dst_bytes; in init_data() 128 data->copy_ofs = 4 - data->copy_bytes; in init_data() 129 data->src_ofs = src_bytes - data->copy_bytes; in init_data()
|
/linux-4.1.27/drivers/ntb/ |
D | ntb_transport.c | 71 static unsigned int copy_bytes = 1024; variable 72 module_param(copy_bytes, uint, 0644); 73 MODULE_PARM_DESC(copy_bytes, "Threshold under which NTB will use the CPU to copy instead of DMA"); 1070 if (len < copy_bytes) in ntb_async_rx() 1296 if (len < copy_bytes) in ntb_async_tx()
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
D | octeon-memcpy.S | 349 beq rem, len, copy_bytes 363 copy_bytes: label
|
/linux-4.1.27/lib/ |
D | decompress_unlzma.c | 335 static inline int INIT copy_bytes(struct writer *wr, in copy_bytes() function 532 return copy_bytes(wr, cst->rep0, len); in process_bit1()
|
/linux-4.1.27/tools/perf/util/ |
D | symbol-elf.c | 1176 static int copy_bytes(int from, off_t from_offs, int to, off_t to_offs, u64 len) in copy_bytes() function 1684 if (copy_bytes(kcore.fd, kci.kernel_map.offset, extract.fd, offset, in kcore_copy() 1688 if (modules_offset && copy_bytes(kcore.fd, kci.modules_map.offset, in kcore_copy() 1742 if (copy_bytes(kcore.fd, kce->offs, extract.fd, offset, kce->len)) in kcore_extract__create()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_log.c | 1944 int copy_bytes) in xlog_state_finish_copy() argument 1949 iclog->ic_offset += copy_bytes; in xlog_state_finish_copy()
|