Home
last modified time | relevance | path

Searched refs:outlen (Results 1 – 13 of 13) sorted by relevance

/fs/pstore/
Dplatform.c90 int (*compress)(const void *in, void *out, size_t inlen, size_t outlen);
91 int (*decompress)(void *in, void *out, size_t inlen, size_t outlen);
155 static int compress_zlib(const void *in, void *out, size_t inlen, size_t outlen) in compress_zlib() argument
169 stream.avail_out = outlen; in compress_zlib()
189 static int decompress_zlib(void *in, void *out, size_t inlen, size_t outlen) in decompress_zlib() argument
202 stream.avail_out = outlen; in decompress_zlib()
280 static int compress_lzo(const void *in, void *out, size_t inlen, size_t outlen) in compress_lzo() argument
284 ret = lzo1x_1_compress(in, inlen, out, &outlen, workspace); in compress_lzo()
290 return outlen; in compress_lzo()
293 static int decompress_lzo(void *in, void *out, size_t inlen, size_t outlen) in decompress_lzo() argument
[all …]
/fs/jfs/
Djfs_unicode.c36 int outlen = 0; in jfs_strfromUCS_le() local
45 &to[outlen], in jfs_strfromUCS_le()
48 outlen += charlen; in jfs_strfromUCS_le()
50 to[outlen++] = '?'; in jfs_strfromUCS_le()
70 outlen = i; in jfs_strfromUCS_le()
72 to[outlen] = 0; in jfs_strfromUCS_le()
73 return outlen; in jfs_strfromUCS_le()
Djfs_dtree.c3025 int d_namleft, len, outlen; in jfs_readdir() local
3250 outlen = jfs_strfromUCS_le(name_ptr, d->name, len, in jfs_readdir()
3252 jfs_dirent->name_len = outlen; in jfs_readdir()
3258 name_ptr += outlen; in jfs_readdir()
3270 outlen = jfs_strfromUCS_le(name_ptr, t->name, in jfs_readdir()
3272 jfs_dirent->name_len += outlen; in jfs_readdir()
/fs/ncpfs/
Dsymlink.c109 int length, err, i, outlen; in ncp_symlink() local
147 outlen = NCP_MAX_SYMLINK_SIZE - hdr; in ncp_symlink()
148 err = ncp_io2vol(NCP_SERVER(dir), rawlink + hdr, &outlen, symname, length, 0); in ncp_symlink()
152 outlen += hdr; in ncp_symlink()
165 0, outlen, rawlink, &i) || i!=outlen) { in ncp_symlink()
/fs/cifs/
Dcifs_unicode.c195 int outlen = 0; in cifs_from_utf16() local
226 if (outlen >= safelen) { in cifs_from_utf16()
228 if ((outlen + charlen) > (tolen - nullsize)) in cifs_from_utf16()
233 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); in cifs_from_utf16()
234 outlen += charlen; in cifs_from_utf16()
250 to[outlen++] = 0; in cifs_from_utf16()
252 return outlen; in cifs_from_utf16()
322 int charlen, outlen = 0; in cifs_utf16_bytes() local
341 outlen += charlen; in cifs_utf16_bytes()
344 return outlen; in cifs_utf16_bytes()
/fs/logfs/
Dcompr.c17 int logfs_compress(void *in, void *out, size_t inlen, size_t outlen) in logfs_compress() argument
31 stream.avail_out = outlen; in logfs_compress()
51 int logfs_uncompress(void *in, void *out, size_t inlen, size_t outlen) in logfs_uncompress() argument
65 stream.avail_out = outlen; in logfs_uncompress()
Djournal.c145 size_t inlen, outlen; in unpack() local
148 outlen = be16_to_cpu(jh->h_datalen); in unpack()
153 err = logfs_uncompress(data, to, inlen, outlen); in unpack()
Dlogfs.h468 int logfs_compress(void *in, void *out, size_t inlen, size_t outlen);
469 int logfs_uncompress(void *in, void *out, size_t inlen, size_t outlen);
/fs/fat/
Dnamei_vfat.c509 int *longlen, int *outlen, int escape, int utf8, in xlate_to_uni() argument
520 *outlen = utf8s_to_utf16s(name, len, UTF16_HOST_ENDIAN, in xlate_to_uni()
522 if (*outlen < 0) in xlate_to_uni()
523 return *outlen; in xlate_to_uni()
524 else if (*outlen > FAT_LFN_LEN) in xlate_to_uni()
527 op = &outname[*outlen * sizeof(wchar_t)]; in xlate_to_uni()
529 for (i = 0, ip = name, op = outname, *outlen = 0; in xlate_to_uni()
530 i < len && *outlen < FAT_LFN_LEN; in xlate_to_uni()
531 *outlen += 1) { in xlate_to_uni()
571 *longlen = *outlen; in xlate_to_uni()
[all …]
/fs/hfsplus/
Dunicode.c303 u16 *dstr, outlen = 0; in hfsplus_asc2uni() local
307 while (outlen < max_unistr_len && len > 0) { in hfsplus_asc2uni()
315 if (outlen + dsize > max_unistr_len) in hfsplus_asc2uni()
318 ustr->unicode[outlen++] = cpu_to_be16(*dstr++); in hfsplus_asc2uni()
321 ustr->unicode[outlen++] = cpu_to_be16(c); in hfsplus_asc2uni()
326 ustr->length = cpu_to_be16(outlen); in hfsplus_asc2uni()
/fs/dlm/
Ddir.c237 char *outbuf, int outlen, int nodeid) in dlm_copy_master_names() argument
276 if (offset + sizeof(uint16_t)*2 + r->res_length > outlen) { in dlm_copy_master_names()
299 (offset + sizeof(uint16_t) <= outlen)) { in dlm_copy_master_names()
Drcom.c299 int error, inlen, outlen, nodeid; in receive_rcom_names() local
303 outlen = dlm_config.ci_buffer_size - sizeof(struct dlm_rcom); in receive_rcom_names()
305 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES_REPLY, outlen, &rc, &mh); in receive_rcom_names()
311 dlm_copy_master_names(ls, rc_in->rc_buf, inlen, rc->rc_buf, outlen, in receive_rcom_names()
Ddir.h22 char *outbuf, int outlen, int nodeid);