Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/smc/
Dsmc_tx.c308 size_t src_off, size_t src_len, in smcr_tx_rdma_writes() argument
317 int sent_count = src_off; in smcr_tx_rdma_writes()
328 sge[srcchunk].addr = dma_addr + src_off; in smcr_tx_rdma_writes()
332 src_off += src_len; in smcr_tx_rdma_writes()
333 if (src_off >= conn->sndbuf_desc->len) in smcr_tx_rdma_writes()
334 src_off -= conn->sndbuf_desc->len; in smcr_tx_rdma_writes()
361 size_t src_off, size_t src_len, in smcd_tx_rdma_writes() argument
370 void *data = conn->sndbuf_desc->cpu_addr + src_off; in smcd_tx_rdma_writes()
377 src_off += src_len; in smcd_tx_rdma_writes()
378 if (src_off >= conn->sndbuf_desc->len) in smcd_tx_rdma_writes()
[all …]
/kernel/linux/linux-5.10/fs/pstore/
Dftrace.c140 size_t dest_size, src_size, total, dest_off, src_off; in pstore_ftrace_combine_log() local
149 src_off = src_log_size % record_size; in pstore_ftrace_combine_log()
150 src_size = src_log_size - src_off; in pstore_ftrace_combine_log()
158 srec = (struct pstore_ftrace_record *)(src_log + src_off); in pstore_ftrace_combine_log()
/kernel/linux/linux-5.10/arch/x86/xen/
Dsetup.c677 phys_addr_t dest_off, src_off, dest_len, src_len, len; in xen_phys_memcpy() local
682 src_off = src & ~PAGE_MASK; in xen_phys_memcpy()
687 if (src_len > (NR_FIX_BTMAPS << PAGE_SHIFT) - src_off) in xen_phys_memcpy()
688 src_len = (NR_FIX_BTMAPS << PAGE_SHIFT) - src_off; in xen_phys_memcpy()
691 from = early_memremap(src - src_off, src_len + src_off); in xen_phys_memcpy()
694 early_memunmap(from, src_len + src_off); in xen_phys_memcpy()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4file.c244 static loff_t nfs42_remap_file_range(struct file *src_file, loff_t src_off, in nfs42_remap_file_range() argument
268 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_remap_file_range()
270 if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) in nfs42_remap_file_range()
297 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
/kernel/linux/linux-5.10/fs/ceph/
Dfile.c2210 loff_t src_off, loff_t dst_off, size_t len) in is_file_size_ok() argument
2221 if (src_off + len > size) { in is_file_size_ok()
2223 src_off, len, size); in is_file_size_ok()
2238 static ssize_t ceph_do_objects_copy(struct ceph_inode_info *src_ci, u64 *src_off, in ceph_do_objects_copy() argument
2257 ceph_calc_file_object_mapping(&src_ci->i_layout, *src_off, in ceph_do_objects_copy()
2293 *src_off += object_size; in ceph_do_objects_copy()
2303 static ssize_t __ceph_copy_file_range(struct file *src_file, loff_t src_off, in __ceph_copy_file_range() argument
2367 ret = file_write_and_wait_range(src_file, src_off, (src_off + len)); in __ceph_copy_file_range()
2391 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range()
2403 ceph_calc_file_object_mapping(&src_ci->i_layout, src_off, in __ceph_copy_file_range()
[all …]
/kernel/linux/linux-5.10/crypto/async_tx/
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()
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()
/kernel/linux/linux-5.10/drivers/dma/
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);\
/kernel/linux/linux-5.10/sound/drivers/
Daloop.c533 unsigned int src_off = play->buf_pos; in copy_play_buf() local
556 if (src_off + size > play->pcm_buffer_size) in copy_play_buf()
557 size = play->pcm_buffer_size - src_off; in copy_play_buf()
560 memcpy(dst + dst_off, src + src_off, size); in copy_play_buf()
565 src_off = (src_off + size) % play->pcm_buffer_size; in copy_play_buf()
/kernel/linux/linux-5.10/Documentation/driver-api/dmaengine/
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)
/kernel/linux/linux-5.10/drivers/mmc/host/
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()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_base.c129 unsigned int src_off, unsigned int nbits) in nand_extract_bits() argument
135 src += src_off / 8; in nand_extract_bits()
136 src_off %= 8; in nand_extract_bits()
139 n = min3(8 - dst_off, 8 - src_off, nbits); in nand_extract_bits()
141 tmp = (*src >> src_off) & GENMASK(n - 1, 0); in nand_extract_bits()
151 src_off += n; in nand_extract_bits()
152 if (src_off >= 8) { in nand_extract_bits()
154 src_off -= 8; in nand_extract_bits()
/kernel/linux/linux-5.10/fs/btrfs/
Draid56.c513 int src_off = 0; in run_xor() local
519 xor_blocks(xor_src_cnt, len, dest, pages + src_off); in run_xor()
522 src_off += xor_src_cnt; in run_xor()
Dextent_io.c5998 unsigned long dst_off, unsigned long src_off, in copy_pages() argument
6009 if (areas_overlap(src_off, dst_off, len)) in copy_pages()
6014 memmove(dst_kaddr + dst_off, src_kaddr + src_off, len); in copy_pages()
6016 memcpy(dst_kaddr + dst_off, src_kaddr + src_off, len); in copy_pages()
/kernel/linux/linux-5.10/fs/cifs/
Dcifsglob.h450 u64 src_off, u64 len, u64 dest_off);
452 struct cifsFileInfo *target_file, u64 src_off, u64 len,
Dsmb2ops.c1740 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_copychunk_range() argument
1783 pcchunk->SourceOffset = cpu_to_le64(src_off); in smb2_copychunk_range()
1824 src_off += bytes_written; in smb2_copychunk_range()
1996 struct cifsFileInfo *trgtfile, u64 src_off, in smb2_duplicate_extents() argument
2012 dup_ext_buf.SourceFileOffset = cpu_to_le64(src_off); in smb2_duplicate_extents()
2016 src_off, dest_off, len); in smb2_duplicate_extents()
/kernel/linux/linux-5.10/include/linux/mtd/
Drawnand.h1523 unsigned int src_off, unsigned int nbits);
/kernel/linux/linux-5.10/drivers/video/fbdev/
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()
/kernel/linux/linux-5.10/fs/fuse/
Dfile.c3469 static ssize_t fuse_copy_file_range(struct file *src_file, loff_t src_off, in fuse_copy_file_range() argument
3475 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3479 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c2469 u64 *src_off; in cudbg_collect_dump_context() local
2471 src_off = (u64 *)(ctx_buf + j * SGE_CTXT_SIZE); in cudbg_collect_dump_context()
2478 dst_off[k] = cpu_to_be64(src_off[k]); in cudbg_collect_dump_context()
/kernel/linux/linux-5.10/fs/f2fs/
Dsegment.c4197 pgoff_t src_off, dst_off; in get_next_sit_page() local
4199 src_off = current_sit_addr(sbi, start); in get_next_sit_page()
4200 dst_off = next_sit_addr(sbi, src_off); in get_next_sit_page()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch23048 + u32 fb_addr, src_off, src_w, fb_idx, cpp, stride;
23063 + src_off = (state->src_y >> 16) * fb->pitches[0] +
23065 + fb_addr = gem_obj->paddr + fb->offsets[0] + src_off;
27092 + u32 src_off, src_w, stride, cpp = 0;
27102 + src_off = (new_state->src_y >> 16) * fb->pitches[0] +
27104 + paddr += fb->offsets[0] + src_off;