/linux-6.6.21/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.6.21/net/smc/ |
D | smc_tx.c | 358 size_t dst_off, size_t dst_len, in smcr_tx_rdma_writes() argument 404 rc = smc_tx_rdma_write(conn, dst_off, num_sges, wr); in smcr_tx_rdma_writes() 410 dst_off = 0; /* modulo offset in RMBE ring buffer */ in smcr_tx_rdma_writes() 423 size_t dst_off, size_t dst_len) in smcd_tx_rdma_writes() argument 433 rc = smcd_tx_ism_write(conn, data, src_len, dst_off + in smcd_tx_rdma_writes() 437 dst_off += src_len; in smcd_tx_rdma_writes() 451 dst_off = 0; /* modulo offset in RMBE ring buffer */ in smcd_tx_rdma_writes() 466 size_t len, src_len, dst_off, dst_len; /* current chunk values */ in smc_tx_rdma_writes() local 499 dst_off = prod.count; in smc_tx_rdma_writes() 526 dst_off, dst_len); in smc_tx_rdma_writes() [all …]
|
/linux-6.6.21/fs/nfs/ |
D | nfs4file.c | 240 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() argument 263 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_remap_file_range() 292 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range() 297 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_remap_file_range()
|
/linux-6.6.21/fs/ceph/ |
D | file.c | 2690 loff_t src_off, loff_t dst_off, size_t len) in is_file_size_ok() argument 2708 endoff = dst_off + len; in is_file_size_ok() 2767 struct ceph_inode_info *dst_ci, u64 *dst_off, in ceph_do_objects_copy() argument 2791 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off, in ceph_do_objects_copy() 2830 *dst_off += object_size; in ceph_do_objects_copy() 2840 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument 2912 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range() 2924 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 2931 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range() 2938 dst_off >> PAGE_SHIFT, in __ceph_copy_file_range() [all …]
|
/linux-6.6.21/include/linux/ |
D | highmem.h | 388 static inline void memcpy_page(struct page *dst_page, size_t dst_off, in memcpy_page() argument 395 VM_BUG_ON(dst_off + len > PAGE_SIZE || src_off + len > PAGE_SIZE); in memcpy_page() 396 memcpy(dst + dst_off, src + src_off, len); in memcpy_page()
|
/linux-6.6.21/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.6.21/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.6.21/tools/lib/bpf/ |
D | linker.c | 33 int dst_off; member 1147 src->dst_off = dst_align_sz; in extend_sec() 1945 dst_sym->st_value = src_sec->dst_off + sym->st_value; in linker_append_elf_sym() 1976 dst_sym->st_value = (src_sec ? src_sec->dst_off : 0) + sym->st_value; in linker_append_elf_sym() 2057 dst_rel = dst_sec->raw_data + src_sec->dst_off; in linker_append_elf_relos() 2067 dst_rel->r_offset += src_linked_sec->dst_off; in linker_append_elf_relos() 2087 insn->imm += sec->dst_off / sizeof(struct bpf_insn); in linker_append_elf_relos() 2089 insn->imm += sec->dst_off; in linker_append_elf_relos() 2405 dst_var->offset = src_sec->dst_off + src_var->offset; in linker_append_btf() 2467 dst_rec->insn_off += src_sec->dst_off; in linker_append_btf_ext() [all …]
|
/linux-6.6.21/fs/smb/server/ |
D | vfs.c | 1763 loff_t src_off, dst_off, src_file_size; in ksmbd_vfs_copy_file_ranges() local 1788 dst_off = le64_to_cpu(chunks[i].TargetOffset); in ksmbd_vfs_copy_file_ranges() 1794 if (check_lock_range(dst_fp->filp, dst_off, in ksmbd_vfs_copy_file_ranges() 1795 dst_off + len - 1, WRITE)) in ksmbd_vfs_copy_file_ranges() 1804 dst_off = le64_to_cpu(chunks[i].TargetOffset); in ksmbd_vfs_copy_file_ranges() 1811 dst_fp->filp, dst_off, len, 0); in ksmbd_vfs_copy_file_ranges() 1814 dst_fp->filp, dst_off, len, in ksmbd_vfs_copy_file_ranges()
|
D | smb2pdu.c | 7888 loff_t src_off, dst_off, length, cloned; in smb2_ioctl() local 7913 dst_off = le64_to_cpu(dup_ext->TargetFileOffset); in smb2_ioctl() 7925 fp_out->filp, dst_off, length, 0); in smb2_ioctl() 7931 fp_out->filp, dst_off, in smb2_ioctl()
|
/linux-6.6.21/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.6.21/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.6.21/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_local_page(dst) + dst_off; in tifm_sd_copy_page() 218 kunmap_local(dst_buf - dst_off); in tifm_sd_copy_page()
|
/linux-6.6.21/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.6.21/include/linux/mtd/ |
D | rawnand.h | 1604 void nand_extract_bits(u8 *dst, unsigned int dst_off, const u8 *src,
|
/linux-6.6.21/drivers/gpu/drm/ast/ |
D | ast_mode.c | 891 u64 dst_off = ast_plane->offset; in ast_cursor_plane_helper_atomic_update() local 905 ast_set_cursor_base(ast, dst_off); in ast_cursor_plane_helper_atomic_update()
|
/linux-6.6.21/fs/f2fs/ |
D | node.c | 142 pgoff_t dst_off; in get_next_nat_page() local 147 dst_off = next_nat_addr(sbi, current_nat_addr(sbi, nid)); in get_next_nat_page() 153 dst_page = f2fs_grab_meta_page(sbi, dst_off); in get_next_nat_page()
|
D | segment.c | 4148 pgoff_t src_off, dst_off; in get_next_sit_page() local 4151 dst_off = next_sit_addr(sbi, src_off); in get_next_sit_page() 4153 page = f2fs_grab_meta_page(sbi, dst_off); in get_next_sit_page()
|
/linux-6.6.21/fs/fuse/ |
D | file.c | 3189 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument 3194 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range() 3199 dst_off, len, flags); in fuse_copy_file_range()
|
/linux-6.6.21/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.6.21/drivers/net/ethernet/broadcom/ |
D | tg3.c | 15739 int i, dst_off; in tg3_read_bc_ver() local 15759 dst_off = strlen(tp->fw_ver); in tg3_read_bc_ver() 15762 if (TG3_VER_SIZE - dst_off < 16 || in tg3_read_bc_ver() 15772 memcpy(tp->fw_ver + dst_off + i, &v, sizeof(v)); in tg3_read_bc_ver() 15783 snprintf(&tp->fw_ver[dst_off], TG3_VER_SIZE - dst_off, in tg3_read_bc_ver()
|