Home
last modified time | relevance | path

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

/fs/udf/
Dunicode.c34 static int udf_char_to_ustr(struct ustr *dest, const uint8_t *src, int strlen) in udf_char_to_ustr()
39 memset(dest, 0, sizeof(struct ustr)); in udf_char_to_ustr()
50 int udf_build_ustr(struct ustr *dest, dstring *ptr, int size) in udf_build_ustr()
71 static void udf_build_ustr_exact(struct ustr *dest, dstring *ptr, int exactsize) in udf_build_ustr_exact()
73 memset(dest, 0, sizeof(struct ustr)); in udf_build_ustr_exact()
98 int udf_CS0toUTF8(struct ustr *utf_o, const struct ustr *ocu_i) in udf_CS0toUTF8()
106 memset(utf_o, 0, sizeof(struct ustr)); in udf_CS0toUTF8()
112 memset(utf_o, 0, sizeof(struct ustr)); in udf_CS0toUTF8()
177 static int udf_UTF8toCS0(dstring *ocu, struct ustr *utf, int length) in udf_UTF8toCS0()
259 static int udf_CS0toNLS(struct nls_table *nls, struct ustr *utf_o, in udf_CS0toNLS()
[all …]
Dudfdecl.h110 struct ustr { struct
218 extern int udf_build_ustr(struct ustr *, dstring *, int);
219 extern int udf_CS0toUTF8(struct ustr *, const struct ustr *);
Dsuper.c894 struct ustr *instr, *outstr; in udf_load_pvoldesc()
899 instr = kmalloc(sizeof(struct ustr), GFP_NOFS); in udf_load_pvoldesc()
903 outstr = kmalloc(sizeof(struct ustr), GFP_NOFS); in udf_load_pvoldesc()
/fs/hfsplus/
Dunicode.c122 const struct hfsplus_unistr *ustr, in hfsplus_uni2asc() argument
133 ip = ustr->unicode; in hfsplus_uni2asc()
134 ustrlen = be16_to_cpu(ustr->length); in hfsplus_uni2asc()
299 struct hfsplus_unistr *ustr, int max_unistr_len, in hfsplus_asc2uni() argument
318 ustr->unicode[outlen++] = cpu_to_be16(*dstr++); in hfsplus_asc2uni()
321 ustr->unicode[outlen++] = cpu_to_be16(c); in hfsplus_asc2uni()
326 ustr->length = cpu_to_be16(outlen); in hfsplus_asc2uni()
Dhfsplus_fs.h519 int hfsplus_uni2asc(struct super_block *sb, const struct hfsplus_unistr *ustr,
521 int hfsplus_asc2uni(struct super_block *sb, struct hfsplus_unistr *ustr,
/fs/cifs/
Dreaddir.c355 const __le16 *ustr = (const __le16 *)str; in cifs_unicode_bytelen() local
358 if (ustr[len] == 0) in cifs_unicode_bytelen()