Searched refs:ustr (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/fs/udf/
H A Dunicode.c34 static int udf_char_to_ustr(struct ustr *dest, const uint8_t *src, int strlen) udf_char_to_ustr()
39 memset(dest, 0, sizeof(struct ustr)); udf_char_to_ustr()
50 int udf_build_ustr(struct ustr *dest, dstring *ptr, int size) udf_build_ustr()
71 static int udf_build_ustr_exact(struct ustr *dest, dstring *ptr, int exactsize) udf_build_ustr_exact()
76 memset(dest, 0, sizeof(struct ustr)); udf_build_ustr_exact()
94 * both of type "struct ustr *"
103 int udf_CS0toUTF8(struct ustr *utf_o, const struct ustr *ocu_i) udf_CS0toUTF8()
111 memset(utf_o, 0, sizeof(struct ustr)); udf_CS0toUTF8()
117 memset(utf_o, 0, sizeof(struct ustr)); udf_CS0toUTF8()
182 static int udf_UTF8toCS0(dstring *ocu, struct ustr *utf, int length) udf_UTF8toCS0()
264 static int udf_CS0toNLS(struct nls_table *nls, struct ustr *utf_o, udf_CS0toNLS()
265 const struct ustr *ocu_i) udf_CS0toNLS()
274 memset(utf_o, 0, sizeof(struct ustr)); udf_CS0toNLS()
280 memset(utf_o, 0, sizeof(struct ustr)); udf_CS0toNLS()
307 static int udf_NLStoCS0(struct nls_table *nls, dstring *ocu, struct ustr *uni, udf_NLStoCS0()
355 struct ustr *filename, *unifilename; udf_get_filename()
358 filename = kmalloc(sizeof(struct ustr), GFP_NOFS); udf_get_filename()
362 unifilename = kmalloc(sizeof(struct ustr), GFP_NOFS); udf_get_filename()
398 struct ustr unifilename; udf_put_filename()
H A 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 *);
H A Dsuper.c894 struct ustr *instr, *outstr; udf_load_pvoldesc()
899 instr = kmalloc(sizeof(struct ustr), GFP_NOFS); udf_load_pvoldesc()
903 outstr = kmalloc(sizeof(struct ustr), GFP_NOFS); udf_load_pvoldesc()
/linux-4.1.27/fs/hfsplus/
H A Dunicode.c122 const struct hfsplus_unistr *ustr, hfsplus_uni2asc()
133 ip = ustr->unicode; hfsplus_uni2asc()
134 ustrlen = be16_to_cpu(ustr->length); hfsplus_uni2asc()
299 struct hfsplus_unistr *ustr, int max_unistr_len, hfsplus_asc2uni()
318 ustr->unicode[outlen++] = cpu_to_be16(*dstr++); hfsplus_asc2uni()
321 ustr->unicode[outlen++] = cpu_to_be16(c); hfsplus_asc2uni()
326 ustr->length = cpu_to_be16(outlen); hfsplus_asc2uni()
121 hfsplus_uni2asc(struct super_block *sb, const struct hfsplus_unistr *ustr, char *astr, int *len_p) hfsplus_uni2asc() argument
298 hfsplus_asc2uni(struct super_block *sb, struct hfsplus_unistr *ustr, int max_unistr_len, const char *astr, int len) hfsplus_asc2uni() argument
H A Dhfsplus_fs.h517 int hfsplus_uni2asc(struct super_block *sb, const struct hfsplus_unistr *ustr,
519 int hfsplus_asc2uni(struct super_block *sb, struct hfsplus_unistr *ustr,
/linux-4.1.27/drivers/power/
H A Dpower_supply_sysfs.c258 char *ret, *ustr; kstruprdup() local
260 ustr = ret = kmalloc(strlen(str) + 1, gfp); kstruprdup()
266 *ustr++ = toupper(*str++); kstruprdup()
268 *ustr = 0; kstruprdup()
/linux-4.1.27/fs/cifs/
H A Dreaddir.c354 const __le16 *ustr = (const __le16 *)str; cifs_unicode_bytelen() local
357 if (ustr[len] == 0) cifs_unicode_bytelen()

Completed in 192 milliseconds