Home
last modified time | relevance | path

Searched refs:YCHAR (Results 1 – 11 of 11) sorted by relevance

/external/u-boot/fs/yaffs2/
Dyaffsfs.h41 YCHAR d_name[NAME_MAX+1]; /* file name (null-terminated) */
79 int yaffs_open(const YCHAR *path, int oflag, int mode) ;
86 int yaffs_access(const YCHAR *path, int amode);
98 int yaffs_truncate(const YCHAR *path, loff_t new_size);
101 int yaffs_unlink(const YCHAR *path) ;
102 int yaffs_rename(const YCHAR *oldPath, const YCHAR *newPath) ;
104 int yaffs_stat(const YCHAR *path, struct yaffs_stat *buf) ;
105 int yaffs_lstat(const YCHAR *path, struct yaffs_stat *buf) ;
108 int yaffs_utime(const YCHAR *path, const struct yaffs_utimbuf *buf);
148 int yaffs_chmod(const YCHAR *path, mode_t mode);
[all …]
Dyaffsfs.c33 const YCHAR *path,
87 YCHAR name[NAME_MAX + 1]; /* name of directory being searched */
388 static int yaffs_toupper(YCHAR a) in yaffs_toupper()
396 int yaffsfs_Match(YCHAR a, YCHAR b) in yaffsfs_Match()
401 int yaffsfs_Match(YCHAR a, YCHAR b) in yaffsfs_Match()
408 int yaffsfs_IsPathDivider(YCHAR ch) in yaffsfs_IsPathDivider()
410 const YCHAR *str = YAFFS_PATH_DIVIDERS; in yaffsfs_IsPathDivider()
438 static int yaffsfs_alt_dir_path(const YCHAR *path, YCHAR **ret_path) in yaffsfs_alt_dir_path()
440 YCHAR *alt_path = NULL; in yaffsfs_alt_dir_path()
464 alt_path[i] = (YCHAR) 0; in yaffsfs_alt_dir_path()
[all …]
Dyaffs_guts.h316 YCHAR name[YAFFS_MAX_NAME_LENGTH + 1];
334 YCHAR alias[YAFFS_MAX_ALIAS_LENGTH + 1];
383 YCHAR *alias;
453 YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1];
516 const YCHAR *name;
821 const YCHAR *name;
835 int yaffs_rename_obj(struct yaffs_obj *old_dir, const YCHAR * old_name,
836 struct yaffs_obj *new_dir, const YCHAR * new_name);
838 int yaffs_unlinker(struct yaffs_obj *dir, const YCHAR * name);
841 int yaffs_get_obj_name(struct yaffs_obj *obj, YCHAR * name, int buffer_size);
[all …]
Dyaffs_nameval.c32 static int nval_find(const char *xb, int xb_size, const YCHAR *name, in nval_find()
40 if (!yaffs_strncmp((YCHAR *) (xb + pos + sizeof(int)), in nval_find()
73 int nval_del(char *xb, int xb_size, const YCHAR *name) in nval_del()
89 int nval_set(char *xb, int xb_size, const YCHAR *name, const char *buf, in nval_set()
123 yaffs_strncpy((YCHAR *) (xb + pos), name, reclen); in nval_set()
129 int nval_get(const char *xb, int xb_size, const YCHAR * name, char *buf, in nval_get()
182 name_len = yaffs_strnlen((YCHAR *) (xb + pos), size); in nval_list()
184 memcpy(buf, xb + pos, name_len * sizeof(YCHAR)); in nval_list()
188 if (sizeof(YCHAR) > 1) { in nval_list()
Dyaffs_nameval.h21 int nval_del(char *xb, int xb_size, const YCHAR * name);
22 int nval_set(char *xb, int xb_size, const YCHAR * name, const char *buf,
24 int nval_get(const char *xb, int xb_size, const YCHAR * name, char *buf,
Dyaffs_guts.c648 static u16 yaffs_calc_name_sum(const YCHAR *name) in yaffs_calc_name_sum()
666 void yaffs_set_obj_name(struct yaffs_obj *obj, const YCHAR * name) in yaffs_set_obj_name()
682 YCHAR tmp_name[YAFFS_MAX_NAME_LENGTH + 1]; in yaffs_set_obj_name_from_oh()
1309 const YCHAR *new_name, int force, int shadows) in yaffs_change_obj_name()
2022 YCHAR *yaffs_clone_str(const YCHAR *str) in yaffs_clone_str()
2024 YCHAR *new_str = NULL; in yaffs_clone_str()
2031 new_str = kmalloc((len + 1) * sizeof(YCHAR), GFP_NOFS); in yaffs_clone_str()
2113 const YCHAR *name, in yaffs_create_obj()
2118 const YCHAR *alias_str, u32 rdev) in yaffs_create_obj()
2121 YCHAR *str = NULL; in yaffs_create_obj()
[all …]
Dyaffs_nandif.c209 yaffs_add_dev_from_geometry(const YCHAR *name, in yaffs_add_dev_from_geometry()
212 YCHAR *clonedName = malloc(sizeof(YCHAR) * in yaffs_add_dev_from_geometry()
Dyaffscfg.h33 const YCHAR *prefix;
Dyaffs_nandif.h61 yaffs_add_dev_from_geometry(const YCHAR *name,
Dydirectenv.h33 #define YCHAR char macro
Dyaffs_attribs.c85 YCHAR *alias = NULL; in yaffs_get_file_size()