Home
last modified time | relevance | path

Searched refs:src_off (Results 1 – 18 of 18) sorted by relevance

/Linux-v4.19/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c17 static void do_one(char *src, char *dst, unsigned long src_off, in do_one() argument
25 srcp = src + MIN_REDZONE + src_off; in do_one()
66 unsigned long len, src_off, dst_off; in test_copy_loop() local
86 for (src_off = 0; src_off < MAX_OFFSET; src_off++) { in test_copy_loop()
88 do_one(src, dst, src_off, dst_off, len, in test_copy_loop()
/Linux-v4.19/drivers/dma/
Ddmatest.c386 static void result(const char *err, unsigned int n, unsigned int src_off, in result() argument
390 current->comm, n, err, src_off, dst_off, len, data); in result()
393 static void dbg_result(const char *err, unsigned int n, unsigned int src_off, in dbg_result() argument
398 current->comm, n, err, src_off, dst_off, len, data); in dbg_result()
401 #define verbose_result(err, n, src_off, dst_off, len, data) ({ \ argument
403 result(err, n, src_off, dst_off, len, data); \
405 dbg_result(err, n, src_off, dst_off, len, data);\
575 unsigned int src_off, dst_off, len; in dmatest_func() local
604 src_off = 0; in dmatest_func()
607 src_off = dmatest_random() % (params->buf_size - len + 1); in dmatest_func()
[all …]
/Linux-v4.19/net/smc/
Dsmc_tx.c316 size_t src_off, size_t src_len, in smcr_tx_rdma_writes() argument
324 int sent_count = src_off; in smcr_tx_rdma_writes()
332 sges[srcchunk].addr = dma_addr + src_off; in smcr_tx_rdma_writes()
337 src_off += src_len; in smcr_tx_rdma_writes()
338 if (src_off >= conn->sndbuf_desc->len) in smcr_tx_rdma_writes()
339 src_off -= conn->sndbuf_desc->len; in smcr_tx_rdma_writes()
365 size_t src_off, size_t src_len, in smcd_tx_rdma_writes() argument
374 void *data = conn->sndbuf_desc->cpu_addr + src_off; in smcd_tx_rdma_writes()
381 src_off += src_len; in smcd_tx_rdma_writes()
382 if (src_off >= conn->sndbuf_desc->len) in smcd_tx_rdma_writes()
[all …]
/Linux-v4.19/fs/nfs/
Dnfs4file.c183 static int nfs42_clone_file_range(struct file *src_file, loff_t src_off, in nfs42_clone_file_range() argument
196 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_clone_file_range()
198 if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) in nfs42_clone_file_range()
225 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_clone_file_range()
/Linux-v4.19/arch/x86/xen/
Dsetup.c671 phys_addr_t dest_off, src_off, dest_len, src_len, len; in xen_phys_memcpy() local
676 src_off = src & ~PAGE_MASK; in xen_phys_memcpy()
681 if (src_len > (NR_FIX_BTMAPS << PAGE_SHIFT) - src_off) in xen_phys_memcpy()
682 src_len = (NR_FIX_BTMAPS << PAGE_SHIFT) - src_off; in xen_phys_memcpy()
685 from = early_memremap(src - src_off, src_len + src_off); in xen_phys_memcpy()
688 early_memunmap(from, src_len + src_off); in xen_phys_memcpy()
/Linux-v4.19/crypto/async_tx/
Dasync_pq.c65 int src_off = 0; in do_async_gen_syndrome() local
95 &unmap->addr[src_off], in do_async_gen_syndrome()
97 &scfs[src_off], unmap->len, in do_async_gen_syndrome()
111 src_off += pq_src_cnt; in do_async_gen_syndrome()
Dasync_xor.c118 int src_off = 0; in do_sync_xor() local
141 xor_blocks(xor_src_cnt, len, dest_buf, &srcs[src_off]); in do_sync_xor()
145 src_off += xor_src_cnt; in do_sync_xor()
/Linux-v4.19/Documentation/driver-api/dmaengine/
Ddmatest.rst95 …"dmatest: result <channel>: <test id>: '<error msg>' with src_off=<val> dst_off=<val> len=<val> (<…
100 dmatest: result dma0chan0-copy0: #1: No errors with src_off=0x7bf dst_off=0x8ad len=0x3fea (0)
/Linux-v4.19/fs/pstore/
Dram.c190 size_t dest_size, src_size, total, dest_off, src_off; in ftrace_log_combine() local
199 src_off = src->old_log_size % record_size; in ftrace_log_combine()
200 src_size = src->old_log_size - src_off; in ftrace_log_combine()
208 srec = (struct pstore_ftrace_record *)(src->old_log + src_off); in ftrace_log_combine()
/Linux-v4.19/sound/drivers/
Daloop.c405 unsigned int src_off = play->buf_pos; in copy_play_buf() local
428 if (src_off + size > play->pcm_buffer_size) in copy_play_buf()
429 size = play->pcm_buffer_size - src_off; in copy_play_buf()
432 memcpy(dst + dst_off, src + src_off, size); in copy_play_buf()
437 src_off = (src_off + size) % play->pcm_buffer_size; in copy_play_buf()
/Linux-v4.19/drivers/mmc/host/
Dtifm_sd.c212 struct page *src, unsigned int src_off, in tifm_sd_copy_page() argument
215 unsigned char *src_buf = kmap_atomic(src) + src_off; in tifm_sd_copy_page()
221 kunmap_atomic(src_buf - src_off); in tifm_sd_copy_page()
/Linux-v4.19/fs/cifs/
Dsmb2ops.c1063 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_copychunk_range() argument
1098 pcchunk->SourceOffset = cpu_to_le64(src_off); in smb2_copychunk_range()
1138 src_off += bytes_written; in smb2_copychunk_range()
1310 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_duplicate_extents() argument
1325 dup_ext_buf.SourceFileOffset = cpu_to_le64(src_off); in smb2_duplicate_extents()
1329 src_off, dest_off, len); in smb2_duplicate_extents()
Dcifsglob.h433 u64 src_off, u64 len, u64 dest_off);
435 struct cifsFileInfo *target_file, u64 src_off, u64 len,
/Linux-v4.19/fs/btrfs/
Draid56.c496 int src_off = 0; in run_xor() local
502 xor_blocks(xor_src_cnt, len, dest, pages + src_off); in run_xor()
505 src_off += xor_src_cnt; in run_xor()
Dextent_io.c5744 unsigned long dst_off, unsigned long src_off, in copy_pages() argument
5755 if (areas_overlap(src_off, dst_off, len)) in copy_pages()
5760 memmove(dst_kaddr + dst_off, src_kaddr + src_off, len); in copy_pages()
5762 memcpy(dst_kaddr + dst_off, src_kaddr + src_off, len); in copy_pages()
/Linux-v4.19/drivers/video/fbdev/
Dudlfb.c1455 char *src, loff_t src_off, size_t src_size) { in edid_store() argument
1462 if ((src_size != EDID_LENGTH) || (src_off != 0)) in edid_store()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1970 u64 *dst_off, *src_off; in cudbg_collect_dump_context() local
2039 src_off = (u64 *)(ctx_buf + j * SGE_CTXT_SIZE); in cudbg_collect_dump_context()
2046 dst_off[k] = cpu_to_be64(src_off[k]); in cudbg_collect_dump_context()
/Linux-v4.19/fs/f2fs/
Dsegment.c3501 pgoff_t src_off, dst_off; in get_next_sit_page() local
3503 src_off = current_sit_addr(sbi, start); in get_next_sit_page()
3504 dst_off = next_sit_addr(sbi, src_off); in get_next_sit_page()