Lines Matching refs:type

329 #define LFS_MKTAG(type, id, size) \  argument
330 (((lfs_tag_t)(type) << 20) | ((lfs_tag_t)(id) << 10) | (lfs_tag_t)(size))
332 #define LFS_MKTAG_IF(cond, type, id, size) \ argument
333 ((cond) ? LFS_MKTAG(type, id, size) : LFS_MKTAG(LFS_FROM_NOOP, 0, 0))
1029 res = cb(data, LFS_MKTAG(LFS_TYPE_USERATTR + a[i].type, in lfs_dir_traverse()
1387 info->type = LFS_TYPE_DIR; in lfs_dir_getinfo()
1397 info->type = lfs_tag_type3(tag); in lfs_dir_getinfo()
2326 if (d->type == LFS_TYPE_DIR) { in lfs_dir_relocatingcommit()
2332 if (d->type == LFS_TYPE_DIR) { in lfs_dir_relocatingcommit()
2361 f->type == LFS_TYPE_REG && (f->flags & LFS_F_INLINE) && in lfs_dir_orphaningcommit()
2439 if (d->type == LFS_TYPE_DIR && in lfs_dir_orphaningcommit()
2631 cwd.type = 0; in lfs_rawmkdir()
2706 dir->type = LFS_TYPE_DIR; in lfs_dir_rawopen()
2724 info->type = LFS_TYPE_DIR; in lfs_dir_rawread()
2729 info->type = LFS_TYPE_DIR; in lfs_dir_rawread()
3043 file->type = LFS_TYPE_REG;
3108 LFS_MKTAG(LFS_TYPE_USERATTR + file->cfg->attrs[i].type,
3388 uint16_t type; local
3394 type = LFS_TYPE_INLINESTRUCT;
3399 type = LFS_TYPE_CTZSTRUCT;
3409 {LFS_MKTAG(type, file->id, size), buffer},
3866 dir.type = 0;
3978 prevdir.type = 0;
4039 uint8_t type, void *buffer, lfs_size_t size) { argument
4057 LFS_MKTAG(LFS_TYPE_USERATTR + type,
4073 uint8_t type, const void *buffer, lfs_size_t size) { argument
4091 {LFS_MKTAG(LFS_TYPE_USERATTR + type, id, size), buffer}));
4097 uint8_t type, const void *buffer, lfs_size_t size) { argument
4102 return lfs_commitattr(lfs, path, type, buffer, size);
4107 static int lfs_rawremoveattr(lfs_t *lfs, const char *path, uint8_t type) { argument
4108 return lfs_commitattr(lfs, path, type, NULL, 0x3ff);
4624 if (f->type != LFS_TYPE_REG) {
5129 uint8_t type; member
5162 uint8_t type; member
5368 if ((0x70 & entry.d.type) == (0x70 & LFS1_TYPE_REG)) {
5434 if (!(0x80 & entry.d.type) &&
5567 if (entry1.d.type & 0x80) {
5578 entry1.d.type &= ~0x80;
5591 bool isdir = (entry1.d.type == LFS1_TYPE_DIR);
5878 uint8_t type, void *buffer, lfs_size_t size) { argument
5884 (void*)lfs, path, type, buffer, size);
5886 lfs_ssize_t res = lfs_rawgetattr(lfs, path, type, buffer, size);
5895 uint8_t type, const void *buffer, lfs_size_t size) { argument
5901 (void*)lfs, path, type, buffer, size);
5903 err = lfs_rawsetattr(lfs, path, type, buffer, size);
5912 int lfs_removeattr(lfs_t *lfs, const char *path, uint8_t type) { argument
5917 LFS_TRACE("lfs_removeattr(%p, \"%s\", %"PRIu8")", (void*)lfs, path, type);
5919 err = lfs_rawremoveattr(lfs, path, type);