/openbmc/linux/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() 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()
|
/openbmc/linux/net/smc/ |
H A 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 …]
|
/openbmc/linux/fs/nfs/ |
H A 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()
|
/openbmc/linux/fs/ceph/ |
H A D | file.c | 2696 loff_t src_off, loff_t dst_off, size_t len) in is_file_size_ok() 2714 endoff = dst_off + len; in is_file_size_ok() 2773 struct ceph_inode_info *dst_ci, u64 *dst_off, in ceph_do_objects_copy() 2797 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off, in ceph_do_objects_copy() 2836 *dst_off += object_size; in ceph_do_objects_copy() 2846 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() 2918 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range() 2930 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 2937 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, le in __ceph_copy_file_range() 2693 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 2770 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 2843 __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 3042 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...] |
/openbmc/linux/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()
|
/openbmc/linux/drivers/dma/ |
H A 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);\
|
/openbmc/linux/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 = (dst_off + size) % capt->pcm_buffer_size; in copy_play_buf()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | linker.c | 33 int dst_off; member 1149 src->dst_off = dst_align_sz; in extend_sec() 1947 dst_sym->st_value = src_sec->dst_off + sym->st_value; in linker_append_elf_sym() 1978 dst_sym->st_value = (src_sec ? src_sec->dst_off : 0) + sym->st_value; in linker_append_elf_sym() 2059 dst_rel = dst_sec->raw_data + src_sec->dst_off; in linker_append_elf_relos() 2069 dst_rel->r_offset += src_linked_sec->dst_off; in linker_append_elf_relos() 2089 insn->imm += sec->dst_off / sizeof(struct bpf_insn); in linker_append_elf_relos() 2091 insn->imm += sec->dst_off; in linker_append_elf_relos() 2414 dst_var->offset = src_sec->dst_off + src_var->offset; in linker_append_btf() 2476 dst_rec->insn_off += src_sec->dst_off; in linker_append_btf_ext() [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | vfs.c | 1786 loff_t src_off, dst_off, src_file_size; in ksmbd_vfs_copy_file_ranges() local 1811 dst_off = le64_to_cpu(chunks[i].TargetOffset); in ksmbd_vfs_copy_file_ranges() 1817 if (check_lock_range(dst_fp->filp, dst_off, in ksmbd_vfs_copy_file_ranges() 1818 dst_off + len - 1, WRITE)) in ksmbd_vfs_copy_file_ranges() 1827 dst_off = le64_to_cpu(chunks[i].TargetOffset); in ksmbd_vfs_copy_file_ranges() 1834 dst_fp->filp, dst_off, len, 0); in ksmbd_vfs_copy_file_ranges() 1837 dst_fp->filp, dst_off, len, in ksmbd_vfs_copy_file_ranges()
|
H A D | smb2pdu.c | 8221 loff_t src_off, dst_off, length, cloned; in smb2_ioctl() local 8246 dst_off = le64_to_cpu(dup_ext->TargetFileOffset); in smb2_ioctl() 8258 fp_out->filp, dst_off, length, 0); in smb2_ioctl() 8264 fp_out->filp, dst_off, in smb2_ioctl()
|
/openbmc/linux/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()
|
/openbmc/linux/Documentation/driver-api/dmaengine/ |
H A 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)
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A 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()
|
/openbmc/qemu/block/ |
H A D | trace-events | 164 iscsi_xcopy(void *src_lun, uint64_t src_off, void *dst_lun, uint64_t dst_off, uint64_t bytes, int r… 206 file_copy_file_range(void *bs, int src, int64_t src_off, int dst, int64_t dst_off, int64_t bytes, i…
|
/openbmc/linux/include/linux/mtd/ |
H A D | rawnand.h | 1604 void nand_extract_bits(u8 *dst, unsigned int dst_off, const u8 *src,
|
/openbmc/linux/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()
|
/openbmc/linux/fs/f2fs/ |
H A 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()
|
H A D | segment.c | 4181 pgoff_t src_off, dst_off; in get_next_sit_page() local 4184 dst_off = next_sit_addr(sbi, src_off); in get_next_sit_page() 4186 page = f2fs_grab_meta_page(sbi, dst_off); in get_next_sit_page()
|
/openbmc/linux/fs/fuse/ |
H A D | file.c | 3199 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument 3204 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range() 3209 dst_off, len, flags); in fuse_copy_file_range()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A 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()
|
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfsprogs/files/ |
H A D | 0005-Replace-off64_t-stat64-with-off_t-stat.patch | 98 @@ -54,7 +54,7 @@ copy_file_range_cmd(int fd, long long *src_off, long long *dst_off, size_t len)
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A 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()
|