Lines Matching refs:key
82 struct btrfs_key key; in btrfs_lookup_inode_extref() local
84 key.objectid = inode_objectid; in btrfs_lookup_inode_extref()
85 key.type = BTRFS_INODE_EXTREF_KEY; in btrfs_lookup_inode_extref()
86 key.offset = btrfs_extref_hash(ref_objectid, name, name_len); in btrfs_lookup_inode_extref()
88 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); in btrfs_lookup_inode_extref()
105 struct btrfs_key key; in btrfs_del_inode_extref() local
114 key.objectid = inode_objectid; in btrfs_del_inode_extref()
115 key.type = BTRFS_INODE_EXTREF_KEY; in btrfs_del_inode_extref()
116 key.offset = btrfs_extref_hash(ref_objectid, name, name_len); in btrfs_del_inode_extref()
124 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_extref()
177 struct btrfs_key key; in btrfs_del_inode_ref() local
188 key.objectid = inode_objectid; in btrfs_del_inode_ref()
189 key.offset = ref_objectid; in btrfs_del_inode_ref()
190 key.type = BTRFS_INODE_REF_KEY; in btrfs_del_inode_ref()
198 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_inode_ref()
261 struct btrfs_key key; in btrfs_insert_inode_extref() local
265 key.objectid = inode_objectid; in btrfs_insert_inode_extref()
266 key.type = BTRFS_INODE_EXTREF_KEY; in btrfs_insert_inode_extref()
267 key.offset = btrfs_extref_hash(ref_objectid, name, name_len); in btrfs_insert_inode_extref()
274 ret = btrfs_insert_empty_item(trans, root, path, &key, in btrfs_insert_inode_extref()
316 struct btrfs_key key; in btrfs_insert_inode_ref() local
322 key.objectid = inode_objectid; in btrfs_insert_inode_ref()
323 key.offset = ref_objectid; in btrfs_insert_inode_ref()
324 key.type = BTRFS_INODE_REF_KEY; in btrfs_insert_inode_ref()
332 ret = btrfs_insert_empty_item(trans, root, path, &key, in btrfs_insert_inode_ref()
392 struct btrfs_key key; in btrfs_insert_empty_inode() local
394 key.objectid = objectid; in btrfs_insert_empty_inode()
395 key.type = BTRFS_INODE_ITEM_KEY; in btrfs_insert_empty_inode()
396 key.offset = 0; in btrfs_insert_empty_inode()
398 ret = btrfs_insert_empty_item(trans, root, path, &key, in btrfs_insert_empty_inode()