Lines Matching defs:maxlen
273 * @maxlen: maximum length of string @s
276 * string @s up to a maximum of maxlen Unicode characters, not including
278 * and @s + @maxlen, @maxlen is returned.
280 * This function never looks beyond @s + @maxlen.
282 u32 ntfs_ucsnlen(const ntfschar *s, u32 maxlen)
286 for (i = 0; i < maxlen; i++) {
296 * @maxlen: maximum length of string @s
302 * A maximum of @maxlen Unicode characters are copied and a terminating
305 * This function never looks beyond @s + @maxlen.
310 ntfschar *ntfs_ucsndup(const ntfschar *s, u32 maxlen)
315 len = ntfs_ucsnlen(s, maxlen);