Searched refs:inlen (Results 1 – 7 of 7) sorted by relevance
/fs/nls/ |
D | nls_base.c | 55 int utf8_to_utf32(const u8 *s, int inlen, unicode_t *pu) in utf8_to_utf32() argument 74 if (inlen <= nc) in utf8_to_utf32() 132 int utf8s_to_utf16s(const u8 *s, int inlen, enum utf16_endian endian, in utf8s_to_utf16s() argument 140 while (inlen > 0 && maxout > 0 && *s) { in utf8s_to_utf16s() 142 size = utf8_to_utf32(s, inlen, &u); in utf8s_to_utf16s() 146 inlen -= size; in utf8s_to_utf16s() 166 inlen--; in utf8s_to_utf16s() 186 int utf16s_to_utf8s(const wchar_t *pwcs, int inlen, enum utf16_endian endian, in utf16s_to_utf8s() argument 194 while (inlen > 0 && maxout > 0) { in utf16s_to_utf8s() 199 inlen--; in utf16s_to_utf8s() [all …]
|
/fs/erofs/ |
D | decompressor_lzma.c | 160 unsigned int inlen, outlen, pageofs; in z_erofs_lzma_decompress() local 189 inlen = rq->inputsize; in z_erofs_lzma_decompress() 191 xz_dec_microlzma_reset(strm->state, inlen, outlen, in z_erofs_lzma_decompress() 196 strm->buf.in_size = min_t(u32, inlen, PAGE_SIZE - rq->pageofs_in); in z_erofs_lzma_decompress() 197 inlen -= strm->buf.in_size; in z_erofs_lzma_decompress() 232 if (++ni >= nrpages_in || !inlen) { in z_erofs_lzma_decompress() 238 strm->buf.in_size = min_t(u32, inlen, PAGE_SIZE); in z_erofs_lzma_decompress() 239 inlen -= strm->buf.in_size; in z_erofs_lzma_decompress()
|
/fs/dlm/ |
D | dir.c | 235 void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen, in dlm_copy_master_names() argument 245 if (inlen > 1) { in dlm_copy_master_names() 246 r = find_rsb_root(ls, inbuf, inlen); in dlm_copy_master_names() 248 inbuf[inlen - 1] = '\0'; in dlm_copy_master_names() 250 nodeid, inlen, inbuf); in dlm_copy_master_names()
|
D | dir.h | 19 void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen,
|
D | rcom.c | 336 int error, inlen, outlen, nodeid; in receive_rcom_names() local 340 inlen = le16_to_cpu(rc_in->rc_header.h_length) - in receive_rcom_names() 351 dlm_copy_master_names(ls, rc_in->rc_buf, inlen, rc->rc_buf, outlen, in receive_rcom_names()
|
/fs/ntfs3/ |
D | dir.c | 114 static int _utf8s_to_utf16s(const u8 *s, int inlen, enum utf16_endian endian, in _utf8s_to_utf16s() argument 122 while (inlen > 0 && *s) { in _utf8s_to_utf16s() 124 size = utf8_to_utf32(s, inlen, &u); in _utf8s_to_utf16s() 128 inlen -= size; in _utf8s_to_utf16s() 156 inlen--; in _utf8s_to_utf16s()
|
/fs/pstore/ |
D | platform.c | 269 unsigned int inlen, unsigned int outlen) in pstore_compress() argument 276 ret = crypto_comp_compress(tfm, in, inlen, out, &outlen); in pstore_compress()
|