Home
last modified time | relevance | path

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

/fs/hfs/
Dtrans.c39 int srclen, dstlen, size; in hfs_mac2asc() local
44 dstlen = HFS_MAX_NAMELEN; in hfs_mac2asc()
63 size = nls_io->uni2char(ch, dst, dstlen); in hfs_mac2asc()
71 dstlen -= size; in hfs_mac2asc()
101 int srclen, dstlen, size; in hfs_asc2mac() local
106 dstlen = HFS_NAMELEN; in hfs_asc2mac()
121 size = nls_disk->uni2char(ch, dst, dstlen); in hfs_asc2mac()
129 dstlen -= size; in hfs_asc2mac()
132 dstlen--; in hfs_asc2mac()
138 if (dstlen > srclen) in hfs_asc2mac()
[all …]
/fs/jffs2/
Dcompr_rubin.c266 uint32_t *dstlen) in rubin_do_compress() argument
272 init_pushpull(&rs.pp, cpage_out, *dstlen * 8, 0, 32); in rubin_do_compress()
294 *dstlen = outpos; in rubin_do_compress()
300 uint32_t *sourcelen, uint32_t *dstlen, void *model)
303 cpage_out, sourcelen, dstlen);
308 uint32_t *sourcelen, uint32_t *dstlen, in jffs2_dynrubin_compress() argument
318 mydstlen = *dstlen - 8; in jffs2_dynrubin_compress()
320 if (*dstlen <= 12) in jffs2_dynrubin_compress()
367 *dstlen = mydstlen; in jffs2_dynrubin_compress()
389 uint32_t sourcelen, uint32_t dstlen, in jffs2_rubinmips_decompress() argument
[all …]
Dcompr_zlib.c71 uint32_t *sourcelen, uint32_t *dstlen, in jffs2_zlib_compress() argument
76 if (*dstlen <= STREAM_END_SPACE) in jffs2_zlib_compress()
93 while (def_strm.total_out < *dstlen - STREAM_END_SPACE && def_strm.total_in < *sourcelen) { in jffs2_zlib_compress()
94 def_strm.avail_out = *dstlen - (def_strm.total_out + STREAM_END_SPACE); in jffs2_zlib_compress()
129 *dstlen = def_strm.total_out; in jffs2_zlib_compress()
Dcompr_lzo.c45 uint32_t *sourcelen, uint32_t *dstlen, void *model) in jffs2_lzo_compress() argument
55 if (compress_size > *dstlen) in jffs2_lzo_compress()
61 *dstlen = compress_size; in jffs2_lzo_compress()
Dcompr_rtime.c33 uint32_t *sourcelen, uint32_t *dstlen, in jffs2_rtime_compress() argument
42 while (pos < (*sourcelen) && outpos <= (*dstlen)-2) { in jffs2_rtime_compress()
68 *dstlen = outpos; in jffs2_rtime_compress()
/fs/cramfs/
Duncompress.c28 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen) in cramfs_uncompress_block() argument
36 stream.avail_out = dstlen; in cramfs_uncompress_block()
52 printk("%p(%d)->%p(%d)\n", src, srclen, dst, dstlen); in cramfs_uncompress_block()