Lines Matching refs:entry
4794 static inline lfs_size_t lfs1_entry_size(const lfs1_entry_t *entry) { argument
4795 return 4 + entry->d.elen + entry->d.alen + entry->d.nlen;
4860 static int lfs1_dir_next(lfs_t *lfs, lfs1_dir_t *dir, lfs1_entry_t *entry) { argument
4861 while (dir->off + sizeof(entry->d) > (0x7fffffff & dir->d.size)-4) {
4863 entry->off = dir->off;
4877 &entry->d, sizeof(entry->d));
4878 lfs1_entry_fromle32(&entry->d);
4883 entry->off = dir->off;
4884 dir->off += lfs1_entry_size(entry);
4885 dir->pos += lfs1_entry_size(entry);
4897 lfs1_entry_t entry; local
4914 while (dir.off + sizeof(entry.d) <= (0x7fffffff & dir.d.size)-4) {
4916 &entry.d, sizeof(entry.d));
4917 lfs1_entry_fromle32(&entry.d);
4922 dir.off += lfs1_entry_size(&entry);
4923 if ((0x70 & entry.d.type) == (0x70 & LFS1_TYPE_REG)) {
4925 entry.d.u.file.head, entry.d.u.file.size, cb, data);
4972 lfs1_entry_t entry; local
4980 err = lfs1_dir_next(lfs, &cwd, &entry);
4989 if (!(0x80 & entry.d.type) &&
4990 memcmp(&entry.d.u, e, sizeof(entry.d.u)) == 0) {