Lines Matching refs:dst
352 char *dst; in cifs_strndup_from_utf16() local
357 dst = kmalloc(len, GFP_KERNEL); in cifs_strndup_from_utf16()
358 if (!dst) in cifs_strndup_from_utf16()
360 cifs_from_utf16(dst, (__le16 *) src, len, maxlen, codepage, in cifs_strndup_from_utf16()
363 dst = kstrndup(src, maxlen, GFP_KERNEL); in cifs_strndup_from_utf16()
366 return dst; in cifs_strndup_from_utf16()
621 __le16 *dst; in cifs_strndup_to_utf16() local
625 dst = kmalloc(len, GFP_KERNEL); in cifs_strndup_to_utf16()
626 if (!dst) { in cifs_strndup_to_utf16()
630 cifsConvertToUTF16(dst, src, strlen(src), cp, remap); in cifs_strndup_to_utf16()
632 return dst; in cifs_strndup_to_utf16()