/linux-6.1.9/tools/testing/selftests/powerpc/copyloops/ |
D | memmove_validate.c | 22 size_t i, src_off, dst_off, len; in testcase_run() local 39 for (dst_off = 0; dst_off < MAX_OFFSET; dst_off++) { in testcase_run() 40 for (len = 1; len < MAX_OFFSET - max(src_off, dst_off); len++) { in testcase_run() 42 memmove(usermap + dst_off, usermap + src_off, len); in testcase_run() 43 TEST_MEMMOVE(kernelmap + dst_off, kernelmap + src_off, len); in testcase_run() 46 src_off, dst_off, len); in testcase_run()
|
D | validate.c | 18 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-6.1.9/net/smc/ |
D | smc_tx.c | 375 size_t dst_off, size_t dst_len, in smcr_tx_rdma_writes() argument 421 rc = smc_tx_rdma_write(conn, dst_off, num_sges, wr); in smcr_tx_rdma_writes() 427 dst_off = 0; /* modulo offset in RMBE ring buffer */ in smcr_tx_rdma_writes() 440 size_t dst_off, size_t dst_len) in smcd_tx_rdma_writes() argument 450 rc = smcd_tx_ism_write(conn, data, src_len, dst_off + in smcd_tx_rdma_writes() 454 dst_off += src_len; in smcd_tx_rdma_writes() 468 dst_off = 0; /* modulo offset in RMBE ring buffer */ in smcd_tx_rdma_writes() 483 size_t len, src_len, dst_off, dst_len; /* current chunk values */ in smc_tx_rdma_writes() local 516 dst_off = prod.count; in smc_tx_rdma_writes() 543 dst_off, dst_len); in smc_tx_rdma_writes() [all …]
|
/linux-6.1.9/fs/nfs/ |
D | nfs4file.c | 244 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() argument 267 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_remap_file_range() 296 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range() 301 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_remap_file_range()
|
/linux-6.1.9/include/linux/ |
D | highmem.h | 338 static inline void memcpy_page(struct page *dst_page, size_t dst_off, in memcpy_page() argument 345 VM_BUG_ON(dst_off + len > PAGE_SIZE || src_off + len > PAGE_SIZE); in memcpy_page() 346 memcpy(dst + dst_off, src + src_off, len); in memcpy_page()
|
/linux-6.1.9/fs/ceph/ |
D | file.c | 2212 loff_t src_off, loff_t dst_off, size_t len) in is_file_size_ok() argument 2230 endoff = dst_off + len; in is_file_size_ok() 2289 struct ceph_inode_info *dst_ci, u64 *dst_off, in ceph_do_objects_copy() argument 2313 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off, in ceph_do_objects_copy() 2352 *dst_off += object_size; in ceph_do_objects_copy() 2362 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument 2430 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range() 2442 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 2449 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range() 2456 dst_off >> PAGE_SHIFT, in __ceph_copy_file_range() [all …]
|
/linux-6.1.9/drivers/dma/ |
D | dmatest.c | 455 unsigned int dst_off, unsigned int len, unsigned long data) in result() argument 459 current->comm, n, err, src_off, dst_off, len, data); in result() 462 current->comm, n, err, src_off, dst_off, len, data); in result() 467 unsigned int dst_off, unsigned int len, in dbg_result() argument 471 current->comm, n, err, src_off, dst_off, len, data); in dbg_result() 474 #define verbose_result(err, n, src_off, dst_off, len, data) ({ \ argument 476 result(err, n, src_off, dst_off, len, data); \ 478 dbg_result(err, n, src_off, dst_off, len, data);\
|
/linux-6.1.9/sound/drivers/ |
D | aloop.c | 503 unsigned int dst_off = dpcm->buf_pos; in clear_capture_buf() local 512 if (dst_off + size > dpcm->pcm_buffer_size) in clear_capture_buf() 513 size = dpcm->pcm_buffer_size - dst_off; in clear_capture_buf() 514 snd_pcm_format_set_silence(runtime->format, dst + dst_off, in clear_capture_buf() 521 dst_off = 0; in clear_capture_buf() 533 unsigned int dst_off = capt->buf_pos; in copy_play_buf() local 557 if (dst_off + size > capt->pcm_buffer_size) in copy_play_buf() 558 size = capt->pcm_buffer_size - dst_off; in copy_play_buf() 559 memcpy(dst + dst_off, src + src_off, size); in copy_play_buf() 565 dst_off = (dst_off + size) % capt->pcm_buffer_size; in copy_play_buf()
|
/linux-6.1.9/tools/lib/bpf/ |
D | linker.c | 33 int dst_off; member 1135 src->dst_off = dst_align_sz; in extend_sec() 1933 dst_sym->st_value = src_sec->dst_off + sym->st_value; in linker_append_elf_sym() 1964 dst_sym->st_value = (src_sec ? src_sec->dst_off : 0) + sym->st_value; in linker_append_elf_sym() 2049 dst_rel = dst_sec->raw_data + src_sec->dst_off; in linker_append_elf_relos() 2062 dst_rel->r_offset += src_linked_sec->dst_off; in linker_append_elf_relos() 2082 insn->imm += sec->dst_off / sizeof(struct bpf_insn); in linker_append_elf_relos() 2084 insn->imm += sec->dst_off; in linker_append_elf_relos() 2400 dst_var->offset = src_sec->dst_off + src_var->offset; in linker_append_btf() 2462 dst_rec->insn_off += src_sec->dst_off; in linker_append_btf_ext() [all …]
|
/linux-6.1.9/fs/ksmbd/ |
D | vfs.c | 1747 loff_t src_off, dst_off, src_file_size; in ksmbd_vfs_copy_file_ranges() local 1772 dst_off = le64_to_cpu(chunks[i].TargetOffset); in ksmbd_vfs_copy_file_ranges() 1778 if (check_lock_range(dst_fp->filp, dst_off, in ksmbd_vfs_copy_file_ranges() 1779 dst_off + len - 1, WRITE)) in ksmbd_vfs_copy_file_ranges() 1788 dst_off = le64_to_cpu(chunks[i].TargetOffset); in ksmbd_vfs_copy_file_ranges() 1795 dst_fp->filp, dst_off, len, 0); in ksmbd_vfs_copy_file_ranges() 1798 dst_fp->filp, dst_off, len, in ksmbd_vfs_copy_file_ranges()
|
D | smb2pdu.c | 7833 loff_t src_off, dst_off, length, cloned; in smb2_ioctl() local 7858 dst_off = le64_to_cpu(dup_ext->TargetFileOffset); in smb2_ioctl() 7870 fp_out->filp, dst_off, length, 0); in smb2_ioctl() 7876 fp_out->filp, dst_off, in smb2_ioctl()
|
/linux-6.1.9/drivers/crypto/ |
D | mxs-dcp.c | 309 uint32_t dst_off = 0; in mxs_dcp_aes_block_crypt() local 366 actx->fill, dst_off); in mxs_dcp_aes_block_crypt() 367 dst_off += actx->fill; in mxs_dcp_aes_block_crypt()
|
/linux-6.1.9/Documentation/driver-api/dmaengine/ |
D | dmatest.rst | 129 …"dmatest: result <channel>: <test id>: '<error msg>' with src_off=<val> dst_off=<val> len=<val> (<… 134 dmatest: result dma0chan0-copy0: #1: No errors with src_off=0x7bf dst_off=0x8ad len=0x3fea (0)
|
/linux-6.1.9/drivers/mmc/host/ |
D | tifm_sd.c | 209 static void tifm_sd_copy_page(struct page *dst, unsigned int dst_off, in tifm_sd_copy_page() argument 214 unsigned char *dst_buf = kmap_atomic(dst) + dst_off; in tifm_sd_copy_page() 218 kunmap_atomic(dst_buf - dst_off); in tifm_sd_copy_page()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | nand_base.c | 129 void nand_extract_bits(u8 *dst, unsigned int dst_off, const u8 *src, in nand_extract_bits() argument 134 dst += dst_off / 8; in nand_extract_bits() 135 dst_off %= 8; in nand_extract_bits() 140 n = min3(8 - dst_off, 8 - src_off, nbits); in nand_extract_bits() 143 *dst &= ~GENMASK(n - 1 + dst_off, dst_off); in nand_extract_bits() 144 *dst |= tmp << dst_off; in nand_extract_bits() 146 dst_off += n; in nand_extract_bits() 147 if (dst_off >= 8) { in nand_extract_bits() 149 dst_off -= 8; in nand_extract_bits()
|
/linux-6.1.9/include/linux/mtd/ |
D | rawnand.h | 1578 void nand_extract_bits(u8 *dst, unsigned int dst_off, const u8 *src,
|
/linux-6.1.9/drivers/gpu/drm/ast/ |
D | ast_mode.c | 819 u64 dst_off = in ast_cursor_plane_helper_atomic_update() local 841 ast_set_cursor_base(ast, dst_off); in ast_cursor_plane_helper_atomic_update()
|
/linux-6.1.9/fs/fuse/ |
D | file.c | 3153 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument 3158 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range() 3163 dst_off, len, flags); in fuse_copy_file_range()
|
/linux-6.1.9/fs/f2fs/ |
D | node.c | 138 pgoff_t dst_off; in get_next_nat_page() local 143 dst_off = next_nat_addr(sbi, current_nat_addr(sbi, nid)); in get_next_nat_page() 149 dst_page = f2fs_grab_meta_page(sbi, dst_off); in get_next_nat_page()
|
D | segment.c | 3943 pgoff_t src_off, dst_off; in get_next_sit_page() local 3946 dst_off = next_sit_addr(sbi, src_off); in get_next_sit_page() 3948 page = f2fs_grab_meta_page(sbi, dst_off); in get_next_sit_page()
|
/linux-6.1.9/fs/btrfs/ |
D | extent_io.c | 5591 unsigned long dst_off, unsigned long src_off, in copy_pages() argument 5602 if (areas_overlap(src_off, dst_off, len)) in copy_pages() 5607 memmove(dst_kaddr + dst_off, src_kaddr + src_off, len); in copy_pages() 5609 memcpy(dst_kaddr + dst_off, src_kaddr + src_off, len); in copy_pages()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib.c | 2468 __be64 *dst_off; in cudbg_collect_dump_context() local 2472 dst_off = (__be64 *)buff->data; in cudbg_collect_dump_context() 2478 dst_off[k] = cpu_to_be64(src_off[k]); in cudbg_collect_dump_context()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | tg3.c | 15704 int i, dst_off; in tg3_read_bc_ver() local 15724 dst_off = strlen(tp->fw_ver); in tg3_read_bc_ver() 15727 if (TG3_VER_SIZE - dst_off < 16 || in tg3_read_bc_ver() 15737 memcpy(tp->fw_ver + dst_off + i, &v, sizeof(v)); in tg3_read_bc_ver() 15748 snprintf(&tp->fw_ver[dst_off], TG3_VER_SIZE - dst_off, in tg3_read_bc_ver()
|