Home
last modified time | relevance | path

Searched refs:nblock (Results 1 – 3 of 3) sorted by relevance

/littlefs-3.7.0-3.6.0/bd/
Dlfs_emubd.c59 lfs_emubd_block_t *nblock = malloc( in lfs_emubd_mutblock() local
61 if (!nblock) { in lfs_emubd_mutblock()
65 memcpy(nblock, block_, in lfs_emubd_mutblock()
67 nblock->rc = 1; in lfs_emubd_mutblock()
70 *block = nblock; in lfs_emubd_mutblock()
71 return nblock; in lfs_emubd_mutblock()
75 lfs_emubd_block_t *nblock = malloc( in lfs_emubd_mutblock() local
77 if (!nblock) { in lfs_emubd_mutblock()
81 nblock->rc = 1; in lfs_emubd_mutblock()
82 nblock->wear = 0; in lfs_emubd_mutblock()
[all …]
/littlefs-3.7.0-3.6.0/tests/
Dtest_bd.toml222 lfs_block_t nblock = block + block_;
224 block = nblock;
240 lfs_block_t nblock = block + block_;
242 block = nblock;
/littlefs-3.7.0-3.6.0/
Dlfs.c2874 lfs_block_t nblock; in lfs_ctz_extend() local
2875 int err = lfs_alloc(lfs, &nblock); in lfs_ctz_extend()
2881 err = lfs_bd_erase(lfs, nblock); in lfs_ctz_extend()
2890 *block = nblock; in lfs_ctz_extend()
2912 nblock, i, &data, 1); in lfs_ctz_extend()
2921 *block = nblock; in lfs_ctz_extend()
2933 nblock, 4*i, &nhead, 4); in lfs_ctz_extend()
2953 *block = nblock; in lfs_ctz_extend()
2959 LFS_DEBUG("Bad block at 0x%"PRIx32, nblock); in lfs_ctz_extend()
3210 lfs_block_t nblock; local
[all …]