/linux-4.19.296/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 | 459 fd.search_key->cat = HFS_I(main_inode)->cat_key; in hfs_write_inode() 535 fd.search_key->cat = HFS_I(dir)->cat_key; in hfs_file_lookup()
|
D | super.c | 437 root_inode = hfs_iget(sb, &fd.search_key->cat, &rec); in hfs_fill_super()
|
/linux-4.19.296/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-4.19.296/fs/btrfs/ |
D | inode-map.c | 530 struct btrfs_key search_key; in btrfs_find_highest_objectid() local 538 search_key.objectid = BTRFS_LAST_FREE_OBJECTID; in btrfs_find_highest_objectid() 539 search_key.type = -1; in btrfs_find_highest_objectid() 540 search_key.offset = (u64)-1; in btrfs_find_highest_objectid() 541 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in btrfs_find_highest_objectid()
|
D | root-tree.c | 64 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root() argument 73 ret = btrfs_search_slot(NULL, root, search_key, path, 0, 0); in btrfs_find_root() 77 if (search_key->offset != -1ULL) { /* the search key is exact */ in btrfs_find_root() 92 if (found_key.objectid != search_key->objectid || in btrfs_find_root()
|
D | tree-log.c | 1009 struct btrfs_key search_key; in __add_inode_ref() local 1014 search_key.objectid = inode_objectid; in __add_inode_ref() 1015 search_key.type = BTRFS_INODE_REF_KEY; in __add_inode_ref() 1016 search_key.offset = parent_objectid; in __add_inode_ref() 1017 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in __add_inode_ref() 1028 if (search_key.objectid == search_key.offset) in __add_inode_ref() 1049 if (!backref_in_log(log_root, &search_key, in __add_inode_ref() 1111 search_key.objectid = inode_objectid; in __add_inode_ref() 1112 search_key.type = BTRFS_INODE_EXTREF_KEY; in __add_inode_ref() 1113 search_key.offset = btrfs_extref_hash(parent_objectid, in __add_inode_ref() [all …]
|
D | ctree.h | 3015 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key,
|