projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs More symbol changes
[yaffs2.git]
/
yaffs_guts.h
diff --git
a/yaffs_guts.h
b/yaffs_guts.h
index 3a00d5b57fe25c25203cf2890f0c14d104721738..b6cbb8bc5c34052e54d611ec3b178c0a78aff730 100644
(file)
--- a/
yaffs_guts.h
+++ b/
yaffs_guts.h
@@
-142,7
+142,7
@@
typedef struct {
typedef union {
yaffs_Tags asTags;
__u8 asBytes[8];
typedef union {
yaffs_Tags asTags;
__u8 asBytes[8];
-} yaffs_
TagsUnion
;
+} yaffs_
tags_union_t
;
#endif
#endif
@@
-203,17
+203,17
@@
typedef struct {
/* Spare structure for YAFFS1 */
typedef struct {
/* Spare structure for YAFFS1 */
typedef struct {
- __u8 t
agByte
0;
- __u8 t
agByte
1;
- __u8 t
agByte
2;
- __u8 t
agByte
3;
+ __u8 t
b
0;
+ __u8 t
b
1;
+ __u8 t
b
2;
+ __u8 t
b
3;
__u8 pageStatus; /* set to 0 to delete the chunk */
__u8 blockStatus;
__u8 pageStatus; /* set to 0 to delete the chunk */
__u8 blockStatus;
- __u8 t
agByte
4;
- __u8 t
agByte
5;
+ __u8 t
b
4;
+ __u8 t
b
5;
__u8 ecc1[3];
__u8 ecc1[3];
- __u8 t
agByte
6;
- __u8 t
agByte
7;
+ __u8 t
b
6;
+ __u8 t
b
7;
__u8 ecc2[3];
} yaffs_Spare;
__u8 ecc2[3];
} yaffs_Spare;
@@
-350,12
+350,12
@@
typedef struct {
/*--------------------------- Tnode -------------------------- */
/*--------------------------- Tnode -------------------------- */
-union yaffs_
T
node_union {
- union yaffs_
T
node_union *internal[YAFFS_NTNODES_INTERNAL];
+union yaffs_
t
node_union {
+ union yaffs_
t
node_union *internal[YAFFS_NTNODES_INTERNAL];
};
};
-typedef union yaffs_
Tnode_union yaffs_Tnode
;
+typedef union yaffs_
tnode_union yaffs_tnode_t
;
/*------------------------ Object -----------------------------*/
/*------------------------ Object -----------------------------*/
@@
-371,7
+371,7
@@
typedef struct {
__u32 scannedFileSize;
__u32 shrinkSize;
int topLevel;
__u32 scannedFileSize;
__u32 shrinkSize;
int topLevel;
- yaffs_
Tnode
*top;
+ yaffs_
tnode_t
*top;
} yaffs_FileStructure;
typedef struct {
} yaffs_FileStructure;
typedef struct {
@@
-509,7
+509,7
@@
typedef struct {
__u8 *buffer;
int line; /* track from whence this buffer was allocated */
int maxLine;
__u8 *buffer;
int line; /* track from whence this buffer was allocated */
int maxLine;
-} yaffs_
TempBuffer
;
+} yaffs_
buffer_t
;
/*----------------- Device ---------------------------------*/
/*----------------- Device ---------------------------------*/
@@
-730,7
+730,7
@@
struct yaffs_DeviceStruct {
int nBackgroundDeletions; /* Count of background deletions. */
/* Temporary buffer management */
int nBackgroundDeletions; /* Count of background deletions. */
/* Temporary buffer management */
- yaffs_
TempBuffer
tempBuffer[YAFFS_N_TEMP_BUFFERS];
+ yaffs_
buffer_t
tempBuffer[YAFFS_N_TEMP_BUFFERS];
int maxTemp;
int tempInUse;
int unmanagedTempAllocations;
int maxTemp;
int tempInUse;
int unmanagedTempAllocations;
@@
-840,7
+840,7
@@
int yaffs_get_n_free_chunks(yaffs_Device *dev);
int yaffs_rename_obj(yaffs_Object *oldDir, const YCHAR *oldName,
yaffs_Object *newDir, const YCHAR *newName);
int yaffs_rename_obj(yaffs_Object *oldDir, const YCHAR *oldName,
yaffs_Object *newDir, const YCHAR *newName);
-int yaffs_
Unlink
(yaffs_Object *dir, const YCHAR *name);
+int yaffs_
unlinker
(yaffs_Object *dir, const YCHAR *name);
int yaffs_del_obj(yaffs_Object *obj);
int yaffs_get_obj_name(yaffs_Object *obj, YCHAR *name, int buffSize);
int yaffs_del_obj(yaffs_Object *obj);
int yaffs_get_obj_name(yaffs_Object *obj, YCHAR *name, int buffSize);
@@
-907,7
+907,7
@@
yaffs_Object *yaffs_LostNFound(yaffs_Device *dev);
#ifdef CONFIG_YAFFS_WINCE
/* CONFIG_YAFFS_WINCE special stuff */
#ifdef CONFIG_YAFFS_WINCE
/* CONFIG_YAFFS_WINCE special stuff */
-void yfsd_
WinFileTimeN
ow(__u32 target[2]);
+void yfsd_
win_file_time_n
ow(__u32 target[2]);
#endif
void yaffs_handle_defered_free(yaffs_Object *obj);
#endif
void yaffs_handle_defered_free(yaffs_Object *obj);
@@
-947,11
+947,11
@@
int yaffs_update_oh(yaffs_Object *in, const YCHAR *name,
void yaffs_handle_shadowed_obj(yaffs_Device *dev, int objId,
int backwardScanning);
int yaffs_check_alloc_available(yaffs_Device *dev, int nChunks);
void yaffs_handle_shadowed_obj(yaffs_Device *dev, int objId,
int backwardScanning);
int yaffs_check_alloc_available(yaffs_Device *dev, int nChunks);
-yaffs_
Tnode
*yaffs_get_tnode(yaffs_Device *dev);
-yaffs_
Tnode
*yaffs_add_find_tnode_0(yaffs_Device *dev,
+yaffs_
tnode_t
*yaffs_get_tnode(yaffs_Device *dev);
+yaffs_
tnode_t
*yaffs_add_find_tnode_0(yaffs_Device *dev,
yaffs_FileStructure *fStruct,
__u32 chunkId,
yaffs_FileStructure *fStruct,
__u32 chunkId,
- yaffs_
Tnode
*passedTn);
+ yaffs_
tnode_t
*passedTn);
int yaffs_do_file_wr(yaffs_Object *in, const __u8 *buffer, loff_t offset,
int nBytes, int writeThrough);
int yaffs_do_file_wr(yaffs_Object *in, const __u8 *buffer, loff_t offset,
int nBytes, int writeThrough);
@@
-960,10
+960,10
@@
void yaffs_skip_rest_of_block(yaffs_Device *dev);
int yaffs_count_free_chunks(yaffs_Device *dev);
int yaffs_count_free_chunks(yaffs_Device *dev);
-yaffs_
Tnode
*yaffs_find_tnode_0(yaffs_Device *dev,
+yaffs_
tnode_t
*yaffs_find_tnode_0(yaffs_Device *dev,
yaffs_FileStructure *fStruct,
__u32 chunkId);
yaffs_FileStructure *fStruct,
__u32 chunkId);
-__u32 yaffs_get_group_base(yaffs_Device *dev, yaffs_
Tnode
*tn, unsigned pos);
+__u32 yaffs_get_group_base(yaffs_Device *dev, yaffs_
tnode_t
*tn, unsigned pos);
#endif
#endif