Lines Matching refs:attrs
552 const struct lfs_mattr *attrs, int attrcount);
554 lfs_mdir_t *dir, const struct lfs_mattr *attrs, int attrcount,
865 const struct lfs_mattr *attrs; member
884 const struct lfs_mattr *attrs, int attrcount, in lfs_dir_traverse() argument
915 tag = attrs[0].tag; in lfs_dir_traverse()
916 buffer = attrs[0].buffer; in lfs_dir_traverse()
917 attrs += 1; in lfs_dir_traverse()
939 .attrs = attrs, in lfs_dir_traverse()
1001 .attrs = attrs, in lfs_dir_traverse()
1019 attrs = NULL; in lfs_dir_traverse()
1057 attrs = stack[sp-1].attrs; in lfs_dir_traverse()
1835 lfs_mdir_t *dir, const struct lfs_mattr *attrs, int attrcount, in lfs_dir_split() argument
1849 int res = lfs_dir_compact(lfs, &tail, attrs, attrcount, source, split, end); in lfs_dir_split()
1907 lfs_mdir_t *dir, const struct lfs_mattr *attrs, int attrcount, in lfs_dir_compact() argument
1971 source, 0, 0xffffffff, attrs, attrcount, in lfs_dir_compact()
2080 const struct lfs_mattr *attrs, int attrcount, in lfs_dir_splittingcompact() argument
2093 source, 0, 0xffffffff, attrs, attrcount, in lfs_dir_splittingcompact()
2133 int err = lfs_dir_split(lfs, dir, attrs, attrcount, in lfs_dir_splittingcompact()
2163 int err = lfs_dir_split(lfs, dir, attrs, attrcount, in lfs_dir_splittingcompact()
2179 return lfs_dir_compact(lfs, dir, attrs, attrcount, source, begin, end); in lfs_dir_splittingcompact()
2186 const struct lfs_mattr *attrs, int attrcount, in lfs_dir_relocatingcommit() argument
2193 if (lfs_tag_type3(attrs[i].tag) == LFS_TYPE_CREATE) { in lfs_dir_relocatingcommit()
2195 } else if (lfs_tag_type3(attrs[i].tag) == LFS_TYPE_DELETE) { in lfs_dir_relocatingcommit()
2199 } else if (lfs_tag_type1(attrs[i].tag) == LFS_TYPE_TAIL) { in lfs_dir_relocatingcommit()
2200 dir->tail[0] = ((lfs_block_t*)attrs[i].buffer)[0]; in lfs_dir_relocatingcommit()
2201 dir->tail[1] = ((lfs_block_t*)attrs[i].buffer)[1]; in lfs_dir_relocatingcommit()
2202 dir->split = (lfs_tag_chunk(attrs[i].tag) & 1); in lfs_dir_relocatingcommit()
2237 dir, dir->off, dir->etag, attrs, attrcount, in lfs_dir_relocatingcommit()
2297 state = lfs_dir_splittingcompact(lfs, dir, attrs, attrcount, in lfs_dir_relocatingcommit()
2319 if (lfs_tag_type3(attrs[i].tag) == LFS_TYPE_DELETE && in lfs_dir_relocatingcommit()
2320 d->id == lfs_tag_id(attrs[i].tag)) { in lfs_dir_relocatingcommit()
2323 } else if (lfs_tag_type3(attrs[i].tag) == LFS_TYPE_DELETE && in lfs_dir_relocatingcommit()
2324 d->id > lfs_tag_id(attrs[i].tag)) { in lfs_dir_relocatingcommit()
2329 } else if (lfs_tag_type3(attrs[i].tag) == LFS_TYPE_CREATE && in lfs_dir_relocatingcommit()
2330 d->id >= lfs_tag_id(attrs[i].tag)) { in lfs_dir_relocatingcommit()
2356 const struct lfs_mattr *attrs, int attrcount) { in lfs_dir_orphaningcommit() argument
2379 attrs, attrcount, &pdir); in lfs_dir_orphaningcommit()
2549 const struct lfs_mattr *attrs, int attrcount) { in lfs_dir_commit() argument
2550 int orphans = lfs_dir_orphaningcommit(lfs, dir, attrs, attrcount); in lfs_dir_commit()
3108 LFS_MKTAG(LFS_TYPE_USERATTR + file->cfg->attrs[i].type,
3109 file->id, file->cfg->attrs[i].size),
3110 file->cfg->attrs[i].buffer);
3120 if (file->cfg->attrs[i].size > lfs->attr_max) {
3411 file->cfg->attr_count), file->cfg->attrs}));
5955 (void*)cfg, cfg->buffer, (void*)cfg->attrs, cfg->attr_count);