/fs/hfs/ |
D | catalog.c | 100 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_create() 114 hfs_cat_build_key(sb, fd.search_key, dir->i_ino, str); in hfs_cat_create() 134 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_create() 183 hfs_cat_build_key(sb, fd->search_key, cnid, NULL); in hfs_cat_find_brec() 194 fd->search_key->cat.ParID = rec.thread.ParID; in hfs_cat_find_brec() 195 len = fd->search_key->cat.CName.len = rec.thread.CName.len; in hfs_cat_find_brec() 200 memcpy(fd->search_key->cat.CName.name, rec.thread.CName.name, len); in hfs_cat_find_brec() 224 hfs_cat_build_key(sb, fd.search_key, dir->i_ino, str); in hfs_cat_delete() 244 if (fd.tree->keycmp(fd.search_key, (void *)&rd->key) < 0) in hfs_cat_delete() 252 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_delete() [all …]
|
D | brec.c | 83 key_len = (fd->search_key->key_len | 1) + 1; in hfs_brec_insert() 130 hfs_bnode_write(node, fd->search_key, data_off, key_len); in hfs_brec_insert() 154 hfs_bnode_read_key(new_node, fd->search_key, 14); in hfs_brec_insert() 161 key_len = fd->search_key->key_len + 1; in hfs_brec_insert() 163 fd->search_key->key_len = tree->max_key_len; in hfs_brec_insert() 426 hfs_bnode_read_key(new_node, fd->search_key, 14); in hfs_brec_update_parent() 438 hfs_bnode_read_key(node, fd->search_key, 14); in hfs_brec_update_parent()
|
D | bfind.c | 23 fd->search_key = ptr; in hfs_find_init() 34 kfree(fd->search_key); in hfs_find_exit() 62 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in __hfs_brec_find()
|
D | attr.c | 31 fd.search_key->cat = HFS_I(inode)->cat_key; in hfs_setxattr() 75 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() 42 inode = hfs_iget(dir->i_sb, &fd.search_key->cat, &rec); in hfs_lookup() 71 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() 151 hfs_ext_build_key(fd->search_key, cnid, block, type); in __hfs_ext_read_extent() 156 if (fd->key->ext.FNum != fd->search_key->ext.FNum || in __hfs_ext_read_extent() 157 fd->key->ext.FkType != fd->search_key->ext.FkType) in __hfs_ext_read_extent()
|
D | btree.h | 71 btree_key *search_key; member
|
D | inode.c | 453 fd.search_key->cat = HFS_I(main_inode)->cat_key; in hfs_write_inode() 527 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()
|
/fs/hfsplus/ |
D | catalog.c | 184 hfsplus_cat_build_key(sb, fd->search_key, cnid, NULL); in hfsplus_find_cat() 200 hfsplus_cat_build_key_uni(fd->search_key, in hfsplus_find_cat() 221 hfsplus_cat_build_key(sb, fd.search_key, cnid, NULL); in hfsplus_create_cat() 236 hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str); in hfsplus_create_cat() 257 hfsplus_cat_build_key(sb, fd.search_key, cnid, NULL); in hfsplus_create_cat() 282 hfsplus_cat_build_key(sb, fd.search_key, cnid, NULL); in hfsplus_delete_cat() 289 fd.search_key->cat.parent = cpu_to_be32(dir->i_ino); in hfsplus_delete_cat() 291 &fd.search_key->cat.name.length, off, 2); in hfsplus_delete_cat() 292 len = be16_to_cpu(fd.search_key->cat.name.length) * 2; in hfsplus_delete_cat() 294 &fd.search_key->cat.name.unicode, in hfsplus_delete_cat() [all …]
|
D | bfind.c | 23 fd->search_key = ptr; in hfs_find_init() 46 kfree(fd->search_key); in hfs_find_exit() 64 search_cnid = fd->search_key->ext.cnid; in hfs_find_1st_rec_by_cnid() 67 search_cnid = fd->search_key->cat.parent; in hfs_find_1st_rec_by_cnid() 70 search_cnid = fd->search_key->attr.cnid; in hfs_find_1st_rec_by_cnid() 99 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in hfs_find_rec_by_key()
|
D | brec.c | 81 key_len = be16_to_cpu(fd->search_key->key_len) + 2; in hfs_brec_insert() 130 hfs_bnode_write(node, fd->search_key, data_off, key_len); in hfs_brec_insert() 154 hfs_bnode_read_key(new_node, fd->search_key, 14); in hfs_brec_insert() 162 key_len = be16_to_cpu(fd->search_key->key_len) + 2; in hfs_brec_insert() 164 fd->search_key->key_len = in hfs_brec_insert() 430 hfs_bnode_read_key(new_node, fd->search_key, 14); in hfs_brec_update_parent() 442 hfs_bnode_read_key(node, fd->search_key, 14); in hfs_brec_update_parent()
|
D | attributes.c | 177 err = hfsplus_attr_build_key(sb, fd->search_key, cnid, name); in hfsplus_find_attr() 184 err = hfsplus_attr_build_key(sb, fd->search_key, cnid, NULL); in hfsplus_find_attr() 248 err = hfsplus_attr_build_key(sb, fd.search_key, in hfsplus_create_attr() 344 err = hfsplus_attr_build_key(sb, fd.search_key, in hfsplus_delete_attr()
|
D | extents.c | 94 hfsplus_ext_build_key(fd->search_key, inode->i_ino, hip->cached_start, in __hfsplus_ext_write_extent() 157 hfsplus_ext_build_key(fd->search_key, cnid, block, type); in __hfsplus_ext_read_extent() 162 if (fd->key->ext.cnid != fd->search_key->ext.cnid || in __hfsplus_ext_read_extent() 163 fd->key->ext.fork_type != fd->search_key->ext.fork_type) in __hfsplus_ext_read_extent()
|
D | dir.c | 45 hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, &dentry->d_name); in hfsplus_lookup() 98 hfsplus_cat_build_key(sb, fd.search_key, in hfsplus_lookup() 141 hfsplus_cat_build_key(sb, fd.search_key, inode->i_ino, NULL); in hfsplus_readdir()
|
D | hfsplus_fs.h | 273 hfsplus_btree_key *search_key; member
|
D | super.c | 515 hfsplus_cat_build_key(sb, fd.search_key, HFSPLUS_ROOT_CNID, &str); in hfsplus_fill_super()
|
/fs/btrfs/ |
D | inode-map.c | 527 struct btrfs_key search_key; in btrfs_find_highest_objectid() local 535 search_key.objectid = BTRFS_LAST_FREE_OBJECTID; in btrfs_find_highest_objectid() 536 search_key.type = -1; in btrfs_find_highest_objectid() 537 search_key.offset = (u64)-1; in btrfs_find_highest_objectid() 538 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in btrfs_find_highest_objectid()
|
D | root-tree.c | 75 struct btrfs_key search_key; in btrfs_find_last_root() local 81 search_key.objectid = objectid; in btrfs_find_last_root() 82 search_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_find_last_root() 83 search_key.offset = (u64)-1; in btrfs_find_last_root() 88 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in btrfs_find_last_root()
|
D | tree-log.c | 860 struct btrfs_key search_key; in __add_inode_ref() local 865 search_key.objectid = inode_objectid; in __add_inode_ref() 866 search_key.type = BTRFS_INODE_REF_KEY; in __add_inode_ref() 867 search_key.offset = parent_objectid; in __add_inode_ref() 868 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in __add_inode_ref() 879 if (search_key.objectid == search_key.offset) in __add_inode_ref() 900 if (!backref_in_log(log_root, &search_key, in __add_inode_ref() 959 search_key.objectid = inode_objectid; in __add_inode_ref() 960 search_key.type = BTRFS_INODE_EXTREF_KEY; in __add_inode_ref() 961 search_key.offset = btrfs_extref_hash(parent_objectid, in __add_inode_ref() [all …]
|