Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/powerpc/copyloops/
A 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/include/linux/
A Dhighmem.h302 struct page *src_page, size_t src_off, in memcpy_page() argument
308 VM_BUG_ON(dst_off + len > PAGE_SIZE || src_off + len > PAGE_SIZE); in memcpy_page()
309 memcpy(dst + dst_off, src + src_off, len); in memcpy_page()
315 struct page *src_page, size_t src_off, in memmove_page() argument
321 VM_BUG_ON(dst_off + len > PAGE_SIZE || src_off + len > PAGE_SIZE); in memmove_page()
322 memmove(dst + dst_off, src + src_off, len); in memmove_page()
/linux/net/smc/
A Dsmc_tx.c324 size_t src_off, size_t src_len, in smcr_tx_rdma_writes() argument
333 int sent_count = src_off; in smcr_tx_rdma_writes()
344 sge[srcchunk].addr = dma_addr + src_off; in smcr_tx_rdma_writes()
348 src_off += src_len; in smcr_tx_rdma_writes()
349 if (src_off >= conn->sndbuf_desc->len) in smcr_tx_rdma_writes()
350 src_off -= conn->sndbuf_desc->len; in smcr_tx_rdma_writes()
377 size_t src_off, size_t src_len, in smcd_tx_rdma_writes() argument
386 void *data = conn->sndbuf_desc->cpu_addr + src_off; in smcd_tx_rdma_writes()
393 src_off += src_len; in smcd_tx_rdma_writes()
394 if (src_off >= conn->sndbuf_desc->len) in smcd_tx_rdma_writes()
[all …]
/linux/fs/pstore/
A Dftrace.c146 size_t dest_size, src_size, total, dest_off, src_off; in pstore_ftrace_combine_log() local
155 src_off = src_log_size % record_size; in pstore_ftrace_combine_log()
156 src_size = src_log_size - src_off; in pstore_ftrace_combine_log()
164 srec = (struct pstore_ftrace_record *)(src_log + src_off); in pstore_ftrace_combine_log()
/linux/arch/x86/xen/
A Dsetup.c673 phys_addr_t dest_off, src_off, dest_len, src_len, len; in xen_phys_memcpy() local
678 src_off = src & ~PAGE_MASK; in xen_phys_memcpy()
683 if (src_len > (NR_FIX_BTMAPS << PAGE_SHIFT) - src_off) in xen_phys_memcpy()
684 src_len = (NR_FIX_BTMAPS << PAGE_SHIFT) - src_off; in xen_phys_memcpy()
687 from = early_memremap(src - src_off, src_len + src_off); in xen_phys_memcpy()
690 early_memunmap(from, src_len + src_off); in xen_phys_memcpy()
/linux/fs/nfs/
A Dnfs4file.c240 static loff_t nfs42_remap_file_range(struct file *src_file, loff_t src_off, in nfs42_remap_file_range() argument
264 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_remap_file_range()
266 if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) in nfs42_remap_file_range()
293 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
/linux/crypto/async_tx/
A Dasync_pq.c49 int src_off = 0; in do_async_gen_syndrome() local
79 &unmap->addr[src_off], in do_async_gen_syndrome()
81 &scfs[src_off], unmap->len, in do_async_gen_syndrome()
95 src_off += pq_src_cnt; in do_async_gen_syndrome()
A Dasync_xor.c106 int src_off = 0; in do_sync_xor_offs() local
130 xor_blocks(xor_src_cnt, len, dest_buf, &srcs[src_off]); in do_sync_xor_offs()
134 src_off += xor_src_cnt; in do_sync_xor_offs()
/linux/fs/ceph/
A Dfile.c2198 loff_t src_off, loff_t dst_off, size_t len) in is_file_size_ok() argument
2209 if (src_off + len > size) { in is_file_size_ok()
2211 src_off, len, size); in is_file_size_ok()
2296 ceph_calc_file_object_mapping(&src_ci->i_layout, *src_off, in ceph_do_objects_copy()
2337 *src_off += object_size; in ceph_do_objects_copy()
2411 ret = file_write_and_wait_range(src_file, src_off, (src_off + len)); in __ceph_copy_file_range()
2447 ceph_calc_file_object_mapping(&src_ci->i_layout, src_off, in __ceph_copy_file_range()
2472 ret = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2485 src_off, dst_off, len); in __ceph_copy_file_range()
2528 bytes = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
[all …]
/linux/drivers/dma/
A Ddmatest.c455 static void result(const char *err, unsigned int n, unsigned int src_off, in result() argument
460 current->comm, n, err, src_off, dst_off, len, data); in result()
463 current->comm, n, err, src_off, dst_off, len, data); in result()
467 static void dbg_result(const char *err, unsigned int n, unsigned int src_off, in dbg_result() argument
472 current->comm, n, err, src_off, dst_off, len, data); in dbg_result()
475 #define verbose_result(err, n, src_off, dst_off, len, data) ({ \ argument
477 result(err, n, src_off, dst_off, len, data); \
479 dbg_result(err, n, src_off, dst_off, len, data);\
/linux/fs/ksmbd/
A Dvfs.c1734 loff_t src_off, dst_off, src_file_size; in ksmbd_vfs_copy_file_ranges() local
1758 src_off = le64_to_cpu(chunks[i].SourceOffset); in ksmbd_vfs_copy_file_ranges()
1762 if (check_lock_range(src_fp->filp, src_off, in ksmbd_vfs_copy_file_ranges()
1763 src_off + len - 1, READ)) in ksmbd_vfs_copy_file_ranges()
1774 src_off = le64_to_cpu(chunks[i].SourceOffset); in ksmbd_vfs_copy_file_ranges()
1778 if (src_off + len > src_file_size) in ksmbd_vfs_copy_file_ranges()
1781 ret = vfs_copy_file_range(src_fp->filp, src_off, in ksmbd_vfs_copy_file_ranges()
/linux/sound/drivers/
A Daloop.c532 unsigned int src_off = play->buf_pos; in copy_play_buf() local
555 if (src_off + size > play->pcm_buffer_size) in copy_play_buf()
556 size = play->pcm_buffer_size - src_off; in copy_play_buf()
559 memcpy(dst + dst_off, src + src_off, size); in copy_play_buf()
564 src_off = (src_off + size) % play->pcm_buffer_size; in copy_play_buf()
/linux/Documentation/driver-api/dmaengine/
A Ddmatest.rst119 …"dmatest: result <channel>: <test id>: '<error msg>' with src_off=<val> dst_off=<val> len=<val> (<…
124 dmatest: result dma0chan0-copy0: #1: No errors with src_off=0x7bf dst_off=0x8ad len=0x3fea (0)
/linux/drivers/mmc/host/
A Dtifm_sd.c210 struct page *src, unsigned int src_off, in tifm_sd_copy_page() argument
213 unsigned char *src_buf = kmap_atomic(src) + src_off; in tifm_sd_copy_page()
219 kunmap_atomic(src_buf - src_off); in tifm_sd_copy_page()
/linux/drivers/mtd/nand/raw/
A Dnand_base.c130 unsigned int src_off, unsigned int nbits) in nand_extract_bits() argument
136 src += src_off / 8; in nand_extract_bits()
137 src_off %= 8; in nand_extract_bits()
140 n = min3(8 - dst_off, 8 - src_off, nbits); in nand_extract_bits()
142 tmp = (*src >> src_off) & GENMASK(n - 1, 0); in nand_extract_bits()
152 src_off += n; in nand_extract_bits()
153 if (src_off >= 8) { in nand_extract_bits()
155 src_off -= 8; in nand_extract_bits()
/linux/fs/cifs/
A Dcifsglob.h444 u64 src_off, u64 len, u64 dest_off);
446 struct cifsFileInfo *target_file, u64 src_off, u64 len,
A Dsmb2ops.c1831 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_copychunk_range() argument
1866 pcchunk->SourceOffset = cpu_to_le64(src_off); in smb2_copychunk_range()
1908 src_off += bytes_written; in smb2_copychunk_range()
2081 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_duplicate_extents() argument
2097 dup_ext_buf.SourceFileOffset = cpu_to_le64(src_off); in smb2_duplicate_extents()
2101 src_off, dest_off, len); in smb2_duplicate_extents()
/linux/fs/btrfs/
A Draid56.c501 int src_off = 0; in run_xor() local
507 xor_blocks(xor_src_cnt, len, dest, pages + src_off); in run_xor()
510 src_off += xor_src_cnt; in run_xor()
A Dextent_io.c7165 unsigned long dst_off, unsigned long src_off, in copy_pages() argument
7176 if (areas_overlap(src_off, dst_off, len)) in copy_pages()
7181 memmove(dst_kaddr + dst_off, src_kaddr + src_off, len); in copy_pages()
7183 memcpy(dst_kaddr + dst_off, src_kaddr + src_off, len); in copy_pages()
/linux/drivers/video/fbdev/
A Dudlfb.c1482 char *src, loff_t src_off, size_t src_size) { in edid_store() argument
1489 if ((src_size != EDID_LENGTH) || (src_off != 0)) in edid_store()
/linux/include/linux/mtd/
A Drawnand.h1575 unsigned int src_off, unsigned int nbits);
/linux/fs/fuse/
A Dfile.c3123 static ssize_t fuse_copy_file_range(struct file *src_file, loff_t src_off, in fuse_copy_file_range() argument
3129 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3133 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcudbg_lib.c2468 u64 *src_off; in cudbg_collect_dump_context() local
2470 src_off = (u64 *)(ctx_buf + j * SGE_CTXT_SIZE); in cudbg_collect_dump_context()
2477 dst_off[k] = cpu_to_be64(src_off[k]); in cudbg_collect_dump_context()
/linux/fs/f2fs/
A Dsegment.c4145 pgoff_t src_off, dst_off; in get_next_sit_page() local
4147 src_off = current_sit_addr(sbi, start); in get_next_sit_page()
4148 dst_off = next_sit_addr(sbi, src_off); in get_next_sit_page()
/linux/drivers/misc/habanalabs/common/
A Dfirmware_if.c1871 fw_loader->boot_fit_img.src_off, in hl_fw_dynamic_copy_image()

Completed in 468 milliseconds

12