Home
last modified time | relevance | path

Searched refs:ustr (Results 1 – 3 of 3) sorted by relevance

/linux/fs/hfsplus/
H A Dunicode_test.c48 static void create_unistr(struct hfsplus_unistr *ustr, const char *ascii_str) in create_unistr() argument
53 memset(ustr->unicode, 0, sizeof(ustr->unicode)); in create_unistr()
55 ustr->length = cpu_to_be16(len); in create_unistr()
57 ustr->unicode[i] = cpu_to_be16((u16)ascii_str[i]); in create_unistr()
60 static void corrupt_unistr(struct hfsplus_unistr *ustr) in corrupt_unistr() argument
62 ustr->length = cpu_to_be16(U16_MAX); in corrupt_unistr()
684 struct hfsplus_unistr *ustr, in check_unistr_content() argument
688 int actual_len = be16_to_cpu(ustr->length); in check_unistr_content()
695 u16 actual_char = be16_to_cpu(ustr->unicode[i]); in check_unistr_content()
851 struct hfsplus_unistr ustr; in hfsplus_asc2uni_edge_cases_test() local
[all …]
/linux/fs/smb/client/
H A Dreaddir.c451 const __le16 *ustr = (const __le16 *)str; in cifs_unicode_bytelen() local
454 if (ustr[len] == 0) in cifs_unicode_bytelen()
/linux/kernel/trace/
H A Dtrace_events_filter.c819 char __user *ustr; in test_ustring() local
829 ustr = (char __user *)str; in test_ustring()
830 if (strncpy_from_user_nofault(kstr, ustr, USTRING_BUF_SIZE) < 0) in test_ustring()