Home
last modified time | relevance | path

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

/linux/fs/hfsplus/
H A Dcatalog.c201 hfsplus_cat_build_key_with_cnid(sb, fd->search_key, cnid); in hfsplus_find_cat()
217 hfsplus_cat_build_key_uni(fd->search_key, in hfsplus_find_cat()
276 hfsplus_cat_build_key_with_cnid(sb, fd.search_key, cnid); in hfsplus_create_cat()
296 err = hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str); in hfsplus_create_cat()
322 hfsplus_cat_build_key_with_cnid(sb, fd.search_key, cnid); in hfsplus_create_cat()
355 hfsplus_cat_build_key_with_cnid(sb, fd.search_key, cnid); in hfsplus_delete_cat()
362 fd.search_key->cat.parent = cpu_to_be32(dir->i_ino); in hfsplus_delete_cat()
364 &fd.search_key->cat.name.length, off, 2); in hfsplus_delete_cat()
365 len = be16_to_cpu(fd.search_key->cat.name.length) * 2; in hfsplus_delete_cat()
367 &fd.search_key->cat.name.unicode, in hfsplus_delete_cat()
[all …]
H A Dextents.c95 hfsplus_ext_build_key(fd->search_key, inode->i_ino, hip->cached_start, in __hfsplus_ext_write_extent()
162 hfsplus_ext_build_key(fd->search_key, cnid, block, type); in __hfsplus_ext_read_extent()
167 if (fd->key->ext.cnid != fd->search_key->ext.cnid || in __hfsplus_ext_read_extent()
168 fd->key->ext.fork_type != fd->search_key->ext.fork_type) in __hfsplus_ext_read_extent()
H A Ddir.c47 err = hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, in hfsplus_lookup()
103 err = hfsplus_cat_build_key(sb, fd.search_key, in hfsplus_lookup()
152 hfsplus_cat_build_key_with_cnid(sb, fd.search_key, inode->i_ino); in hfsplus_readdir()
H A Dsuper.c571 err = hfsplus_cat_build_key(sb, fd.search_key, HFSPLUS_ROOT_CNID, &str); in hfsplus_fill_super()
/linux/drivers/tty/vt/
H A Ducs.c118 const struct compare_key *search_key = key; in recomposition_cmp() local
122 if (search_key->base < entry->base) in recomposition_cmp()
124 if (search_key->base > entry->base) in recomposition_cmp()
128 if (search_key->mark < entry->mark) in recomposition_cmp()
130 if (search_key->mark > entry->mark) in recomposition_cmp()
/linux/fs/btrfs/
H A Dtree-log.c1203 struct btrfs_key *search_key, in unlink_refs_not_in_log() argument
1235 ret = backref_in_log(wc->log, search_key, btrfs_ino(dir), &victim_name); in unlink_refs_not_in_log()
1265 struct btrfs_key *search_key, in unlink_extrefs_not_in_log() argument
1296 search_key->objectid = btrfs_ino(inode); in unlink_extrefs_not_in_log()
1297 search_key->type = BTRFS_INODE_EXTREF_KEY; in unlink_extrefs_not_in_log()
1298 search_key->offset = btrfs_extref_hash(btrfs_ino(dir), in unlink_extrefs_not_in_log()
1301 ret = backref_in_log(log_root, search_key, btrfs_ino(dir), &victim_name); in unlink_extrefs_not_in_log()
1340 struct btrfs_key search_key; in __add_inode_ref() local
1345 search_key.objectid = btrfs_ino(inode); in __add_inode_ref()
1346 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.c600 struct btrfs_key search_key; in sample_block_group_extent_item() local
618 search_key.objectid = block_group->start + search_offset; in sample_block_group_extent_item()
619 search_key.type = BTRFS_EXTENT_ITEM_KEY; in sample_block_group_extent_item()
620 search_key.offset = 0; in sample_block_group_extent_item()
622 btrfs_for_each_slot(extent_root, &search_key, found_key, path, ret) { in sample_block_group_extent_item()
H A Ddisk-io.c4912 struct btrfs_key search_key; in btrfs_init_root_free_objectid() local
4920 search_key.objectid = BTRFS_LAST_FREE_OBJECTID; in btrfs_init_root_free_objectid()
4921 search_key.type = -1; in btrfs_init_root_free_objectid()
4922 search_key.offset = (u64)-1; in btrfs_init_root_free_objectid()
4923 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in btrfs_init_root_free_objectid()
/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()
H A Ddir.c31 hfs_cat_build_key(dir->i_sb, fd.search_key, dir->i_ino, &dentry->d_name); in hfs_lookup()
37 inode = hfs_iget(dir->i_sb, &fd.search_key->cat, &rec); in hfs_lookup()
65 hfs_cat_build_key(sb, fd.search_key, inode->i_ino, NULL); in hfs_readdir()
H A Dextent.c114 hfs_ext_build_key(fd->search_key, inode->i_ino, HFS_I(inode)->cached_start, in __hfs_ext_write_extent()
155 hfs_ext_build_key(fd->search_key, cnid, block, type); in __hfs_ext_read_extent()
160 if (fd->key->ext.FNum != fd->search_key->ext.FNum || in __hfs_ext_read_extent()
161 fd->key->ext.FkType != fd->search_key->ext.FkType) in __hfs_ext_read_extent()
H A Dsuper.c370 root_inode = hfs_iget(sb, &fd.search_key->cat, &rec); in hfs_fill_super()
/linux/drivers/firewire/
H A Dcore-device.c51 static const u32 *search_directory(const u32 *directory, int search_key) in search_directory() argument
56 search_key |= CSR_DIRECTORY; in search_directory()
60 if (key == search_key) in search_directory()
67 static const u32 *search_leaf(const u32 *directory, int search_key) in search_leaf() argument
74 if (last_key == search_key && in search_leaf()