/openbmc/linux/fs/nfs/ |
H A D | nfsroot.c | 165 const size_t destlen) in root_nfs_copy() argument 167 if (strscpy(dest, src, destlen) == -E2BIG) in root_nfs_copy() 173 const size_t destlen) in root_nfs_cat() argument 178 if (strlcat(dest, ",", destlen) >= destlen) in root_nfs_cat() 181 if (strlcat(dest, src, destlen) >= destlen) in root_nfs_cat()
|
/openbmc/qemu/util/ |
H A D | fifo8.c | 114 static uint32_t fifo8_peekpop_buf(Fifo8 *fifo, uint8_t *dest, uint32_t destlen, in fifo8_peekpop_buf() argument 121 if (destlen == 0) { in fifo8_peekpop_buf() 125 len = destlen; in fifo8_peekpop_buf() 144 uint32_t fifo8_pop_buf(Fifo8 *fifo, uint8_t *dest, uint32_t destlen) in fifo8_pop_buf() argument 146 return fifo8_peekpop_buf(fifo, dest, destlen, true); in fifo8_pop_buf() 149 uint32_t fifo8_peek_buf(Fifo8 *fifo, uint8_t *dest, uint32_t destlen) in fifo8_peek_buf() argument 151 return fifo8_peekpop_buf(fifo, dest, destlen, false); in fifo8_peek_buf()
|
/openbmc/linux/fs/jffs2/ |
H A D | compr_lzo.c | 69 uint32_t srclen, uint32_t destlen) in jffs2_lzo_decompress() argument 71 size_t dl = destlen; in jffs2_lzo_decompress() 76 if (ret != LZO_E_OK || dl != destlen) in jffs2_lzo_decompress()
|
H A D | compr_rtime.c | 78 uint32_t srclen, uint32_t destlen) in jffs2_rtime_decompress() argument 86 while (outpos<destlen) { in jffs2_rtime_decompress() 98 if ((outpos + repeat) > destlen) { in jffs2_rtime_decompress()
|
H A D | compr_zlib.c | 143 uint32_t srclen, uint32_t destlen) in jffs2_zlib_decompress() argument 155 inf_strm.avail_out = destlen; in jffs2_zlib_decompress()
|
H A D | compr.h | 54 uint32_t *srclen, uint32_t *destlen);
|
H A D | compr_rubin.c | 371 uint32_t destlen) in rubin_do_decompress() argument 379 while (outpos < destlen) in rubin_do_decompress()
|
/openbmc/u-boot/include/jffs2/ |
H A D | jffs2.h | 221 u32 srclen, u32 destlen); 223 unsigned char *page_out, __u32 destlen); 227 __u32 srclen, __u32 destlen); 230 u32 srclen, u32 destlen);
|
/openbmc/linux/fs/btrfs/ |
H A D | compression.h | 86 unsigned long start_byte, size_t srclen, size_t destlen); 147 size_t destlen); 158 size_t destlen); 168 size_t destlen);
|
H A D | zlib.c | 358 size_t destlen) in zlib_decompress() argument 393 to_copy = min(workspace->strm.total_out, destlen); in zlib_decompress() 400 if (unlikely(to_copy != destlen)) { in zlib_decompress() 402 to_copy, destlen); in zlib_decompress() 410 if (unlikely(to_copy < destlen)) in zlib_decompress() 411 memzero_page(dest_page, dest_pgoff + to_copy, destlen - to_copy); in zlib_decompress()
|
H A D | lzo.c | 429 size_t destlen) in lzo_decompress() argument 471 destlen = min_t(unsigned long, destlen, PAGE_SIZE); in lzo_decompress() 472 bytes = min_t(unsigned long, destlen, out_len - start_byte); in lzo_decompress() 482 if (bytes < destlen) in lzo_decompress() 483 memset(kaddr+bytes, 0, destlen-bytes); in lzo_decompress()
|
H A D | zstd.c | 620 size_t destlen) in zstd_decompress() argument 637 destlen = min_t(size_t, destlen, PAGE_SIZE); in zstd_decompress() 648 while (pg_offset < destlen in zstd_decompress() 681 bytes = min_t(unsigned long, destlen - pg_offset, in zstd_decompress() 691 if (pg_offset < destlen) { in zstd_decompress() 692 memzero_page(dest_page, pg_offset, destlen - pg_offset); in zstd_decompress()
|
H A D | compression.c | 144 unsigned long dest_pgoff, size_t srclen, size_t destlen) in compression_decompress() argument 148 dest_pgoff, srclen, destlen); in compression_decompress() 150 dest_pgoff, srclen, destlen); in compression_decompress() 152 dest_pgoff, srclen, destlen); in compression_decompress() 944 unsigned long dest_pgoff, size_t srclen, size_t destlen) in btrfs_decompress() argument 956 ASSERT(dest_pgoff + destlen <= PAGE_SIZE && destlen <= sectorsize); in btrfs_decompress() 960 dest_pgoff, srclen, destlen); in btrfs_decompress()
|
/openbmc/linux/include/linux/ |
H A D | sw842.h | 8 u8 *dst, unsigned int *destlen, void *wmem); 11 u8 *dst, unsigned int *destlen);
|
/openbmc/u-boot/fs/jffs2/ |
H A D | compr_rtime.c | 52 u32 srclen, u32 destlen) in rtime_decompress() argument 63 while (outpos<destlen) { in rtime_decompress()
|
H A D | compr_rubin.c | 47 unsigned char *page_out, __u32 destlen) in rubin_do_decompress() argument 50 char *end = (char *)(page_out + destlen); in rubin_do_decompress()
|
H A D | compr_zlib.c | 44 __u32 srclen, __u32 destlen) in zlib_decompress() argument
|
H A D | compr_lzo.c | 397 u32 srclen, u32 destlen) in lzo_decompress() argument 399 lzo_uint outlen = destlen; in lzo_decompress()
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | mem_helper.c | 1049 uint64_t *dest, uint64_t *destlen, in do_mvcl() argument 1054 int len = MIN(*destlen, -(*dest | TARGET_PAGE_MASK)); in do_mvcl() 1058 if (*destlen == *srclen) { in do_mvcl() 1060 } else if (*destlen < *srclen) { in do_mvcl() 1066 if (!*destlen) { in do_mvcl() 1077 *destlen -= len; in do_mvcl() 1086 *destlen -= len; in do_mvcl() 1095 for (i = 0; i < len; (*destlen)--, i++) { in do_mvcl() 1096 if (*destlen & 1) { in do_mvcl() 1106 return *destlen ? 3 : cc; in do_mvcl() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | fifo8.h | 88 uint32_t fifo8_pop_buf(Fifo8 *fifo, uint8_t *dest, uint32_t destlen); 102 uint32_t fifo8_peek_buf(Fifo8 *fifo, uint8_t *dest, uint32_t destlen);
|
/openbmc/u-boot/test/dm/ |
H A D | video.c | 58 uint destlen; in compress_frame_buffer() local 62 destlen = priv->fb_size; in compress_frame_buffer() 66 ret = BZ2_bzBuffToBuffCompress(dest, &destlen, in compress_frame_buffer() 73 return destlen; in compress_frame_buffer()
|
/openbmc/linux/arch/mips/include/asm/fw/cfe/ |
H A D | cfe_api.h | 90 int cfe_getenv(char *name, char *dest, int destlen);
|
/openbmc/linux/arch/mips/fw/cfe/ |
H A D | cfe_api.c | 206 int cfe_getenv(char *name, char *dest, int destlen) in cfe_getenv() argument 221 xiocb.plist.xiocb_envbuf.val_length = destlen; in cfe_getenv()
|
/openbmc/linux/net/tipc/ |
H A D | socket.c | 2574 int destlen, int flags) in tipc_connect() argument 2584 if (destlen != sizeof(struct sockaddr_tipc)) in tipc_connect() 2606 memcpy(&tsk->peer, dest, destlen); in tipc_connect() 2619 m.msg_namelen = destlen; in tipc_connect()
|