Home
last modified time | relevance | path

Searched refs:in_len (Results 1 – 8 of 8) sorted by relevance

/fs/ubifs/
Dcompress.c102 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument
111 if (in_len < UBIFS_MIN_COMPR_LEN) in ubifs_compress()
116 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress()
122 in_len, compr->name, err); in ubifs_compress()
130 if (in_len - *out_len < UBIFS_MIN_COMPRESS_DIFF) in ubifs_compress()
136 memcpy(out_buf, in_buf, in_len); in ubifs_compress()
137 *out_len = in_len; in ubifs_compress()
154 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument
172 memcpy(out_buf, in_buf, in_len); in ubifs_decompress()
173 *out_len = in_len; in ubifs_decompress()
[all …]
Dcrypto.c28 unsigned int in_len, unsigned int *out_len, int block) in ubifs_encrypt() argument
32 unsigned int pad_len = round_up(in_len, UBIFS_CIPHER_BLOCK_SIZE); in ubifs_encrypt()
36 dn->compr_size = cpu_to_le16(in_len); in ubifs_encrypt()
39 if (pad_len != in_len) in ubifs_encrypt()
40 memset(p + in_len, 0, pad_len - in_len); in ubifs_encrypt()
Dubifs.h2075 void ubifs_compress(const struct ubifs_info *c, const void *in_buf, int in_len,
2087 unsigned int in_len, unsigned int *out_len, in ubifs_encrypt() argument
2105 unsigned int in_len, unsigned int *out_len, int block);
/fs/btrfs/
Dlzo.c130 size_t in_len; in lzo_compress_pages() local
163 in_len = min(len, PAGE_SIZE); in lzo_compress_pages()
165 ret = lzo1x_1_compress(data_in, in_len, workspace->cbuf, in lzo_compress_pages()
180 tot_in += in_len; in lzo_compress_pages()
253 in_len = min(bytes_left, PAGE_SIZE); in lzo_compress_pages()
417 size_t in_len; in lzo_decompress() local
427 in_len = read_compress_length(data_in); in lzo_decompress()
428 if (in_len != srclen) in lzo_decompress()
432 in_len = read_compress_length(data_in); in lzo_decompress()
433 if (in_len != srclen - LZO_LEN * 2) { in lzo_decompress()
[all …]
/fs/befs/
Dlinuxvfs.c53 static int befs_utf2nls(struct super_block *sb, const char *in, int in_len,
55 static int befs_nls2utf(struct super_block *sb, const char *in, int in_len,
508 int in_len, char **out, int *out_len) in befs_utf2nls() argument
519 int maxlen = in_len + 1; in befs_utf2nls()
532 for (i = o = 0; i < in_len; i += utflen, o += unilen) { in befs_utf2nls()
535 utflen = utf8_to_utf32(&in[i], in_len - i, &uni); in befs_utf2nls()
542 unilen = nls->uni2char(uni, &result[o], in_len - o); in befs_utf2nls()
585 int in_len, char **out, int *out_len) in befs_nls2utf() argument
597 int maxlen = (3 * in_len) + 1; in befs_nls2utf()
613 for (i = o = 0; i < in_len; i += unilen, o += utflen) { in befs_nls2utf()
[all …]
/fs/ksmbd/
Dauth.h54 int in_len, char *out_blob, int *out_len);
Dauth.c510 int in_len, char *out_blob, int *out_len) in ksmbd_krb5_authenticate() argument
516 resp = ksmbd_ipc_spnego_authen_request(in_blob, in_len); in ksmbd_krb5_authenticate()
560 int in_len, char *out_blob, int *out_len) in ksmbd_krb5_authenticate() argument
Dsmb2pdu.c1595 int in_len, out_len; in krb5_authenticate() local
1600 in_len = le16_to_cpu(req->SecurityBufferLength); in krb5_authenticate()
1614 retval = ksmbd_krb5_authenticate(sess, in_blob, in_len, in krb5_authenticate()