Lines Matching defs:read
127 LFS_O_RDONLY = 1, // Open a file as read only
130 LFS_O_RDWR = 3, // Open a file as read and write
142 LFS_F_READING = 0x040000, // File has been read since last flush
165 int (*read)(const struct lfs_config *c, lfs_block_t block,
194 // Minimum size of a block read in bytes. All read operations will be a
204 // files take up at minimum one block. Must be a multiple of the read and
220 // RAM. The littlefs needs a read cache, a program cache, and one additional
223 // read and program sizes, and a factor of the block size.
232 // Optional statically allocated read buffer. Must be cache_size.
333 // is opened with read access, these attributes will be read from disk
339 // to LFS_ATTR_MAX bytes. When read, if the stored attribute is smaller
511 // to LFS_ATTR_MAX bytes. When read, if the stored attribute is smaller than
591 // Takes a buffer and size indicating where to store the read data.
592 // Returns the number of bytes read, or a negative error code on failure.
651 // Once open a directory can be used with read to iterate over files.