Home
last modified time | relevance | path

Searched refs:iter_ret (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dxattr.c284 int iter_ret = 0; in btrfs_listxattr() local
303 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in btrfs_listxattr()
339 iter_ret = -ERANGE; in btrfs_listxattr()
354 if (iter_ret < 0) in btrfs_listxattr()
355 ret = iter_ret; in btrfs_listxattr()
H A Dctree.h680 #define btrfs_for_each_slot(root, key, found_key, path, iter_ret) \ argument
681 for (iter_ret = btrfs_search_slot(NULL, (root), (key), (path), 0, 0); \
682 (iter_ret) >= 0 && \
683 (iter_ret = btrfs_get_next_valid_item((root), (found_key), (path))) == 0; \
H A Dsend.c2956 int iter_ret = 0; in did_create_dir() local
2974 btrfs_for_each_slot(sctx->send_root, &key, &found_key, path, iter_ret) { in did_create_dir()
2994 if (iter_ret < 0) in did_create_dir()
2995 ret = iter_ret; in did_create_dir()
3205 int iter_ret = 0; in can_rmdir() local
3279 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in can_rmdir()
3306 if (iter_ret < 0) { in can_rmdir()
3307 ret = iter_ret; in can_rmdir()
3899 int iter_ret = 0; in is_ancestor() local
3920 btrfs_for_each_slot(root, &key, &key, path, iter_ret) { in is_ancestor()
[all …]
H A Ddev-replace.c463 int iter_ret = 0; in mark_block_group_to_copy() local
514 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in mark_block_group_to_copy()
537 if (iter_ret < 0) in mark_block_group_to_copy()
538 ret = iter_ret; in mark_block_group_to_copy()
H A Dtree-log.c5427 int iter_ret; in log_new_dir_dentries() local
5434 btrfs_for_each_slot(root->log_root, &key, &found_key, path, iter_ret) { in log_new_dir_dentries()
5492 if (iter_ret < 0) { in log_new_dir_dentries()
5493 ret = iter_ret; in log_new_dir_dentries()
5495 } else if (iter_ret > 0) { in log_new_dir_dentries()
H A Dvolumes.c7291 int iter_ret = 0; in btrfs_read_chunk_tree() local
7335 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in btrfs_read_chunk_tree()
7373 if (iter_ret < 0) { in btrfs_read_chunk_tree()
7374 ret = iter_ret; in btrfs_read_chunk_tree()