Lines Matching refs:cb
511 int (*cb)(void*, lfs_block_t), void *data);
525 int (*cb)(void *data, lfs_block_t block), void *data,
794 int (*cb)(void *data, lfs_tag_t tag, const void *buffer); member
807 int (*cb)(void *data, lfs_tag_t tag, const void *buffer), void *data) { in lfs_dir_traverse()
866 .cb = cb, in lfs_dir_traverse()
884 cb = lfs_dir_traverse_filter; in lfs_dir_traverse()
917 if (cb == lfs_dir_traverse_filter) { in lfs_dir_traverse()
933 .cb = cb, in lfs_dir_traverse()
954 res = cb(data, LFS_MKTAG(LFS_TYPE_USERATTR + a[i].type, in lfs_dir_traverse()
965 res = cb(data, tag + LFS_MKTAG(0, diff, 0), buffer); in lfs_dir_traverse()
989 cb = stack[sp-1].cb; in lfs_dir_traverse()
1005 int (*cb)(void *data, lfs_tag_t tag, const void *buffer), void *data) { in lfs_dir_fetchmatch()
1177 int res = cb(data, tag, &(struct lfs_diskoff){ in lfs_dir_fetchmatch()
2799 int (*cb)(void*, lfs_block_t), void *data) { in lfs_ctz_traverse()
2807 int err = cb(data, head); in lfs_ctz_traverse()
2828 err = cb(data, heads[i]); in lfs_ctz_traverse()
4252 int (*cb)(void *data, lfs_block_t block), void *data,
4260 int err = lfs1_traverse(lfs, cb, data);
4279 int err = cb(data, dir.tail[i]);
4305 ctz.head, ctz.size, cb, data);
4312 err = cb(data, (&ctz.head)[i]);
4330 f->ctz.head, f->ctz.size, cb, data);
4338 f->block, f->pos, cb, data);
4890 int lfs1_traverse(lfs_t *lfs, int (*cb)(void*, lfs_block_t), void *data) {
4902 int err = cb(data, cwd[i]);
4925 entry.d.u.file.head, entry.d.u.file.size, cb, data);
4941 err = cb(data, dir2.pair[i]);
5780 int lfs_fs_traverse(lfs_t *lfs, int (*cb)(void *, lfs_block_t), void *data) {
5786 (void*)lfs, (void*)(uintptr_t)cb, data);
5788 err = lfs_fs_rawtraverse(lfs, cb, data, true);