Lines Matching refs:nritems
2118 int nritems; in find_dir_range() local
2155 nritems = btrfs_header_nritems(path->nodes[0]); in find_dir_range()
2157 if (path->slots[0] >= nritems) { in find_dir_range()
2297 int nritems; in replay_xattr_deletes() local
2312 nritems = btrfs_header_nritems(path->nodes[0]); in replay_xattr_deletes()
2313 for (i = path->slots[0]; i < nritems; i++) { in replay_xattr_deletes()
2443 int nritems; in replay_dir_deletes() local
2449 nritems = btrfs_header_nritems(path->nodes[0]); in replay_dir_deletes()
2450 if (path->slots[0] >= nritems) { in replay_dir_deletes()
2510 int nritems; in replay_one_buffer() local
2530 nritems = btrfs_header_nritems(eb); in replay_one_buffer()
2531 for (i = 0; i < nritems; i++) { in replay_one_buffer()
3566 int nritems; in log_dir_items() local
3648 nritems = btrfs_header_nritems(src); in log_dir_items()
3649 for (i = path->slots[0]; i < nritems; i++) { in log_dir_items()
3701 path->slots[0] = nritems; in log_dir_items()
4537 int nritems = btrfs_header_nritems(leaf); in btrfs_log_all_xattrs() local
4539 if (slot >= nritems) { in btrfs_log_all_xattrs()
4850 int nritems; in btrfs_log_inode() local
5116 nritems = btrfs_header_nritems(path->nodes[0]); in btrfs_log_inode()
5118 if (path->slots[0] < nritems) { in btrfs_log_inode()
5420 int nritems; in log_new_dir_dentries() local
5443 nritems = btrfs_header_nritems(leaf); in log_new_dir_dentries()
5444 for (i = path->slots[0]; i < nritems; i++) { in log_new_dir_dentries()
5501 if (i == nritems) { in log_new_dir_dentries()