/titanic_44/usr/src/uts/common/os/ |
H A D | compress.c | 128 compress(void *s_start, void *d_start, size_t s_len) in compress() argument 131 uchar_t *dst = d_start; in compress() 140 if (dst >= (uchar_t *)d_start + s_len - 1 - 2 * NBBY) { in compress() 142 for (src = s_start, dst = d_start; mlen; mlen--) in compress() 173 return (dst - (uchar_t *)d_start); in compress() 177 decompress(void *s_start, void *d_start, size_t s_len, size_t d_len) in decompress() argument 180 uchar_t *dst = d_start; in decompress() 182 uchar_t *d_end = (uchar_t *)d_start + d_len; in decompress() 202 if ((cpy = dst - offset) >= (uchar_t *)d_start) in decompress() 210 return (dst - (uchar_t *)d_start); in decompress() [all …]
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | lzjb.c | 50 lzjb_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) in lzjb_compress() argument 53 uchar_t *dst = d_start; in lzjb_compress() 63 if (dst >= (uchar_t *)d_start + d_len - 1 - 2 * NBBY) in lzjb_compress() 94 return (dst - (uchar_t *)d_start); in lzjb_compress() 99 lzjb_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) in lzjb_decompress() argument 102 uchar_t *dst = d_start; in lzjb_decompress() 103 uchar_t *d_end = (uchar_t *)d_start + d_len; in lzjb_decompress() 117 if ((cpy = dst - offset) < (uchar_t *)d_start) in lzjb_decompress()
|
H A D | gzip.c | 40 gzip_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) in gzip_compress() argument 46 if (z_compress_level(d_start, &dstlen, s_start, s_len, n) != Z_OK) { in gzip_compress() 50 bcopy(s_start, d_start, s_len); in gzip_compress() 59 gzip_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) in gzip_decompress() argument 65 if (z_uncompress(d_start, &dstlen, s_start, s_len) != Z_OK) in gzip_decompress()
|
H A D | zle.c | 37 zle_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) in zle_compress() argument 40 uchar_t *dst = d_start; in zle_compress() 63 return (src == s_end ? dst - (uchar_t *)d_start : s_len); in zle_compress() 67 zle_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) in zle_decompress() argument 70 uchar_t *dst = d_start; in zle_decompress()
|
H A D | lz4.c | 50 lz4_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) in lz4_compress() argument 53 char *dest = d_start; in lz4_compress() 77 lz4_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) in lz4_decompress() argument 91 d_start, bufsiz, d_len) < 0); in lz4_decompress()
|
/titanic_44/usr/src/grub/grub-0.97/stage2/ |
H A D | zfs_lzjb.c | 35 lzjb_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len) in lzjb_decompress() argument 38 uchar_t *dst = d_start; in lzjb_decompress() 39 uchar_t *d_end = (uchar_t *)d_start + d_len; in lzjb_decompress() 52 if ((cpy = dst - offset) < (uchar_t *)d_start) in lzjb_decompress()
|
H A D | zfs_lz4.c | 42 lz4_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len) in lz4_decompress() argument 56 return (LZ4_uncompress_unknownOutputSize(s_start + 4, d_start, bufsiz, in lz4_decompress()
|
H A D | fsys_zfs.h | 167 typedef int zfs_decomp_func_t(void *s_start, void *d_start, size_t s_len,
|