/linux-6.12.1/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.12.1/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.12.1/fs/nfs/ |
D | nfs4file.c | 241 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() argument 264 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_remap_file_range() 293 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range() 298 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_remap_file_range()
|
/linux-6.12.1/fs/ceph/ |
D | file.c | 2801 loff_t src_off, loff_t dst_off, size_t len) in is_file_size_ok() argument 2820 endoff = dst_off + len; in is_file_size_ok() 2879 struct ceph_inode_info *dst_ci, u64 *dst_off, in ceph_do_objects_copy() argument 2904 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off, in ceph_do_objects_copy() 2944 *dst_off += object_size; in ceph_do_objects_copy() 2954 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument 3027 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range() 3039 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 3046 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range() 3053 dst_off >> PAGE_SHIFT, in __ceph_copy_file_range() [all …]
|
/linux-6.12.1/sound/drivers/ |
D | aloop.c | 528 unsigned int dst_off = dpcm->buf_pos; in clear_capture_buf() local 537 if (dst_off + size > dpcm->pcm_buffer_size) in clear_capture_buf() 538 size = dpcm->pcm_buffer_size - dst_off; in clear_capture_buf() 539 snd_pcm_format_set_silence(runtime->format, dst + dst_off, in clear_capture_buf() 546 dst_off = 0; in clear_capture_buf() 551 unsigned int size, unsigned int src_off, unsigned int dst_off) in copy_play_buf_part_n() argument 556 unsigned int dst_off_ch = dst_off / channels; in copy_play_buf_part_n() 574 unsigned int dst_off = capt->buf_pos; in copy_play_buf() local 598 if (dst_off + size > capt->pcm_buffer_size) in copy_play_buf() 599 size = capt->pcm_buffer_size - dst_off; in copy_play_buf() [all …]
|
/linux-6.12.1/mm/kmsan/ |
D | core.c | 86 int i, iter, step, src_off, dst_off, oiter_src, oiter_dst; in kmsan_internal_memmove_metadata() local 116 dst_off = (u64)dst % KMSAN_ORIGIN_SIZE; in kmsan_internal_memmove_metadata() 121 oiter_dst = (iter + dst_off) / KMSAN_ORIGIN_SIZE; in kmsan_internal_memmove_metadata()
|
/linux-6.12.1/drivers/dma/ |
D | dmatest.c | 462 unsigned int dst_off, unsigned int len, unsigned long data) in result() argument 466 current->comm, n, err, src_off, dst_off, len, data); in result() 469 current->comm, n, err, src_off, dst_off, len, data); in result() 474 unsigned int dst_off, unsigned int len, in dbg_result() argument 478 current->comm, n, err, src_off, dst_off, len, data); in dbg_result() 481 #define verbose_result(err, n, src_off, dst_off, len, data) ({ \ argument 483 result(err, n, src_off, dst_off, len, data); \ 485 dbg_result(err, n, src_off, dst_off, len, data);\
|
/linux-6.12.1/include/linux/ |
D | highmem.h | 394 static inline void memcpy_page(struct page *dst_page, size_t dst_off, in memcpy_page() argument 401 VM_BUG_ON(dst_off + len > PAGE_SIZE || src_off + len > PAGE_SIZE); in memcpy_page() 402 memcpy(dst + dst_off, src + src_off, len); in memcpy_page()
|
/linux-6.12.1/tools/lib/bpf/ |
D | linker.c | 33 int dst_off; member 1180 src->dst_off = dst_align_sz; in extend_sec() 1978 dst_sym->st_value = src_sec->dst_off + sym->st_value; in linker_append_elf_sym() 2009 dst_sym->st_value = (src_sec ? src_sec->dst_off : 0) + sym->st_value; in linker_append_elf_sym() 2090 dst_rel = dst_sec->raw_data + src_sec->dst_off; in linker_append_elf_relos() 2100 dst_rel->r_offset += src_linked_sec->dst_off; in linker_append_elf_relos() 2120 insn->imm += sec->dst_off / sizeof(struct bpf_insn); in linker_append_elf_relos() 2122 insn->imm += sec->dst_off; in linker_append_elf_relos() 2445 dst_var->offset = src_sec->dst_off + src_var->offset; in linker_append_btf() 2507 dst_rec->insn_off += src_sec->dst_off; in linker_append_btf_ext() [all …]
|
/linux-6.12.1/fs/smb/server/ |
D | vfs.c | 1791 loff_t src_off, dst_off, src_file_size; in ksmbd_vfs_copy_file_ranges() local 1816 dst_off = le64_to_cpu(chunks[i].TargetOffset); in ksmbd_vfs_copy_file_ranges() 1822 if (check_lock_range(dst_fp->filp, dst_off, in ksmbd_vfs_copy_file_ranges() 1823 dst_off + len - 1, WRITE)) in ksmbd_vfs_copy_file_ranges() 1832 dst_off = le64_to_cpu(chunks[i].TargetOffset); in ksmbd_vfs_copy_file_ranges() 1839 dst_fp->filp, dst_off, len, 0); in ksmbd_vfs_copy_file_ranges() 1842 dst_fp->filp, dst_off, len, in ksmbd_vfs_copy_file_ranges()
|
D | smb2pdu.c | 8213 loff_t src_off, dst_off, length, cloned; in smb2_ioctl() local 8238 dst_off = le64_to_cpu(dup_ext->TargetFileOffset); in smb2_ioctl() 8250 fp_out->filp, dst_off, length, 0); in smb2_ioctl() 8256 fp_out->filp, dst_off, in smb2_ioctl()
|
/linux-6.12.1/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.12.1/drivers/crypto/ |
D | mxs-dcp.c | 325 uint32_t dst_off = 0; in mxs_dcp_aes_block_crypt() local 382 actx->fill, dst_off); in mxs_dcp_aes_block_crypt() 383 dst_off += actx->fill; in mxs_dcp_aes_block_crypt()
|
/linux-6.12.1/drivers/mmc/host/ |
D | tifm_sd.c | 210 static void tifm_sd_copy_page(struct page *dst, unsigned int dst_off, in tifm_sd_copy_page() argument 215 unsigned char *dst_buf = kmap_local_page(dst) + dst_off; in tifm_sd_copy_page() 219 kunmap_local(dst_buf - dst_off); in tifm_sd_copy_page()
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | nand_base.c | 128 void nand_extract_bits(u8 *dst, unsigned int dst_off, const u8 *src, in nand_extract_bits() argument 133 dst += dst_off / 8; in nand_extract_bits() 134 dst_off %= 8; in nand_extract_bits() 139 n = min3(8 - dst_off, 8 - src_off, nbits); in nand_extract_bits() 142 *dst &= ~GENMASK(n - 1 + dst_off, dst_off); in nand_extract_bits() 143 *dst |= tmp << dst_off; in nand_extract_bits() 145 dst_off += n; in nand_extract_bits() 146 if (dst_off >= 8) { in nand_extract_bits() 148 dst_off -= 8; in nand_extract_bits()
|
/linux-6.12.1/drivers/gpu/drm/ast/ |
D | ast_mode.c | 907 u64 dst_off = ast_plane->offset; in ast_cursor_plane_helper_atomic_update() local 921 ast_set_cursor_base(ast, dst_off); in ast_cursor_plane_helper_atomic_update()
|
/linux-6.12.1/include/linux/mtd/ |
D | rawnand.h | 1617 void nand_extract_bits(u8 *dst, unsigned int dst_off, const u8 *src,
|
/linux-6.12.1/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 | 4395 pgoff_t src_off, dst_off; in get_next_sit_page() local 4398 dst_off = next_sit_addr(sbi, src_off); in get_next_sit_page() 4400 page = f2fs_grab_meta_page(sbi, dst_off); in get_next_sit_page()
|
/linux-6.12.1/fs/fuse/ |
D | file.c | 3298 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument 3303 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range() 3308 dst_off, len); in fuse_copy_file_range()
|
/linux-6.12.1/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.12.1/drivers/net/ethernet/broadcom/ |
D | tg3.c | 15809 int i, dst_off; in tg3_read_bc_ver() local 15829 dst_off = strlen(tp->fw_ver); in tg3_read_bc_ver() 15832 if (TG3_VER_SIZE - dst_off < 16 || in tg3_read_bc_ver() 15842 memcpy(tp->fw_ver + dst_off + i, &v, sizeof(v)); in tg3_read_bc_ver() 15853 snprintf(&tp->fw_ver[dst_off], TG3_VER_SIZE - dst_off, in tg3_read_bc_ver()
|