/fs/jfs/ |
D | jfs_unicode.c | 23 int outlen = 0; in jfs_strfromUCS_le() local 32 &to[outlen], in jfs_strfromUCS_le() 35 outlen += charlen; in jfs_strfromUCS_le() 37 to[outlen++] = '?'; in jfs_strfromUCS_le() 57 outlen = i; in jfs_strfromUCS_le() 59 to[outlen] = 0; in jfs_strfromUCS_le() 60 return outlen; in jfs_strfromUCS_le()
|
D | jfs_dtree.c | 2722 int d_namleft, len, outlen; in jfs_readdir() local 2947 outlen = jfs_strfromUCS_le(name_ptr, d->name, len, in jfs_readdir() 2949 jfs_dirent->name_len = outlen; in jfs_readdir() 2955 name_ptr += outlen; in jfs_readdir() 2967 outlen = jfs_strfromUCS_le(name_ptr, t->name, in jfs_readdir() 2969 jfs_dirent->name_len += outlen; in jfs_readdir()
|
/fs/smb/server/ |
D | unicode.c | 110 int charlen, outlen = 0; in smb_utf16_bytes() local 128 outlen += charlen; in smb_utf16_bytes() 130 outlen++; in smb_utf16_bytes() 133 return outlen; in smb_utf16_bytes() 164 int outlen = 0; in smb_from_utf16() local 193 if (outlen >= safelen) { in smb_from_utf16() 195 if ((outlen + charlen) > (tolen - nullsize)) in smb_from_utf16() 200 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, mapchar); in smb_from_utf16() 201 outlen += charlen; in smb_from_utf16() 219 to[outlen++] = 0; in smb_from_utf16() [all …]
|
/fs/smb/client/ |
D | cifs_unicode.c | 181 int outlen = 0; in cifs_from_utf16() local 212 if (outlen >= safelen) { in cifs_from_utf16() 214 if ((outlen + charlen) > (tolen - nullsize)) in cifs_from_utf16() 219 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); in cifs_from_utf16() 220 outlen += charlen; in cifs_from_utf16() 236 to[outlen++] = 0; in cifs_from_utf16() 238 return outlen; in cifs_from_utf16() 308 int charlen, outlen = 0; in cifs_utf16_bytes() local 327 outlen += charlen; in cifs_utf16_bytes() 330 return outlen; in cifs_utf16_bytes()
|
D | smb2inode.c | 108 u32 outlen, next; in check_wsl_eas() local 113 outlen = le32_to_cpu(rsp->OutputBufferLength); in check_wsl_eas() 114 if (outlen < SMB2_WSL_MIN_QUERY_EA_RESP_SIZE || in check_wsl_eas() 115 outlen > SMB2_WSL_MAX_QUERY_EA_RESP_SIZE) in check_wsl_eas()
|
/fs/erofs/ |
D | decompressor_lzma.c | 160 unsigned int inlen, outlen, pageofs; in z_erofs_lzma_decompress() local 190 outlen = rq->outputsize; in z_erofs_lzma_decompress() 191 xz_dec_microlzma_reset(strm->state, inlen, outlen, in z_erofs_lzma_decompress() 211 if (++no >= nrpages_out || !outlen) { in z_erofs_lzma_decompress() 217 strm->buf.out_size = min_t(u32, outlen, in z_erofs_lzma_decompress() 219 outlen -= strm->buf.out_size; in z_erofs_lzma_decompress() 281 if (xz_err == XZ_STREAM_END && !outlen) in z_erofs_lzma_decompress()
|
/fs/fat/ |
D | namei_vfat.c | 512 int *longlen, int *outlen, int escape, int utf8, in xlate_to_uni() argument 521 *outlen = utf8s_to_utf16s(name, len, UTF16_HOST_ENDIAN, in xlate_to_uni() 523 if (*outlen < 0) in xlate_to_uni() 524 return *outlen; in xlate_to_uni() 525 else if (*outlen > FAT_LFN_LEN) in xlate_to_uni() 528 op = &outname[*outlen * sizeof(wchar_t)]; in xlate_to_uni() 530 for (i = 0, ip = name, op = outname, *outlen = 0; in xlate_to_uni() 531 i < len && *outlen < FAT_LFN_LEN; in xlate_to_uni() 532 *outlen += 1) { in xlate_to_uni() 561 *longlen = *outlen; in xlate_to_uni() [all …]
|
/fs/hfsplus/ |
D | unicode.c | 349 u16 *dstr, outlen = 0; in hfsplus_asc2uni() local 354 while (outlen < max_unistr_len && len > 0) { in hfsplus_asc2uni() 362 if (outlen + dsize > max_unistr_len) in hfsplus_asc2uni() 365 ustr->unicode[outlen++] = cpu_to_be16(*dstr++); in hfsplus_asc2uni() 368 ustr->unicode[outlen++] = cpu_to_be16(c); in hfsplus_asc2uni() 373 ustr->length = cpu_to_be16(outlen); in hfsplus_asc2uni()
|
/fs/dlm/ |
D | dir.c | 237 char *outbuf, int outlen, int nodeid) in dlm_copy_master_names() argument 275 if (offset + sizeof(uint16_t)*2 + r->res_length > outlen) { in dlm_copy_master_names() 298 (offset + sizeof(uint16_t) <= outlen)) { in dlm_copy_master_names()
|
D | dir.h | 20 char *outbuf, int outlen, int nodeid);
|
D | rcom.c | 342 int error, inlen, outlen, nodeid; in receive_rcom_names() local 347 outlen = DLM_MAX_APP_BUFSIZE - sizeof(struct dlm_rcom); in receive_rcom_names() 349 error = create_rcom(ls, nodeid, DLM_RCOM_NAMES_REPLY, outlen, in receive_rcom_names() 356 dlm_copy_master_names(ls, rc_in->rc_buf, inlen, rc->rc_buf, outlen, in receive_rcom_names()
|
/fs/pstore/ |
D | platform.c | 174 unsigned int inlen, unsigned int outlen) in pstore_compress() argument 180 .avail_out = outlen, in pstore_compress()
|