Home
last modified time | relevance | path

Searched refs:dstlen (Results 1 – 7 of 7) sorted by relevance

/fs/hfs/
Dtrans.c39 int srclen, dstlen, size; in hfs_mac2asc() local
46 dstlen = HFS_MAX_NAMELEN; in hfs_mac2asc()
65 size = nls_io->uni2char(ch, dst, dstlen); in hfs_mac2asc()
73 dstlen -= size; in hfs_mac2asc()
103 int srclen, dstlen, size; in hfs_asc2mac() local
108 dstlen = HFS_NAMELEN; in hfs_asc2mac()
112 while (srclen > 0 && dstlen > 0) { in hfs_asc2mac()
123 size = nls_disk->uni2char(ch, dst, dstlen); in hfs_asc2mac()
131 dstlen -= size; in hfs_asc2mac()
134 dstlen--; in hfs_asc2mac()
[all …]
/fs/jffs2/
Dcompr_rubin.c264 uint32_t *dstlen) in rubin_do_compress() argument
270 init_pushpull(&rs.pp, cpage_out, *dstlen * 8, 0, 32); in rubin_do_compress()
292 *dstlen = outpos; in rubin_do_compress()
298 uint32_t *sourcelen, uint32_t *dstlen)
301 cpage_out, sourcelen, dstlen);
306 uint32_t *sourcelen, uint32_t *dstlen) in jffs2_dynrubin_compress() argument
315 mydstlen = *dstlen - 8; in jffs2_dynrubin_compress()
317 if (*dstlen <= 12) in jffs2_dynrubin_compress()
364 *dstlen = mydstlen; in jffs2_dynrubin_compress()
386 uint32_t sourcelen, uint32_t dstlen) in jffs2_rubinmips_decompress() argument
[all …]
Dcompr_rtime.c34 uint32_t *sourcelen, uint32_t *dstlen) in jffs2_rtime_compress() argument
40 if (*dstlen <= 3) in jffs2_rtime_compress()
45 while (pos < (*sourcelen) && outpos <= (*dstlen)-2) { in jffs2_rtime_compress()
71 *dstlen = outpos; in jffs2_rtime_compress()
Dcompr_zlib.c74 uint32_t *sourcelen, uint32_t *dstlen) in jffs2_zlib_compress() argument
78 if (*dstlen <= STREAM_END_SPACE) in jffs2_zlib_compress()
95 while (def_strm.total_out < *dstlen - STREAM_END_SPACE && def_strm.total_in < *sourcelen) { in jffs2_zlib_compress()
96 def_strm.avail_out = *dstlen - (def_strm.total_out + STREAM_END_SPACE); in jffs2_zlib_compress()
133 *dstlen = def_strm.total_out; in jffs2_zlib_compress()
Dcompr_lzo.c44 uint32_t *sourcelen, uint32_t *dstlen) in jffs2_lzo_compress() argument
54 if (compress_size > *dstlen) in jffs2_lzo_compress()
60 *dstlen = compress_size; in jffs2_lzo_compress()
/fs/cramfs/
Duncompress.c31 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen) in cramfs_uncompress_block() argument
39 stream.avail_out = dstlen; in cramfs_uncompress_block()
55 pr_err("%p(%d)->%p(%d)\n", src, srclen, dst, dstlen); in cramfs_uncompress_block()
Dinternal.h2 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen);