/linux-6.6.21/fs/hfs/ |
D | catalog.c | 108 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_create() 122 hfs_cat_build_key(sb, fd.search_key, dir->i_ino, str); in hfs_cat_create() 142 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_create() 193 hfs_cat_build_key(sb, fd->search_key, cnid, NULL); in hfs_cat_find_brec() 204 fd->search_key->cat.ParID = rec.thread.ParID; in hfs_cat_find_brec() 205 len = fd->search_key->cat.CName.len = rec.thread.CName.len; in hfs_cat_find_brec() 210 memcpy(fd->search_key->cat.CName.name, rec.thread.CName.name, len); in hfs_cat_find_brec() 234 hfs_cat_build_key(sb, fd.search_key, dir->i_ino, str); in hfs_cat_delete() 254 if (fd.tree->keycmp(fd.search_key, (void *)&rd->key) < 0) in hfs_cat_delete() 263 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_delete() [all …]
|
D | brec.c | 85 key_len = (fd->search_key->key_len | 1) + 1; in hfs_brec_insert() 132 hfs_bnode_write(node, fd->search_key, data_off, key_len); in hfs_brec_insert() 141 hfs_bnode_read_key(node, fd->search_key, data_off + size); in hfs_brec_insert() 159 hfs_bnode_read_key(new_node, fd->search_key, 14); in hfs_brec_insert() 166 key_len = fd->search_key->key_len + 1; in hfs_brec_insert() 168 fd->search_key->key_len = tree->max_key_len; in hfs_brec_insert() 434 hfs_bnode_read_key(new_node, fd->search_key, 14); in hfs_brec_update_parent() 446 hfs_bnode_read_key(node, fd->search_key, 14); in hfs_brec_update_parent()
|
D | bfind.c | 24 fd->search_key = ptr; in hfs_find_init() 47 kfree(fd->search_key); in hfs_find_exit() 75 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in __hfs_brec_find()
|
D | attr.c | 36 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()
|
D | dir.c | 31 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()
|
D | extent.c | 114 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()
|
D | btree.h | 79 btree_key *search_key; member
|
D | inode.c | 464 fd.search_key->cat = HFS_I(main_inode)->cat_key; in hfs_write_inode() 540 fd.search_key->cat = HFS_I(dir)->cat_key; in hfs_file_lookup()
|
D | super.c | 430 root_inode = hfs_iget(sb, &fd.search_key->cat, &rec); in hfs_fill_super()
|
/linux-6.6.21/fs/hfsplus/ |
D | catalog.c | 201 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 …]
|
D | bfind.c | 24 fd->search_key = ptr; in hfs_find_init() 47 kfree(fd->search_key); in hfs_find_exit() 65 search_cnid = fd->search_key->ext.cnid; in hfs_find_1st_rec_by_cnid() 68 search_cnid = fd->search_key->cat.parent; in hfs_find_1st_rec_by_cnid() 71 search_cnid = fd->search_key->attr.cnid; in hfs_find_1st_rec_by_cnid() 100 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in hfs_find_rec_by_key()
|
D | attributes.c | 150 err = hfsplus_attr_build_key(sb, fd->search_key, cnid, name); in hfsplus_find_attr() 157 err = hfsplus_attr_build_key(sb, fd->search_key, cnid, NULL); in hfsplus_find_attr() 226 err = hfsplus_attr_build_key(sb, fd.search_key, in hfsplus_create_attr() 296 hfs_bnode_read(fd->bnode, fd->search_key, in __hfsplus_delete_attr() 331 err = hfsplus_attr_build_key(sb, fd.search_key, in hfsplus_delete_attr()
|
D | brec.c | 83 key_len = be16_to_cpu(fd->search_key->key_len) + 2; in hfs_brec_insert() 132 hfs_bnode_write(node, fd->search_key, data_off, key_len); in hfs_brec_insert() 141 hfs_bnode_read_key(node, fd->search_key, data_off + size); in hfs_brec_insert() 159 hfs_bnode_read_key(new_node, fd->search_key, 14); in hfs_brec_insert() 167 key_len = be16_to_cpu(fd->search_key->key_len) + 2; in hfs_brec_insert() 169 fd->search_key->key_len = in hfs_brec_insert() 438 hfs_bnode_read_key(new_node, fd->search_key, 14); in hfs_brec_update_parent() 450 hfs_bnode_read_key(node, fd->search_key, 14); in hfs_brec_update_parent()
|
D | extents.c | 95 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()
|
D | dir.c | 47 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()
|
D | hfsplus_fs.h | 287 hfsplus_btree_key *search_key; member
|
D | super.c | 522 err = hfsplus_cat_build_key(sb, fd.search_key, HFSPLUS_ROOT_CNID, &str); in hfsplus_fill_super()
|
/linux-6.6.21/fs/btrfs/ |
D | tree-log.c | 1062 struct btrfs_key search_key; in __add_inode_ref() local 1067 search_key.objectid = inode_objectid; in __add_inode_ref() 1068 search_key.type = BTRFS_INODE_REF_KEY; in __add_inode_ref() 1069 search_key.offset = parent_objectid; in __add_inode_ref() 1070 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in __add_inode_ref() 1081 if (search_key.objectid == search_key.offset) in __add_inode_ref() 1100 ret = backref_in_log(log_root, &search_key, in __add_inode_ref() 1154 search_key.objectid = inode_objectid; in __add_inode_ref() 1155 search_key.type = BTRFS_INODE_EXTREF_KEY; in __add_inode_ref() 1156 search_key.offset = btrfs_extref_hash(parent_objectid, in __add_inode_ref() [all …]
|
D | root-tree.c | 67 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() 95 if (found_key.objectid != search_key->objectid || in btrfs_find_root()
|
D | root-tree.h | 25 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key,
|
D | backref.c | 604 struct btrfs_key search_key = ref->key_for_search; in resolve_indirect_ref() local 663 if (search_key.type == BTRFS_EXTENT_DATA_KEY && in resolve_indirect_ref() 664 search_key.offset >= LLONG_MAX) in resolve_indirect_ref() 665 search_key.offset = 0; in resolve_indirect_ref() 668 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in resolve_indirect_ref() 670 ret = btrfs_search_old_slot(root, &search_key, path, ctx->time_seq); in resolve_indirect_ref()
|
D | block-group.c | 590 struct btrfs_key search_key; in sample_block_group_extent_item() local 611 search_key.objectid = block_group->start + search_offset; in sample_block_group_extent_item() 612 search_key.type = BTRFS_EXTENT_ITEM_KEY; in sample_block_group_extent_item() 613 search_key.offset = 0; in sample_block_group_extent_item() 615 btrfs_for_each_slot(extent_root, &search_key, found_key, path, ret) { in sample_block_group_extent_item()
|
D | disk-io.c | 4966 struct btrfs_key search_key; in btrfs_init_root_free_objectid() local 4974 search_key.objectid = BTRFS_LAST_FREE_OBJECTID; in btrfs_init_root_free_objectid() 4975 search_key.type = -1; in btrfs_init_root_free_objectid() 4976 search_key.offset = (u64)-1; in btrfs_init_root_free_objectid() 4977 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in btrfs_init_root_free_objectid()
|
/linux-6.6.21/drivers/firewire/ |
D | core-device.c | 50 static const u32 *search_leaf(const u32 *directory, int search_key) in search_leaf() argument 57 if (last_key == search_key && in search_leaf()
|