Lines Matching refs:ustr
15 static int udf_char_to_ustr(struct ustr *dest, const uint8_t *src, int strlen)
20 memset(dest, 0, sizeof(struct ustr));
31 int udf_build_ustr(struct ustr *dest, dstring *ptr, int size)
52 static int udf_build_ustr_exact(struct ustr *dest, dstring *ptr, int exactsize)
57 memset(dest, 0, sizeof(struct ustr));
75 * both of type "struct ustr *"
84 int udf_CS0toUTF8(struct ustr *utf_o, const struct ustr *ocu_i)
92 memset(utf_o, 0, sizeof(struct ustr));
98 memset(utf_o, 0, sizeof(struct ustr));
159 static int udf_UTF8toCS0(dstring *ocu, struct ustr *utf, int length)
235 static int udf_CS0toNLS(struct nls_table *nls, struct ustr *utf_o,
236 const struct ustr *ocu_i)
245 memset(utf_o, 0, sizeof(struct ustr));
251 memset(utf_o, 0, sizeof(struct ustr));
278 static int udf_NLStoCS0(struct nls_table *nls, dstring *ocu, struct ustr *uni,
321 struct ustr *filename, *unifilename;
324 filename = kmalloc(sizeof(struct ustr), GFP_NOFS);
328 unifilename = kmalloc(sizeof(struct ustr), GFP_NOFS);
363 struct ustr unifilename;