Home
last modified time | relevance | path

Searched refs:dirid (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/fs/reiserfs/
Ddir.c281 void make_empty_dir_item_v1(char *body, __le32 dirid, __le32 objid, in make_empty_dir_item_v1() argument
293 dot->deh_dir_id = dirid; in make_empty_dir_item_v1()
315 void make_empty_dir_item(char *body, __le32 dirid, __le32 objid, in make_empty_dir_item() argument
327 dot->deh_dir_id = dirid; in make_empty_dir_item()
Dbitmap.c802 __u32 dirid = 0; in dirid_groups() local
807 dirid = le32_to_cpu(INODE_PKEY(hint->inode)->k_dir_id); in dirid_groups()
809 dirid = hint->key.k_dir_id; in dirid_groups()
811 if (dirid) { in dirid_groups()
812 bm = bmap_hash_id(sb, dirid); in dirid_groups()
830 __u32 dirid; in oid_groups() local
833 dirid = le32_to_cpu(INODE_PKEY(hint->inode)->k_dir_id); in oid_groups()
839 if (dirid <= 2) in oid_groups()
Dinode.c111 static void _make_cpu_key(struct cpu_key *key, int version, __u32 dirid, in _make_cpu_key() argument
116 key->on_disk_key.k_dir_id = dirid; in _make_cpu_key()
1534 INODE_PKEY(inode)->k_dir_id = cpu_to_le32(args->dirid); in reiserfs_init_locked_inode()
1550 dirino = args->dirid; in reiserfs_read_locked_inode()
1639 (le32_to_cpu(INODE_PKEY(inode)->k_dir_id) == args->dirid); in reiserfs_find_actor()
1649 args.dirid = key->on_disk_key.k_dir_id; in reiserfs_iget()
1971 args.dirid = le32_to_cpu(ih.ih_key.k_dir_id); in reiserfs_new_inode()
Dreiserfs.h1966 extern void make_empty_dir_item_v1(char *body, __le32 dirid, __le32 objid,
1968 extern void make_empty_dir_item(char *body, __le32 dirid, __le32 objid,
2693 __u32 dirid; member
Dsuper.c2058 args.dirid = REISERFS_ROOT_PARENT_OBJECTID; in reiserfs_fill_super()
/Linux-v5.4/fs/btrfs/
Droot-tree.c352 u64 ref_id, u64 dirid, u64 *sequence, const char *name, in btrfs_del_root_ref() argument
380 WARN_ON(btrfs_root_ref_dirid(leaf, ref) != dirid); in btrfs_del_root_ref()
423 u64 ref_id, u64 dirid, u64 sequence, const char *name, in btrfs_add_root_ref() argument
452 btrfs_set_root_ref_dirid(leaf, ref, dirid); in btrfs_add_root_ref()
Ddir-item.c297 struct btrfs_path *path, u64 dirid, in btrfs_search_dir_index_item() argument
306 key.objectid = dirid; in btrfs_search_dir_index_item()
330 if (key.objectid != dirid || key.type != BTRFS_DIR_INDEX_KEY) in btrfs_search_dir_index_item()
Dtree-log.h62 struct btrfs_inode *inode, u64 dirid);
Dtree-log.c107 u64 dirid, int del_all);
902 u64 dirid, u64 objectid, u64 index, in inode_in_dir() argument
909 di = btrfs_lookup_dir_index_item(NULL, root, path, dirid, in inode_in_dir()
919 di = btrfs_lookup_dir_item(NULL, root, path, dirid, name, name_len, 0); in inode_in_dir()
1859 u64 dirid, u64 index, in insert_one_name() argument
1871 dir = read_one_inode(root, dirid); in insert_one_name()
1893 const u64 dirid, const u64 ino) in name_in_log_ref() argument
1899 search_key.offset = dirid; in name_in_log_ref()
1900 if (backref_in_log(log_root, &search_key, dirid, name, name_len)) in name_in_log_ref()
1904 search_key.offset = btrfs_extref_hash(dirid, name, name_len); in name_in_log_ref()
[all …]
Dioctl.c2285 u64 tree_id, u64 dirid, char *name) in btrfs_search_path_in_tree() argument
2298 if (dirid == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_search_path_in_tree()
2318 key.objectid = dirid; in btrfs_search_path_in_tree()
2327 ret = btrfs_previous_item(root, path, dirid, in btrfs_search_path_in_tree()
2359 dirid = key.objectid; in btrfs_search_path_in_tree()
2376 u64 dirid = args->dirid; in btrfs_search_path_in_tree_user() local
2400 if (dirid != upper_limit.objectid) { in btrfs_search_path_in_tree_user()
2412 key.objectid = dirid; in btrfs_search_path_in_tree_user()
2420 ret = btrfs_previous_item(root, path, dirid, in btrfs_search_path_in_tree_user()
2448 ret = btrfs_previous_item(root, path, dirid, in btrfs_search_path_in_tree_user()
[all …]
Dsuper.c1018 u64 dirid; in get_subvol_name_from_objectid() local
1074 dirid = btrfs_root_ref_dirid(path->nodes[0], root_ref); in get_subvol_name_from_objectid()
1090 while (dirid != BTRFS_FIRST_FREE_OBJECTID) { in get_subvol_name_from_objectid()
1091 key.objectid = dirid; in get_subvol_name_from_objectid()
1099 ret = btrfs_previous_item(fs_root, path, dirid, in get_subvol_name_from_objectid()
1110 dirid = key.offset; in get_subvol_name_from_objectid()
Dctree.h1780 BTRFS_SETGET_FUNCS(root_ref_dirid, struct btrfs_root_ref, dirid, 64);
2675 u64 ref_id, u64 dirid, u64 sequence, const char *name,
2678 u64 ref_id, u64 dirid, u64 *sequence, const char *name,
2727 struct btrfs_path *path, u64 dirid,
Dsend.c6388 u64 dirid = 0, last_dirid = 0; in compare_refs() local
6397 dirid = key->offset; in compare_refs()
6399 ret = dir_changed(sctx, dirid); in compare_refs()
6409 dirid = btrfs_inode_extref_parent(leaf, extref); in compare_refs()
6412 if (dirid == last_dirid) in compare_refs()
6414 ret = dir_changed(sctx, dirid); in compare_refs()
6417 last_dirid = dirid; in compare_refs()
/Linux-v5.4/include/uapi/linux/
Dbtrfs.h429 __u64 dirid; member
771 __u64 dirid; member
817 __u64 dirid; member
Dbtrfs_tree.h657 __le64 dirid; member