Lines Matching +full:0 +full:xffff
24 #define LFS_VERSION 0x00020002
25 #define LFS_VERSION_MAJOR (0xffff & (LFS_VERSION >> 16))
26 #define LFS_VERSION_MINOR (0xffff & (LFS_VERSION >> 0))
31 #define LFS_DISK_VERSION 0x00020000
32 #define LFS_DISK_VERSION_MAJOR (0xffff & (LFS_DISK_VERSION >> 16))
33 #define LFS_DISK_VERSION_MINOR (0xffff & (LFS_DISK_VERSION >> 0))
72 LFS_ERR_OK = 0, // No error
92 LFS_TYPE_REG = 0x001,
93 LFS_TYPE_DIR = 0x002,
96 LFS_TYPE_SPLICE = 0x400,
97 LFS_TYPE_NAME = 0x000,
98 LFS_TYPE_STRUCT = 0x200,
99 LFS_TYPE_USERATTR = 0x300,
100 LFS_TYPE_FROM = 0x100,
101 LFS_TYPE_TAIL = 0x600,
102 LFS_TYPE_GLOBALS = 0x700,
103 LFS_TYPE_CRC = 0x500,
106 LFS_TYPE_CREATE = 0x401,
107 LFS_TYPE_DELETE = 0x4ff,
108 LFS_TYPE_SUPERBLOCK = 0x0ff,
109 LFS_TYPE_DIRSTRUCT = 0x200,
110 LFS_TYPE_CTZSTRUCT = 0x202,
111 LFS_TYPE_INLINESTRUCT = 0x201,
112 LFS_TYPE_SOFTTAIL = 0x600,
113 LFS_TYPE_HARDTAIL = 0x601,
114 LFS_TYPE_MOVESTATE = 0x7ff,
117 LFS_FROM_NOOP = 0x000,
118 LFS_FROM_MOVE = 0x101,
119 LFS_FROM_USERATTRS = 0x102,
128 LFS_O_CREAT = 0x0100, // Create a file if it does not exist
129 LFS_O_EXCL = 0x0200, // Fail if a file already exists
130 LFS_O_TRUNC = 0x0400, // Truncate the existing file to zero size
131 LFS_O_APPEND = 0x0800, // Move to end of file on every write
134 LFS_F_DIRTY = 0x010000, // File does not match storage
135 LFS_F_WRITING = 0x020000, // File has been written since last flush
136 LFS_F_READING = 0x040000, // File has been read since last flush
137 LFS_F_ERRED = 0x080000, // An error occured during write
138 LFS_F_INLINE = 0x100000, // Currently inlined in directory entry
139 LFS_F_OPENED = 0x200000, // File has been opened
144 LFS_SEEK_SET = 0, // Seek relative to an absolute position
551 // Equivalent to lfs_file_seek(lfs, file, 0, LFS_SEEK_CUR)
557 // Equivalent to lfs_file_seek(lfs, file, 0, LFS_SEEK_SET)
563 // Similar to lfs_file_seek(lfs, file, 0, LFS_SEEK_END)
590 // Returns a positive value on success, 0 at the end of directory,