Home
last modified time | relevance | path

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

/linux-3.4.99/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()
123 size = nls_disk->uni2char(ch, dst, dstlen); in hfs_asc2mac()
131 dstlen -= size; in hfs_asc2mac()
134 dstlen--; in hfs_asc2mac()
140 if (dstlen > srclen) in hfs_asc2mac()
[all …]
/linux-3.4.99/arch/powerpc/boot/
Dgunzip_util.c102 int gunzip_partial(struct gunzip_state *state, void *dst, int dstlen) in gunzip_partial() argument
111 state->s.avail_out = dstlen; in gunzip_partial()
118 len = min(state->s.avail_in, (unsigned)dstlen); in gunzip_partial()
140 void gunzip_exactly(struct gunzip_state *state, void *dst, int dstlen) in gunzip_exactly() argument
144 len = gunzip_partial(state, dst, dstlen); in gunzip_exactly()
145 if (len < dstlen) in gunzip_exactly()
147 " Wanted %d, got %d.\n\r", dstlen, len); in gunzip_exactly()
193 int gunzip_finish(struct gunzip_state *state, void *dst, int dstlen) in gunzip_finish() argument
197 len = gunzip_partial(state, dst, dstlen); in gunzip_finish()
Dgunzip_util.h40 int gunzip_partial(struct gunzip_state *state, void *dst, int dstlen);
/linux-3.4.99/fs/jffs2/
Dcompr_rubin.c269 uint32_t *dstlen) in rubin_do_compress() argument
275 init_pushpull(&rs.pp, cpage_out, *dstlen * 8, 0, 32); in rubin_do_compress()
297 *dstlen = outpos; in rubin_do_compress()
303 uint32_t *sourcelen, uint32_t *dstlen)
306 cpage_out, sourcelen, dstlen);
311 uint32_t *sourcelen, uint32_t *dstlen) in jffs2_dynrubin_compress() argument
320 mydstlen = *dstlen - 8; in jffs2_dynrubin_compress()
322 if (*dstlen <= 12) in jffs2_dynrubin_compress()
369 *dstlen = mydstlen; in jffs2_dynrubin_compress()
391 uint32_t sourcelen, uint32_t dstlen) in jffs2_rubinmips_decompress() argument
[all …]
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()
132 *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()
Dcompr_rtime.c34 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()
/linux-3.4.99/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()
/linux-3.4.99/net/caif/
Dcfpkt_skbuff.c318 u16 dstlen; in cfpkt_append() local
331 dstlen = skb_headlen(dst); in cfpkt_append()
332 createlen = dstlen + neededtailspace; in cfpkt_append()
337 skb_set_tail_pointer(tmp, dstlen); in cfpkt_append()
338 tmp->len = dstlen; in cfpkt_append()
339 memcpy(tmp->data, dst->data, dstlen); in cfpkt_append()
/linux-3.4.99/arch/xtensa/boot/lib/
Dzmem.c34 void gunzip (void *dst, int dstlen, unsigned char *src, int *lenp) in gunzip() argument
70 s.avail_out = dstlen; in gunzip()
/linux-3.4.99/net/decnet/
Ddn_nsp_in.c229 int dstlen; in dn_find_listener() local
259 dstlen = dn_username2sockaddr(ptr, len, &dstaddr, &type); in dn_find_listener()
261 if (dstlen < 0) in dn_find_listener()
268 len -= dstlen; in dn_find_listener()
269 ptr += dstlen; in dn_find_listener()
/linux-3.4.99/include/linux/
Dcramfs_fs.h89 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen);