Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c18 unsigned long dst_off, unsigned long len, void *redzone, in do_one() argument
26 dstp = dst + MIN_REDZONE + dst_off; in do_one()
66 unsigned long len, src_off, dst_off; in test_copy_loop() local
87 for (dst_off = 0; dst_off < MAX_OFFSET; dst_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.c387 unsigned int dst_off, unsigned int len, unsigned long data) in result() argument
390 current->comm, n, err, src_off, dst_off, len, data); in result()
394 unsigned int dst_off, unsigned int len, 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
605 dst_off = 0; in dmatest_func()
608 dst_off = dmatest_random() % (params->buf_size - len + 1); in dmatest_func()
[all …]
/Linux-v4.19/net/smc/
Dsmc_tx.c317 size_t dst_off, size_t dst_len) in smcr_tx_rdma_writes() argument
347 rc = smc_tx_rdma_write(conn, dst_off, num_sges, sges); in smcr_tx_rdma_writes()
353 dst_off = 0; /* modulo offset in RMBE ring buffer */ in smcr_tx_rdma_writes()
366 size_t dst_off, size_t dst_len) in smcd_tx_rdma_writes() argument
376 rc = smcd_tx_ism_write(conn, data, src_len, dst_off + in smcd_tx_rdma_writes()
380 dst_off += src_len; in smcd_tx_rdma_writes()
394 dst_off = 0; /* modulo offset in RMBE ring buffer */ in smcd_tx_rdma_writes()
408 size_t len, src_len, dst_off, dst_len; /* current chunk values */ in smc_tx_rdma_writes() local
437 dst_off = prod.count; in smc_tx_rdma_writes()
464 dst_off, dst_len); in smc_tx_rdma_writes()
[all …]
/Linux-v4.19/fs/nfs/
Dnfs4file.c184 struct file *dst_file, loff_t dst_off, u64 count) in nfs42_clone_file_range() argument
196 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_clone_file_range()
225 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_clone_file_range()
230 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_clone_file_range()
/Linux-v4.19/sound/drivers/
Daloop.c376 unsigned int dst_off = dpcm->buf_pos; in clear_capture_buf() local
385 if (dst_off + size > dpcm->pcm_buffer_size) in clear_capture_buf()
386 size = dpcm->pcm_buffer_size - dst_off; in clear_capture_buf()
387 snd_pcm_format_set_silence(runtime->format, dst + dst_off, in clear_capture_buf()
394 dst_off = 0; in clear_capture_buf()
406 unsigned int dst_off = capt->buf_pos; in copy_play_buf() local
430 if (dst_off + size > capt->pcm_buffer_size) in copy_play_buf()
431 size = capt->pcm_buffer_size - dst_off; in copy_play_buf()
432 memcpy(dst + dst_off, src + src_off, size); in copy_play_buf()
438 dst_off = (dst_off + size) % capt->pcm_buffer_size; in copy_play_buf()
/Linux-v4.19/drivers/crypto/
Dmxs-dcp.c266 uint32_t dst_off = 0; in mxs_dcp_aes_block_crypt() local
318 dst_off = 0; in mxs_dcp_aes_block_crypt()
320 rem = min(sg_dma_len(dst) - dst_off, in mxs_dcp_aes_block_crypt()
323 memcpy(dst_buf + dst_off, out_tmp, rem); in mxs_dcp_aes_block_crypt()
325 dst_off += rem; in mxs_dcp_aes_block_crypt()
328 if (dst_off == sg_dma_len(dst)) { in mxs_dcp_aes_block_crypt()
/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/drivers/mmc/host/
Dtifm_sd.c211 static void tifm_sd_copy_page(struct page *dst, unsigned int dst_off, in tifm_sd_copy_page() argument
216 unsigned char *dst_buf = kmap_atomic(dst) + dst_off; in tifm_sd_copy_page()
220 kunmap_atomic(dst_buf - dst_off); in tifm_sd_copy_page()
/Linux-v4.19/fs/f2fs/
Dnode.c123 pgoff_t dst_off; in get_next_nat_page() local
128 dst_off = next_nat_addr(sbi, current_nat_addr(sbi, nid)); in get_next_nat_page()
132 dst_page = f2fs_grab_meta_page(sbi, dst_off); in get_next_nat_page()
Dsegment.c3501 pgoff_t src_off, dst_off; in get_next_sit_page() local
3504 dst_off = next_sit_addr(sbi, src_off); in get_next_sit_page()
3506 page = f2fs_grab_meta_page(sbi, dst_off); in get_next_sit_page()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1970 u64 *dst_off, *src_off; in cudbg_collect_dump_context() local
2040 dst_off = (u64 *)buff->data; in cudbg_collect_dump_context()
2046 dst_off[k] = cpu_to_be64(src_off[k]); in cudbg_collect_dump_context()
/Linux-v4.19/fs/btrfs/
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/net/ethernet/broadcom/
Dtg3.c15776 int i, dst_off; in tg3_read_bc_ver() local
15796 dst_off = strlen(tp->fw_ver); in tg3_read_bc_ver()
15799 if (TG3_VER_SIZE - dst_off < 16 || in tg3_read_bc_ver()
15809 memcpy(tp->fw_ver + dst_off + i, &v, sizeof(v)); in tg3_read_bc_ver()
15820 snprintf(&tp->fw_ver[dst_off], TG3_VER_SIZE - dst_off, in tg3_read_bc_ver()