Home
last modified time | relevance | path

Searched refs:search_key (Results 1 – 8 of 8) sorted by relevance

/linux/fs/hfs/
H A Dattr.c36 fd.search_key->cat = HFS_I(inode)->cat_key; in __hfs_setxattr()
83 fd.search_key->cat = HFS_I(inode)->cat_key; in __hfs_getxattr()
/linux/fs/btrfs/
H A Dtree-log.c1182 struct btrfs_key *search_key, in unlink_refs_not_in_log() argument
1214 ret = backref_in_log(wc->log, search_key, btrfs_ino(dir), &victim_name); in unlink_refs_not_in_log()
1244 struct btrfs_key *search_key, in unlink_extrefs_not_in_log() argument
1275 search_key->objectid = btrfs_ino(inode); in unlink_extrefs_not_in_log()
1276 search_key->type = BTRFS_INODE_EXTREF_KEY; in unlink_extrefs_not_in_log()
1277 search_key->offset = btrfs_extref_hash(btrfs_ino(dir), in unlink_extrefs_not_in_log()
1280 ret = backref_in_log(log_root, search_key, btrfs_ino(dir), &victim_name); in unlink_extrefs_not_in_log()
1319 struct btrfs_key search_key; in __add_inode_ref() local
1324 search_key.objectid = btrfs_ino(inode); in __add_inode_ref()
1325 search_key.type = BTRFS_INODE_REF_KEY; in __add_inode_ref()
[all …]
H A Droot-tree.c67 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root() argument
76 ret = btrfs_search_slot(NULL, root, search_key, path, 0, 0); in btrfs_find_root()
80 if (search_key->offset != -1ULL) { /* the search key is exact */ in btrfs_find_root()
102 if (found_key.objectid != search_key->objectid || in btrfs_find_root()
H A Droot-tree.h33 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key,
H A Dbackref.c600 struct btrfs_key search_key = ref->key_for_search; in resolve_indirect_ref() local
659 if (search_key.type == BTRFS_EXTENT_DATA_KEY && in resolve_indirect_ref()
660 search_key.offset >= LLONG_MAX) in resolve_indirect_ref()
661 search_key.offset = 0; in resolve_indirect_ref()
664 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in resolve_indirect_ref()
666 ret = btrfs_search_old_slot(root, &search_key, path, ctx->time_seq); in resolve_indirect_ref()
H A Dblock-group.c628 struct btrfs_key search_key; in sample_block_group_extent_item() local
646 search_key.objectid = block_group->start + search_offset; in sample_block_group_extent_item()
647 search_key.type = BTRFS_EXTENT_ITEM_KEY; in sample_block_group_extent_item()
648 search_key.offset = 0; in sample_block_group_extent_item()
650 btrfs_for_each_slot(extent_root, &search_key, found_key, path, ret) { in sample_block_group_extent_item()
H A Ddisk-io.c5045 struct btrfs_key search_key; in btrfs_init_root_free_objectid() local
5053 search_key.objectid = BTRFS_LAST_FREE_OBJECTID; in btrfs_init_root_free_objectid()
5054 search_key.type = -1; in btrfs_init_root_free_objectid()
5055 search_key.offset = (u64)-1; in btrfs_init_root_free_objectid()
5056 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in btrfs_init_root_free_objectid()
/linux/drivers/firewire/
H A Dcore-device.c50 static const u32 *search_directory(const u32 *directory, int search_key) in search_directory() argument
55 search_key |= CSR_DIRECTORY; in search_directory()
59 if (key == search_key) in search_directory()
66 static const u32 *search_leaf(const u32 *directory, int search_key) in search_leaf() argument
73 if (last_key == search_key && in search_leaf()