Lines Matching refs:lfs_size_t
48 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_bd_read()
50 void *buffer, lfs_size_t size) { in lfs_bd_read()
58 lfs_size_t diff = size; in lfs_bd_read()
131 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_bd_cmp()
133 const void *buffer, lfs_size_t size) { in lfs_bd_cmp()
135 lfs_size_t diff = 0; in lfs_bd_cmp()
158 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_bd_crc()
159 lfs_block_t block, lfs_off_t off, lfs_size_t size, uint32_t *crc) { in lfs_bd_crc()
160 lfs_size_t diff = 0; in lfs_bd_crc()
183 lfs_size_t diff = lfs_alignup(pcache->size, lfs->cfg->prog_size); in lfs_bd_flush()
233 const void *buffer, lfs_size_t size) { in lfs_bd_prog()
243 lfs_size_t diff = lfs_min(size, in lfs_bd_prog()
370 static inline lfs_size_t lfs_tag_size(lfs_tag_t tag) { in lfs_tag_size()
374 static inline lfs_size_t lfs_tag_dsize(lfs_tag_t tag) { in lfs_tag_dsize()
448 lfs_size_t size;
557 const void *buffer, lfs_size_t size);
559 const void *buffer, lfs_size_t size);
585 void *buffer, lfs_size_t size);
587 void *buffer, lfs_size_t size);
693 lfs_off_t goff, void *gbuffer, lfs_size_t gsize) { in lfs_dir_getslice()
736 lfs_size_t diff = lfs_min(lfs_tag_size(tag), gsize); in lfs_dir_getslice()
761 const lfs_cache_t *pcache, lfs_cache_t *rcache, lfs_size_t hint, in lfs_dir_getread()
763 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_dir_getread()
770 lfs_size_t diff = size; in lfs_dir_getread()
1419 lfs_size_t size;
1429 lfs_size_t diff = lfs_min(name->size, lfs_tag_size(tag)); in lfs_dir_find_match()
1463 lfs_size_t namelen = strcspn(name, "/"); in lfs_dir_find()
1474 lfs_size_t sufflen; in lfs_dir_find()
1559 const void *buffer, lfs_size_t size) { in lfs_dir_commitprog()
1578 lfs_size_t dsize = lfs_tag_dsize(tag); in lfs_dir_commitattr()
1870 lfs_size_t *size = p; in lfs_dir_commit_size()
2089 lfs_size_t split = begin; in lfs_dir_splittingcompact()
2091 lfs_size_t size = 0; in lfs_dir_splittingcompact()
2161 if ((lfs_size_t)size < lfs->block_count/2) { in lfs_dir_splittingcompact()
2588 lfs_size_t nlen = strlen(path); in lfs_rawmkdir()
2835 lfs_block_t head, lfs_size_t size, in lfs_ctz_find()
2836 lfs_size_t pos, lfs_block_t *block, lfs_off_t *off) { in lfs_ctz_find()
2847 lfs_size_t skip = lfs_min( in lfs_ctz_find()
2870 lfs_block_t head, lfs_size_t size, in lfs_ctz_extend()
2895 lfs_size_t noff = size - 1; in lfs_ctz_extend()
2928 lfs_size_t skips = lfs_ctz(index) + 1; in lfs_ctz_extend()
2969 lfs_block_t head, lfs_size_t size, in lfs_ctz_traverse()
3058 lfs_size_t nlen = strlen(path);
3390 lfs_size_t size;
3425 void *buffer, lfs_size_t size) {
3427 lfs_size_t nsize = size;
3457 lfs_size_t diff = lfs_min(nsize, lfs->cfg->block_size - file->off);
3486 void *buffer, lfs_size_t size) {
3505 const void *buffer, lfs_size_t size) {
3507 lfs_size_t nsize = size;
3560 lfs_size_t diff = lfs_min(nsize, lfs->cfg->block_size - file->off);
3593 const void *buffer, lfs_size_t size) {
3934 lfs_size_t nlen = strlen(newpath);
4039 uint8_t type, void *buffer, lfs_size_t size) {
4073 uint8_t type, const void *buffer, lfs_size_t size) {
4097 uint8_t type, const void *buffer, lfs_size_t size) {
4338 lfs_size_t tortoise_i = 1;
4339 lfs_size_t tortoise_period = 1;
4562 lfs_size_t tortoise_i = 1;
4563 lfs_size_t tortoise_period = 1;
4656 lfs_size_t tortoise_i = 1;
4657 lfs_size_t tortoise_period = 1;
4721 lfs_size_t tortoise_i = 1;
4722 lfs_size_t tortoise_period = 1;
5038 lfs_size_t *size = p;
5044 lfs_size_t size = 0;
5054 static int lfs_fs_rawgrow(lfs_t *lfs, lfs_size_t block_count) {
5136 lfs_size_t size;
5153 lfs_size_t size;
5181 lfs_off_t off, void *buffer, lfs_size_t size) {
5189 lfs_off_t off, lfs_size_t size, uint32_t *crc) {
5239 static inline lfs_size_t lfs1_entry_size(const lfs1_entry_t *entry) {
5878 uint8_t type, void *buffer, lfs_size_t size) {
5895 uint8_t type, const void *buffer, lfs_size_t size) {
5998 void *buffer, lfs_size_t size) {
6016 const void *buffer, lfs_size_t size) {
6291 int lfs_fs_grow(lfs_t *lfs, lfs_size_t block_count) {