• Home
  • Raw
  • Download

Lines Matching refs:slot

69 	int slot;  in find_extent_in_eb()  local
80 for (slot = 0; slot < nritems; ++slot) { in find_extent_in_eb()
81 btrfs_item_key_to_cpu(eb, &key, slot); in find_extent_in_eb()
84 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in find_extent_in_eb()
188 int slot; in add_all_parents() local
213 slot = path->slots[0]; in add_all_parents()
215 btrfs_item_key_to_cpu(eb, &key, slot); in add_all_parents()
221 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in add_all_parents()
604 int slot; in __add_inline_refs() local
617 slot = path->slots[0]; in __add_inline_refs()
619 item_size = btrfs_item_size_nr(leaf, slot); in __add_inline_refs()
622 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in __add_inline_refs()
705 int slot; in __add_keyed_refs() local
718 slot = path->slots[0]; in __add_keyed_refs()
720 btrfs_item_key_to_cpu(leaf, &key, slot); in __add_keyed_refs()
739 sdref = btrfs_item_ptr(leaf, slot, in __add_keyed_refs()
756 dref = btrfs_item_ptr(leaf, slot, in __add_keyed_refs()
865 int slot; in find_parent_nodes() local
869 slot = path->slots[0]; in find_parent_nodes()
870 btrfs_item_key_to_cpu(leaf, &key, slot); in find_parent_nodes()
1130 int ret, slot; in btrfs_find_one_extref() local
1147 slot = path->slots[0]; in btrfs_find_one_extref()
1148 if (slot >= btrfs_header_nritems(leaf)) { in btrfs_find_one_extref()
1167 btrfs_item_key_to_cpu(leaf, &found_key, slot); in btrfs_find_one_extref()
1212 int slot; in btrfs_ref_to_path() local
1246 slot = path->slots[0]; in btrfs_ref_to_path()
1255 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); in btrfs_ref_to_path()
1552 int slot; in iterate_inode_refs() local
1576 slot = path->slots[0]; in iterate_inode_refs()
1584 item = btrfs_item_nr(eb, slot); in iterate_inode_refs()
1585 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref); in iterate_inode_refs()
1615 int slot; in iterate_inode_extrefs() local
1637 slot = path->slots[0]; in iterate_inode_extrefs()