/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/copyloops/ |
H A 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()
|
H A D | validate.c | 18 unsigned long dst_off, unsigned long len, void *redzone, in do_one() 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() 17 do_one(char *src, char *dst, unsigned long src_off, unsigned long dst_off, unsigned long len, void *redzone, void *fill) do_one() argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/copyloops/ |
H A D | validate.c | 18 unsigned long dst_off, unsigned long len, void *redzone, in do_one() 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() 17 do_one(char *src, char *dst, unsigned long src_off, unsigned long dst_off, unsigned long len, void *redzone, void *fill) do_one() argument
|
/kernel/linux/linux-5.10/net/smc/ |
H A D | smc_tx.c | 309 size_t dst_off, size_t dst_len, in smcr_tx_rdma_writes() 342 rc = smc_tx_rdma_write(conn, dst_off, num_sges, in smcr_tx_rdma_writes() 349 dst_off = 0; /* modulo offset in RMBE ring buffer */ in smcr_tx_rdma_writes() 362 size_t dst_off, size_t dst_len) in smcd_tx_rdma_writes() 372 rc = smcd_tx_ism_write(conn, data, src_len, dst_off + in smcd_tx_rdma_writes() 376 dst_off += src_len; in smcd_tx_rdma_writes() 390 dst_off = 0; /* modulo offset in RMBE ring buffer */ in smcd_tx_rdma_writes() 405 size_t len, src_len, dst_off, dst_len; /* current chunk values */ in smc_tx_rdma_writes() local 434 dst_off = prod.count; in smc_tx_rdma_writes() 461 dst_off, dst_le in smc_tx_rdma_writes() 307 smcr_tx_rdma_writes(struct smc_connection *conn, size_t len, size_t src_off, size_t src_len, size_t dst_off, size_t dst_len, struct smc_rdma_wr *wr_rdma_buf) smcr_tx_rdma_writes() argument 360 smcd_tx_rdma_writes(struct smc_connection *conn, size_t len, size_t src_off, size_t src_len, size_t dst_off, size_t dst_len) smcd_tx_rdma_writes() argument [all...] |
/kernel/linux/linux-6.6/net/smc/ |
H A D | smc_tx.c | 358 size_t dst_off, size_t dst_len, in smcr_tx_rdma_writes() 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() 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_le in smc_tx_rdma_writes() 356 smcr_tx_rdma_writes(struct smc_connection *conn, size_t len, size_t src_off, size_t src_len, size_t dst_off, size_t dst_len, struct smc_rdma_wr *wr_rdma_buf) smcr_tx_rdma_writes() argument 421 smcd_tx_rdma_writes(struct smc_connection *conn, size_t len, size_t src_off, size_t src_len, size_t dst_off, size_t dst_len) smcd_tx_rdma_writes() argument [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | file.c | 2210 loff_t src_off, loff_t dst_off, size_t len) in is_file_size_ok() 2228 endoff = dst_off + len; in is_file_size_ok() 2239 struct ceph_inode_info *dst_ci, u64 *dst_off, in ceph_do_objects_copy() 2260 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off, in ceph_do_objects_copy() 2294 *dst_off += object_size; in ceph_do_objects_copy() 2304 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() 2372 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range() 2384 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 2391 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, le in __ceph_copy_file_range() 2209 is_file_size_ok(struct inode *src_inode, struct inode *dst_inode, loff_t src_off, loff_t dst_off, size_t len) is_file_size_ok() argument 2238 ceph_do_objects_copy(struct ceph_inode_info *src_ci, u64 *src_off, struct ceph_inode_info *dst_ci, u64 *dst_off, struct ceph_fs_client *fsc, size_t len, unsigned int flags) ceph_do_objects_copy() argument 2303 __ceph_copy_file_range(struct file *src_file, loff_t src_off, struct file *dst_file, loff_t dst_off, size_t len, unsigned int flags) __ceph_copy_file_range() argument 2498 ceph_copy_file_range(struct file *src_file, loff_t src_off, struct file *dst_file, loff_t dst_off, size_t len, unsigned int flags) ceph_copy_file_range() argument [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs4file.c | 245 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() 268 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_remap_file_range() 297 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range() 302 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_remap_file_range() 244 nfs42_remap_file_range(struct file *src_file, loff_t src_off, struct file *dst_file, loff_t dst_off, loff_t count, unsigned int remap_flags) nfs42_remap_file_range() argument
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs4file.c | 240 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() 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() 239 nfs42_remap_file_range(struct file *src_file, loff_t src_off, struct file *dst_file, loff_t dst_off, loff_t count, unsigned int remap_flags) nfs42_remap_file_range() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A 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()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | file.c | 2693 loff_t src_off, loff_t dst_off, size_t len) in is_file_size_ok() 2711 endoff = dst_off + len; in is_file_size_ok() 2770 struct ceph_inode_info *dst_ci, u64 *dst_off, in ceph_do_objects_copy() 2794 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off, in ceph_do_objects_copy() 2833 *dst_off += object_size; in ceph_do_objects_copy() 2843 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() 2915 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range() 2927 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 2934 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, le in __ceph_copy_file_range() 2692 is_file_size_ok(struct inode *src_inode, struct inode *dst_inode, loff_t src_off, loff_t dst_off, size_t len) is_file_size_ok() argument 2769 ceph_do_objects_copy(struct ceph_inode_info *src_ci, u64 *src_off, struct ceph_inode_info *dst_ci, u64 *dst_off, struct ceph_fs_client *fsc, size_t len, unsigned int flags) ceph_do_objects_copy() argument 2842 __ceph_copy_file_range(struct file *src_file, loff_t src_off, struct file *dst_file, loff_t dst_off, size_t len, unsigned int flags) __ceph_copy_file_range() argument 3041 ceph_copy_file_range(struct file *src_file, loff_t src_off, struct file *dst_file, loff_t dst_off, size_t len, unsigned int flags) ceph_copy_file_range() argument [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | dmatest.c | 456 unsigned int dst_off, unsigned int len, unsigned long data) in result() 459 pr_info("%s: result #%u: '%s' with src_off=0x%x dst_off=0x%x len=0x%x (%ld)\n", in result() 460 current->comm, n, err, src_off, dst_off, len, data); in result() 462 pr_info("%s: result #%u: '%s' with src_off=0x%x dst_off=0x%x len=0x%x (%lu)\n", in result() 463 current->comm, n, err, src_off, dst_off, len, data); in result() 468 unsigned int dst_off, unsigned int len, in dbg_result() 471 pr_debug("%s: result #%u: '%s' with src_off=0x%x dst_off=0x%x len=0x%x (%lu)\n", in dbg_result() 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) ({ \ 477 result(err, n, src_off, dst_off, le 455 result(const char *err, unsigned int n, unsigned int src_off, unsigned int dst_off, unsigned int len, unsigned long data) result() argument 467 dbg_result(const char *err, unsigned int n, unsigned int src_off, unsigned int dst_off, unsigned int len, unsigned long data) dbg_result() argument [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | dmatest.c | 455 unsigned int dst_off, unsigned int len, unsigned long data) in result() 458 pr_info("%s: result #%u: '%s' with src_off=0x%x dst_off=0x%x len=0x%x (%ld)\n", in result() 459 current->comm, n, err, src_off, dst_off, len, data); in result() 461 pr_info("%s: result #%u: '%s' with src_off=0x%x dst_off=0x%x len=0x%x (%lu)\n", 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() 470 pr_debug("%s: result #%u: '%s' with src_off=0x%x dst_off=0x%x len=0x%x (%lu)\n", in dbg_result() 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) ({ \ 476 result(err, n, src_off, dst_off, le 454 result(const char *err, unsigned int n, unsigned int src_off, unsigned int dst_off, unsigned int len, unsigned long data) result() argument 466 dbg_result(const char *err, unsigned int n, unsigned int src_off, unsigned int dst_off, unsigned int len, unsigned long data) dbg_result() argument [all...] |
/kernel/linux/linux-5.10/sound/drivers/ |
H A D | aloop.c | 504 unsigned int dst_off = dpcm->buf_pos; in clear_capture_buf() local 513 if (dst_off + size > dpcm->pcm_buffer_size) in clear_capture_buf() 514 size = dpcm->pcm_buffer_size - dst_off; in clear_capture_buf() 515 snd_pcm_format_set_silence(runtime->format, dst + dst_off, in clear_capture_buf() 522 dst_off = 0; in clear_capture_buf() 534 unsigned int dst_off = capt->buf_pos; in copy_play_buf() local 558 if (dst_off + size > capt->pcm_buffer_size) in copy_play_buf() 559 size = capt->pcm_buffer_size - dst_off; in copy_play_buf() 560 memcpy(dst + dst_off, src + src_off, size); in copy_play_buf() 566 dst_off in copy_play_buf() [all...] |
/kernel/linux/linux-6.6/sound/drivers/ |
H A 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 in copy_play_buf() [all...] |
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A 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...] |
/kernel/linux/linux-6.6/fs/smb/server/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | mxs-dcp.c | 308 uint32_t dst_off = 0; in mxs_dcp_aes_block_crypt() local 365 actx->fill, dst_off); in mxs_dcp_aes_block_crypt() 366 dst_off += actx->fill; in mxs_dcp_aes_block_crypt()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 121 * @dst_off: bit offset at which the writing starts 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 > in nand_extract_bits() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 122 * @dst_off: bit offset at which the writing starts 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 > in nand_extract_bits() [all...] |
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | rawnand.h | 1522 void nand_extract_bits(u8 *dst, unsigned int dst_off, const u8 *src,
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | rawnand.h | 1604 void nand_extract_bits(u8 *dst, unsigned int dst_off, const u8 *src,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ast/ |
H A 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()
|