Searched refs:YCHAR (Results 1 – 11 of 11) sorted by relevance
/external/u-boot/fs/yaffs2/ |
D | yaffsfs.h | 41 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 …]
|
D | yaffsfs.c | 33 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 …]
|
D | yaffs_guts.h | 316 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 …]
|
D | yaffs_nameval.c | 32 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()
|
D | yaffs_nameval.h | 21 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,
|
D | yaffs_guts.c | 648 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 …]
|
D | yaffs_nandif.c | 209 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()
|
D | yaffscfg.h | 33 const YCHAR *prefix;
|
D | yaffs_nandif.h | 61 yaffs_add_dev_from_geometry(const YCHAR *name,
|
D | ydirectenv.h | 33 #define YCHAR char macro
|
D | yaffs_attribs.c | 85 YCHAR *alias = NULL; in yaffs_get_file_size()
|