Home
last modified time | relevance | path

Searched full:or (Results 1 – 16 of 16) sorted by relevance

/littlefs-2.7.6/
DLICENSE.md3 Redistribution and use in source and binary forms, with or without modification,
9 list of conditions and the following disclaimer in the documentation and/or
12 endorse or promote products derived from this software without specific prior
16 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
19 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
22 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
Dlfs.h247 // Type of the file, either LFS_TYPE_REG or LFS_TYPE_DIR
283 // attributes will be written to disk every file sync or close. This
429 // Removes a file or directory
435 // Rename or move a file or directory
443 // Find info about a file or directory
445 // Fills out the info structure, based on the specified file or directory.
457 // Returns the size of the attribute, or a negative error code on failure.
460 // or check for existance.
524 // Returns the number of bytes read, or a negative error code on failure.
531 // actually be updated on the storage until either sync or close is called.
[all …]
DREADME.md94 Detailed documentation (or at least as much detail as is currently available)
106 format a block device or mount the filesystem.
114 the filesystem until sync or close is called on the file.
123 [lfs.h](lfs.h), or an error returned by the user's block device operations.
134 function does not perform caching, and therefore each `read` or `write` call
DDESIGN.md64 size or number of files. This creates a unique challenge as even presumably
238 Consider logging. It has either a _O(n²)_ runtime or _O(n)_ RAM cost. We
684 or from another perspective, each linked-list uses half as much storage as
851 Normally, block allocation involves some sort of free list or bitmap stored on
954 one or two passes are usually needed to find free blocks. Additionally, the
955 performance of the allocator can be optimized by adjusting the block size or
956 size of the lookahead buffer, trading either write granularity or RAM for
1379 to do this is to directly associate a directory with a metadata pair (or a
1689 blocks in a metadata pair when the block goes bad or exceeds its allocated
1833 - We definitely can't just let power-loss result in duplicated or lost files.
DSPEC.md98 2. **CRC (32-bits)** - Detects corruption from power-loss or other write
581 (hard-tail) or only used to traverse the filesystem (soft-tail).
734 `0x000`, indicating no move, or `0x4ff` indicating the source file should
Dlfs_util.h151 // Find the smallest power of 2 greater than or equal to a
Dlfs.c15 // do not zero, cheaper if cache is readonly or only going to be in lfs_cache_drop()
220 // entire block or manually flushing the pcache in lfs_bd_prog()
837 // next commit not yet programmed or we're not in valid range in lfs_dir_fetchmatch()
978 // found tag? or found best id? in lfs_dir_fetchmatch()
2590 // either read from dirty cache or disk in lfs_file_relocate()
3487 // range of 100-1000, or set block_cycles to -1 to disable block-level in lfs_init()
4083 // replace bad pair, either we clean up desync, or no desync occured in lfs_fs_relocate()
D.travis.yml418 (.state == \"failure\" or .state == \"pending\") and
/littlefs-2.7.6/scripts/
Dreadtree.py43 if mdir.tail.size != 8 or mdir.tail.data == 8*b'\xff':
59 gstate = bytes((a or 0) ^ (b or 0)
70 if mdir.tail is None or not mdir.tail.is_('hardtail'):
115 if tag.size or not tag.isvalid:
151 errcode = errcode or 1
156 errcode = errcode or 2
Dtest.py137 ncase = (class_ or type(self))(self.config)
196 re.sub('(\|\||:)', ' or ',
208 # persist disk or keep in RAM for speed?
408 # can be either a dict of defines, or a list of dicts, expressing
710 returncode=perm.result.returncode or 0))
751 \"test_dirs[0]\" or \"{0}/test_dirs.toml[0]\".".format(TESTDIR))
Dreadmdir.py216 if tag.is_('crc') or tag.is_('splice'):
236 if not self or not other:
324 if mdir.tail.size != 8 or mdir.tail.data == 8*b'\xff':
Dexplode_asserts.py226 if token[0] in pattern or token[1] in pattern:
334 ws = p.accept('ws') or ''
/littlefs-2.7.6/tests/
Dtest_badblocks.toml225 [[case]] # bad superblocks (corrupt 1 or 0)
Dtest_files.toml302 // can only be 0 (new file) or full size
Dtest_dirs.toml698 // or on disk
Dtest_move.toml1731 // the parent or child before things break