Home
last modified time | relevance | path

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

/linux-3.4.99/fs/udf/
Dunicode.c33 static int udf_char_to_ustr(struct ustr *dest, const uint8_t *src, int strlen) in udf_char_to_ustr()
38 memset(dest, 0, sizeof(struct ustr)); in udf_char_to_ustr()
49 int udf_build_ustr(struct ustr *dest, dstring *ptr, int size) in udf_build_ustr()
70 static int udf_build_ustr_exact(struct ustr *dest, dstring *ptr, int exactsize) in udf_build_ustr_exact()
75 memset(dest, 0, sizeof(struct ustr)); in udf_build_ustr_exact()
102 int udf_CS0toUTF8(struct ustr *utf_o, const struct ustr *ocu_i) in udf_CS0toUTF8()
110 memset(utf_o, 0, sizeof(struct ustr)); in udf_CS0toUTF8()
116 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()
253 static int udf_CS0toNLS(struct nls_table *nls, struct ustr *utf_o, in udf_CS0toNLS()
[all …]
Dudfdecl.h110 struct ustr { struct
213 extern int udf_build_ustr(struct ustr *, dstring *, int);
214 extern int udf_CS0toUTF8(struct ustr *, const struct ustr *);
Dsuper.c779 struct ustr *instr, *outstr; in udf_load_pvoldesc()
784 instr = kmalloc(sizeof(struct ustr), GFP_NOFS); in udf_load_pvoldesc()
788 outstr = kmalloc(sizeof(struct ustr), GFP_NOFS); in udf_load_pvoldesc()
/linux-3.4.99/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()
298 int hfsplus_asc2uni(struct super_block *sb, struct hfsplus_unistr *ustr, in hfsplus_asc2uni() argument
317 ustr->unicode[outlen++] = cpu_to_be16(*dstr++); in hfsplus_asc2uni()
320 ustr->unicode[outlen++] = cpu_to_be16(c); in hfsplus_asc2uni()
325 ustr->length = cpu_to_be16(outlen); in hfsplus_asc2uni()
/linux-3.4.99/drivers/power/
Dpower_supply_sysfs.c235 char *ret, *ustr; in kstruprdup() local
237 ustr = ret = kmalloc(strlen(str) + 1, gfp); in kstruprdup()
243 *ustr++ = toupper(*str++); in kstruprdup()
245 *ustr = 0; in kstruprdup()
/linux-3.4.99/fs/cifs/
Dreaddir.c313 const __le16 *ustr = (const __le16 *)str; in cifs_unicode_bytelen() local
316 if (ustr[len] == 0) in cifs_unicode_bytelen()