Home
last modified time | relevance | path

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

/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()
1522 INODE_PKEY(inode)->k_dir_id = cpu_to_le32(args->dirid); in reiserfs_init_locked_inode()
1538 dirino = args->dirid; in reiserfs_read_locked_inode()
1623 (le32_to_cpu(INODE_PKEY(inode)->k_dir_id) == args->dirid); in reiserfs_find_actor()
1633 args.dirid = key->on_disk_key.k_dir_id; in reiserfs_iget()
1955 args.dirid = le32_to_cpu(ih.ih_key.k_dir_id); in reiserfs_new_inode()
Dreiserfs.h1965 extern void make_empty_dir_item_v1(char *body, __le32 dirid, __le32 objid,
1967 extern void make_empty_dir_item(char *body, __le32 dirid, __le32 objid,
2692 __u32 dirid; member
Dsuper.c2051 args.dirid = REISERFS_ROOT_PARENT_OBJECTID; in reiserfs_fill_super()
/fs/btrfs/
Droot-tree.h10 u64 ref_id, u64 dirid, u64 sequence,
13 u64 ref_id, u64 dirid, u64 *sequence,
Droot-tree.c335 u64 ref_id, u64 dirid, u64 *sequence, in btrfs_del_root_ref() argument
362 if ((btrfs_root_ref_dirid(leaf, ref) != dirid) || in btrfs_del_root_ref()
407 u64 ref_id, u64 dirid, u64 sequence, in btrfs_add_root_ref() argument
436 btrfs_set_root_ref_dirid(leaf, ref, dirid); in btrfs_add_root_ref()
Ddir-item.c330 u64 dirid, const struct fscrypt_str *name) in btrfs_search_dir_index_item() argument
336 key.objectid = dirid; in btrfs_search_dir_index_item()
341 if (key.objectid != dirid || key.type != BTRFS_DIR_INDEX_KEY) in btrfs_search_dir_index_item()
Ddir-item.h21 struct btrfs_path *path, u64 dirid,
Dioctl.c1829 u64 tree_id, u64 dirid, char *name) in btrfs_search_path_in_tree() argument
1842 if (dirid == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_search_path_in_tree()
1860 key.objectid = dirid; in btrfs_search_path_in_tree()
1894 dirid = key.objectid; in btrfs_search_path_in_tree()
1913 u64 dirid = args->dirid; in btrfs_search_path_in_tree_user() local
1937 if (dirid != upper_limit.objectid) { in btrfs_search_path_in_tree_user()
1946 key.objectid = dirid; in btrfs_search_path_in_tree_user()
1975 ret = btrfs_previous_item(root, path, dirid, in btrfs_search_path_in_tree_user()
1987 if (key2.objectid != dirid) { in btrfs_search_path_in_tree_user()
2021 dirid = key.objectid; in btrfs_search_path_in_tree_user()
[all …]
Dtree-log.c117 u64 dirid, int del_all);
992 u64 dirid, u64 objectid, u64 index, in inode_in_dir() argument
999 di = btrfs_lookup_dir_index_item(NULL, root, path, dirid, in inode_in_dir()
1013 di = btrfs_lookup_dir_item(NULL, root, path, dirid, name, 0); in inode_in_dir()
1770 u64 dirid, u64 index, in insert_one_name() argument
1782 dir = read_one_inode(root, dirid); in insert_one_name()
2043 u64 dirid, in find_dir_range() argument
2055 key.objectid = dirid; in find_dir_range()
2070 if (key.type != BTRFS_DIR_LOG_INDEX_KEY || key.objectid != dirid) { in find_dir_range()
2097 if (key.type != BTRFS_DIR_LOG_INDEX_KEY || key.objectid != dirid) { in find_dir_range()
[all …]
Dtree-log.h98 struct btrfs_inode *inode, u64 dirid);
Dsuper.c981 u64 dirid; in btrfs_get_subvol_name_from_objectid() local
1029 dirid = btrfs_root_ref_dirid(path->nodes[0], root_ref); in btrfs_get_subvol_name_from_objectid()
1043 while (dirid != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_subvol_name_from_objectid()
1044 key.objectid = dirid; in btrfs_get_subvol_name_from_objectid()
1056 dirid = key.offset; in btrfs_get_subvol_name_from_objectid()
Daccessors.h502 BTRFS_SETGET_FUNCS(root_ref_dirid, struct btrfs_root_ref, dirid, 64);
505 BTRFS_SETGET_STACK_FUNCS(stack_root_ref_dirid, struct btrfs_root_ref, dirid, 64);
Dsend.c7206 u64 dirid = 0, last_dirid = 0; in compare_refs() local
7215 dirid = key->offset; in compare_refs()
7217 ret = dir_changed(sctx, dirid); in compare_refs()
7227 dirid = btrfs_inode_extref_parent(leaf, extref); in compare_refs()
7230 if (dirid == last_dirid) in compare_refs()
7232 ret = dir_changed(sctx, dirid); in compare_refs()
7235 last_dirid = dirid; in compare_refs()
/fs/notify/fanotify/
Dfanotify.c721 struct inode *dirid = fanotify_dfid_inode(mask, data, data_type, dir); in fanotify_alloc_event() local
731 if ((fid_mode & FAN_REPORT_DIR_FID) && dirid) { in fanotify_alloc_event()
736 if (fanotify_report_child_fid(fid_mode, mask) && id != dirid) in fanotify_alloc_event()
739 id = dirid; in fanotify_alloc_event()
784 dirid = NULL; in fanotify_alloc_event()
814 event = fanotify_alloc_name_event(dirid, fsid, file_name, child, in fanotify_alloc_event()