Searched refs:objectid (Results 1 - 25 of 68) sorted by relevance

123

/linux-master/fs/btrfs/
H A Dexport.h15 u64 objectid; member in struct:btrfs_fid
25 struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
H A Dexport.c36 fid->objectid = btrfs_ino(BTRFS_I(inode));
37 fid->root_objectid = BTRFS_I(inode)->root->root_key.objectid;
43 fid->parent_objectid = BTRFS_I(parent)->location.objectid;
45 parent_root_id = BTRFS_I(parent)->root->root_key.objectid;
62 * Read dentry of inode with @objectid from filesystem root @root_objectid.
65 * @objectid: inode objectid
73 struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid, argument
80 if (objectid < BTRFS_FIRST_FREE_OBJECTID)
87 inode = btrfs_iget(sb, objectid, roo
104 u64 objectid, root_objectid; local
128 u64 objectid, root_objectid; local
[all...]
H A Dorphan.c16 key.objectid = BTRFS_ORPHAN_OBJECTID;
37 key.objectid = BTRFS_ORPHAN_OBJECTID;
H A Dfree-space-tree.c28 .objectid = BTRFS_FREE_SPACE_TREE_OBJECTID,
79 key.objectid = block_group->start;
111 key.objectid = block_group->start;
233 key.objectid = end - 1;
249 ASSERT(found_key.objectid == block_group->start);
256 ASSERT(found_key.objectid >= start);
257 ASSERT(found_key.objectid < end);
258 ASSERT(found_key.objectid + found_key.offset <= end);
260 first = div_u64(found_key.objectid - start,
262 last = div_u64(found_key.objectid
[all...]
H A Ddisk-io.h74 u64 objectid, bool check_ref);
76 u64 objectid, dev_t *anon_dev);
79 u64 objectid);
135 u64 objectid);
137 int btrfs_get_free_objectid(struct btrfs_root *root, u64 *objectid);
H A Dtree-checker.c77 * Customized reporter for extent data item, since its key objectid and
101 key.objectid, key.offset, &vaf);
139 * key->objectid, which represents inode number
162 key.objectid, &vaf);
167 * This functions checks prev_key->objectid, to ensure current key and prev_key
168 * share the same objectid as inode number.
197 if (key->objectid == prev_key->objectid)
202 "invalid previous key objectid, have %llu expect %llu",
203 prev_key->objectid, ke
[all...]
H A Droot-tree.c63 * given objectid.
102 if (found_key.objectid != search_key->objectid ||
151 key->objectid, key->type, key->offset,
152 root->root_key.objectid);
231 key.objectid = BTRFS_ORPHAN_OBJECTID;
257 if (key.objectid != BTRFS_ORPHAN_OBJECTID ||
302 if (drop_key.objectid != 0 || drop_key.type != 0 ||
360 key.objectid = root_id;
390 key.objectid
[all...]
H A Dfile-item.h56 struct btrfs_root *root, u64 objectid, u64 pos,
60 struct btrfs_path *path, u64 objectid,
H A Ddir-item.c58 struct btrfs_path *path, u64 objectid,
73 key.objectid = objectid;
103 * both indexes. 'dir' indicates which objectid to insert it into,
124 key.objectid = btrfs_ino(dir);
202 * @dir: The inode number (objectid) of the directory.
221 key.objectid = dir;
248 key.objectid = dir;
295 * @dir: The inode number (objectid) of the directory.
316 key.objectid
56 btrfs_insert_xattr_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid, const char *name, u16 name_len, const void *data, u16 data_len) argument
[all...]
H A Dprint-tree.c40 if (key->objectid == BTRFS_TREE_RELOC_OBJECTID) {
47 if (root_map[i].id == key->objectid)
51 snprintf(buf, BTRFS_ROOT_NAME_BUF_LEN, "%llu", key->objectid);
79 pr_cont("extent data backref root %llu objectid %llu offset %llu count %u\n",
266 i, key.objectid, type, key.offset,
280 found_key.objectid,
347 pr_info("\t\tdev extent chunk_tree %llu\n\t\tchunk objectid %llu chunk offset %llu length %llu\n",
354 pr_info("\t\tpersistent item objectid %llu offset %llu\n",
355 key.objectid, key.offset);
356 switch (key.objectid) {
[all...]
H A Drelocation.c739 struct btrfs_root *root, u64 objectid)
753 root_key.objectid = BTRFS_TREE_RELOC_OBJECTID;
755 root_key.offset = objectid;
757 if (root->root_key.objectid == objectid) {
801 if (root->root_key.objectid == objectid) {
836 * snapshot of the fs tree with special root objectid.
880 root->root_key.objectid == BTRFS_TREE_RELOC_OBJECTID)
888 reloc_root = create_reloc_root(trans, root, root->root_key.objectid);
738 create_reloc_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid) argument
958 find_next_inode(struct btrfs_root *root, u64 objectid) argument
1525 u64 objectid; local
3860 __insert_orphan_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid) argument
3890 delete_orphan_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid) argument
3930 u64 objectid; local
[all...]
H A Dtree-log.c110 struct btrfs_path *path, u64 objectid);
394 ASSERT(root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID);
599 u64 objectid)
603 inode = btrfs_iget(root->fs_info->sb, objectid, root);
662 inode = read_one_inode(root, key->objectid);
731 ins.objectid = btrfs_file_extent_disk_bytenr(eb, item);
750 if (ins.objectid > 0) {
760 ret = btrfs_lookup_data_extent(fs_info, ins.objectid,
767 ins.objectid, ins.offset, 0,
768 root->root_key.objectid);
598 read_one_inode(struct btrfs_root *root, u64 objectid) argument
969 inode_in_dir(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, u64 objectid, u64 index, struct fscrypt_str *name) argument
1706 link_to_fixup_dir(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid) argument
[all...]
H A Dinode-item.c92 key.objectid = inode_objectid;
122 key.objectid = inode_objectid;
193 key.objectid = inode_objectid;
267 key.objectid = inode_objectid;
321 key.objectid = inode_objectid;
387 struct btrfs_path *path, u64 objectid)
391 key.objectid = objectid;
417 if (found_key.objectid == location->objectid
385 btrfs_insert_empty_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid) argument
[all...]
H A Draid-stripe-tree.c37 key.objectid = start;
54 found_start = key.objectid;
111 stripe_key.objectid = bioc->logical;
170 stripe_key.objectid = logical;
196 found_logical = found_key.objectid;
H A Ddisk-io.c439 expect_key->objectid,
441 found_key.objectid, found_key.type,
647 u64 objectid)
655 root->root_key.objectid = objectid;
722 u64 objectid, gfp_t flags)
726 __setup_root(root, fs_info, objectid);
779 root->root_key.objectid, root->root_key.offset);
832 .objectid = BTRFS_CSUM_TREE_OBJECTID,
843 .objectid
646 __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, u64 objectid) argument
721 btrfs_alloc_root(struct btrfs_fs_info *fs_info, u64 objectid, gfp_t flags) argument
858 btrfs_create_tree(struct btrfs_trans_handle *trans, u64 objectid) argument
1176 btrfs_get_global_root(struct btrfs_fs_info *fs_info, u64 objectid) argument
1315 btrfs_get_root_ref(struct btrfs_fs_info *fs_info, u64 objectid, dev_t *anon_dev, bool check_ref) argument
1419 btrfs_get_fs_root(struct btrfs_fs_info *fs_info, u64 objectid, bool check_ref) argument
1433 btrfs_get_new_fs_root(struct btrfs_fs_info *fs_info, u64 objectid, dev_t *anon_dev) argument
1454 btrfs_get_fs_root_commit_root(struct btrfs_fs_info *fs_info, struct btrfs_path *path, u64 objectid) argument
2127 load_global_roots_objectid(struct btrfs_root *tree_root, struct btrfs_path *path, u64 objectid, const char *name) argument
4954 btrfs_get_free_objectid(struct btrfs_root *root, u64 *objectid) argument
[all...]
H A Dfile-item.c160 u64 objectid, u64 pos, u64 num_bytes)
171 file_key.objectid = objectid;
215 file_key.objectid = BTRFS_EXTENT_CSUM_OBJECTID;
255 struct btrfs_path *path, u64 objectid,
262 file_key.objectid = objectid;
433 if (inode->root->root_key.objectid ==
480 key.objectid = BTRFS_EXTENT_CSUM_OBJECTID;
506 if (key.objectid
158 btrfs_insert_hole_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid, u64 pos, u64 num_bytes) argument
253 btrfs_lookup_file_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid, u64 offset, int mod) argument
[all...]
H A Dextent-tree.c83 key.objectid = start;
137 key.objectid = bytenr;
154 if (key.objectid == bytenr &&
291 * The key objectid corresponds to the first byte in the extent,
305 * - objectid of the file holding the reference
322 * (root_key.objectid, inode objectid, offset in file, 1)
327 * (btrfs_header_owner(leaf), inode objectid, offset in file)
335 * objectid of block's owner tree. The key offset for the full back refs
455 key.objectid
2289 check_delayed_ref(struct btrfs_root *root, struct btrfs_path *path, u64 objectid, u64 offset, u64 bytenr) argument
2375 check_committed_ref(struct btrfs_root *root, struct btrfs_path *path, u64 objectid, u64 offset, u64 bytenr, bool strict) argument
2468 btrfs_cross_ref_exist(struct btrfs_root *root, u64 objectid, u64 offset, u64 bytenr, bool strict, struct btrfs_path *path) argument
[all...]
H A Ddir-item.h39 struct btrfs_path *path, u64 objectid,
H A Dioctl.c615 u64 objectid; local
622 ret = btrfs_get_free_objectid(fs_info->tree_root, &objectid);
630 if (btrfs_qgroup_level(objectid)) {
671 ret = btrfs_qgroup_inherit(trans, 0, objectid, root->root_key.objectid, inherit);
675 leaf = btrfs_alloc_tree_block(trans, root, 0, objectid, NULL, 0, 0, 0,
716 key.objectid = objectid;
732 btrfs_free_tree_block(trans, objectid, leaf, 0, 1);
740 new_root = btrfs_get_new_fs_root(fs_info, objectid,
2290 u64 objectid; local
2960 u64 objectid = 0; local
[all...]
H A Dtransaction.c429 (unsigned long)root->root_key.objectid,
475 (unsigned long)root->root_key.objectid,
553 root->root_key.objectid == BTRFS_TREE_RELOC_OBJECTID ||
1232 ASSERT(log_root->root_key.objectid == BTRFS_TREE_LOG_OBJECTID);
1495 (unsigned long)root->root_key.objectid,
1586 ret = btrfs_qgroup_inherit(trans, src->root_key.objectid, dst_objectid,
1587 parent->root_key.objectid, inherit);
1653 u64 objectid; local
1677 pending->error = btrfs_get_free_objectid(tree_root, &objectid);
1685 btrfs_set_skip_qgroup(trans, objectid);
[all...]
H A Dlocking.h215 void btrfs_set_buffer_lockdep_class(u64 objectid, struct extent_buffer *eb, int level);
218 static inline void btrfs_set_buffer_lockdep_class(u64 objectid, argument
H A Dinode.c167 key.objectid = inum;
257 inode->root->root_key.objectid, btrfs_ino(inode), file_off,
267 inode->root->root_key.objectid,
313 ctx.bytenr = found_key.objectid;
314 ctx.extent_item_pos = logical - found_key.objectid;
334 if (root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID)
338 /* Output without objectid, which is more meaningful */
339 if (root->root_key.objectid >= BTRFS_LAST_FREE_OBJECTID) {
342 root->root_key.objectid, btrfs_ino(inode),
350 root->root_key.objectid, btrfs_in
3697 acls_after_inode_item(struct extent_buffer *leaf, int slot, u64 objectid, int *first_xattr_slot) argument
4274 u64 objectid; local
4440 u64 objectid = 0; local
6251 u64 objectid; local
6821 u64 objectid = btrfs_ino(inode); local
[all...]
/linux-master/fs/btrfs/tests/
H A Dextent-buffer-tests.c60 key.objectid = 0;
90 if (key.objectid != 0 || key.type != BTRFS_EXTENT_CSUM_KEY ||
114 if (key.objectid != 0 || key.type != BTRFS_EXTENT_CSUM_KEY ||
145 if (key.objectid != 0 || key.type != BTRFS_EXTENT_CSUM_KEY ||
168 if (key.objectid != 0 || key.type != BTRFS_EXTENT_CSUM_KEY ||
191 if (key.objectid != 0 || key.type != BTRFS_EXTENT_CSUM_KEY ||
H A Dqgroup-tests.c31 ins.objectid = bytenr;
80 key.objectid = bytenr;
103 key.objectid = bytenr;
129 key.objectid = bytenr;
162 key.objectid = bytenr;
185 key.objectid = bytenr;
492 root->root_key.objectid = BTRFS_EXTENT_TREE_OBJECTID;
526 tmp_root->root_key.objectid = BTRFS_FS_TREE_OBJECTID;
542 tmp_root->root_key.objectid = BTRFS_FIRST_FREE_OBJECTID;
/linux-master/fs/reiserfs/
H A DMakefile9 super.o prints.o objectid.o lbalance.o ibalance.o stree.o \

Completed in 434 milliseconds

123