Searched refs:dirid (Results 1 - 18 of 18) sorted by relevance

/linux-master/fs/btrfs/
H A Droot-tree.h22 u64 ref_id, u64 dirid, u64 sequence,
25 u64 ref_id, u64 dirid, u64 *sequence,
H A Ddir-item.h31 struct btrfs_path *path, u64 dirid,
H A Dtree-log.h89 struct btrfs_inode *inode, u64 dirid);
H A Droot-tree.c345 u64 ref_id, u64 dirid, u64 *sequence,
372 if ((btrfs_root_ref_dirid(leaf, ref) != dirid) ||
405 * The dirid, sequence, name and name_len refer to the directory entry
417 u64 ref_id, u64 dirid, u64 sequence,
446 btrfs_set_root_ref_dirid(leaf, ref, dirid);
344 btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id, u64 ref_id, u64 dirid, u64 *sequence, const struct fscrypt_str *name) argument
416 btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id, u64 ref_id, u64 dirid, u64 sequence, const struct fscrypt_str *name) argument
H A Ddir-item.c330 u64 dirid, const struct fscrypt_str *name)
336 key.objectid = dirid;
341 if (key.objectid != dirid || key.type != BTRFS_DIR_INDEX_KEY)
329 btrfs_search_dir_index_item(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, const struct fscrypt_str *name) argument
H A Dioctl.c1835 * Search INODE_REFs to identify path name of 'dirid' directory
1839 u64 tree_id, u64 dirid, char *name)
1852 if (dirid == BTRFS_FIRST_FREE_OBJECTID) {
1870 key.objectid = dirid;
1904 dirid = key.objectid;
1923 u64 dirid = args->dirid; local
1947 if (dirid != upper_limit.objectid) {
1956 key.objectid = dirid;
1985 ret = btrfs_previous_item(root, path, dirid,
1838 btrfs_search_path_in_tree(struct btrfs_fs_info *info, u64 tree_id, u64 dirid, char *name) argument
[all...]
H A Dtree-log.c115 u64 dirid, int del_all);
971 u64 dirid, u64 objectid, u64 index,
978 di = btrfs_lookup_dir_index_item(NULL, root, path, dirid,
992 di = btrfs_lookup_dir_item(NULL, root, path, dirid, name, 0);
1747 u64 dirid, u64 index,
1759 dir = read_one_inode(root, dirid);
2020 u64 dirid,
2032 key.objectid = dirid;
2047 if (key.type != BTRFS_DIR_LOG_INDEX_KEY || key.objectid != dirid) {
2074 if (key.type != BTRFS_DIR_LOG_INDEX_KEY || key.objectid != dirid) {
969 inode_in_dir(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, u64 objectid, u64 index, struct fscrypt_str *name) argument
1745 insert_one_name(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 dirid, u64 index, const struct fscrypt_str *name, struct btrfs_key *location) argument
2018 find_dir_range(struct btrfs_root *root, struct btrfs_path *path, u64 dirid, u64 *start_ret, u64 *end_ret) argument
2278 replay_dir_deletes(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_root *log, struct btrfs_path *path, u64 dirid, int del_all) argument
3495 btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct fscrypt_str *name, struct btrfs_inode *inode, u64 dirid) argument
3531 insert_dir_log_key(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, u64 dirid, u64 first_offset, u64 last_offset) argument
[all...]
H A Dsuper.c759 u64 dirid; local
807 dirid = btrfs_root_ref_dirid(path->nodes[0], root_ref);
821 while (dirid != BTRFS_FIRST_FREE_OBJECTID) {
822 key.objectid = dirid;
834 dirid = key.offset;
H A Daccessors.h525 BTRFS_SETGET_FUNCS(root_ref_dirid, struct btrfs_root_ref, dirid, 64);
528 BTRFS_SETGET_STACK_FUNCS(stack_root_ref_dirid, struct btrfs_root_ref, dirid, 64);
H A Dsend.c7175 u64 dirid = 0, last_dirid = 0; local
7182 /* Easy case, just check this one dirid */
7184 dirid = key->offset;
7186 ret = dir_changed(sctx, dirid);
7196 dirid = btrfs_inode_extref_parent(leaf, extref);
7199 if (dirid == last_dirid)
7201 ret = dir_changed(sctx, dirid);
7204 last_dirid = dirid;
/linux-master/fs/reiserfs/
H A Ddir.c281 void make_empty_dir_item_v1(char *body, __le32 dirid, __le32 objid, argument
293 dot->deh_dir_id = dirid;
315 void make_empty_dir_item(char *body, __le32 dirid, __le32 objid, argument
327 dot->deh_dir_id = dirid;
H A Dbitmap.c796 * Relocation based on dirid, hashing them into a given bitmap block
802 __u32 dirid = 0; local
807 dirid = le32_to_cpu(INODE_PKEY(hint->inode)->k_dir_id);
809 dirid = hint->key.k_dir_id;
811 if (dirid) {
812 bm = bmap_hash_id(sb, dirid);
830 __u32 dirid; local
833 dirid = le32_to_cpu(INODE_PKEY(hint->inode)->k_dir_id);
839 if (dirid <= 2)
1113 /* dirid groupin
[all...]
H A Dinode.c111 static void _make_cpu_key(struct cpu_key *key, int version, __u32 dirid, argument
116 key->on_disk_key.k_dir_id = dirid;
124 * take base of inode_key (it comes from inode always) (dirid, objectid)
1518 INODE_PKEY(inode)->k_dir_id = cpu_to_le32(args->dirid);
1534 dirino = args->dirid;
1619 (le32_to_cpu(INODE_PKEY(inode)->k_dir_id) == args->dirid);
1629 args.dirid = key->on_disk_key.k_dir_id;
1683 * 4 - objectid + dir_id + objectid and dirid of parent - legacy
1684 * 5 - objectid + dir_id + generation + objectid and dirid of parent
1951 args.dirid
[all...]
H A 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 in struct:reiserfs_iget_args
H A Dsuper.c2050 args.dirid = REISERFS_ROOT_PARENT_OBJECTID;
/linux-master/fs/notify/fanotify/
H A Dfanotify.c717 struct inode *dirid = fanotify_dfid_inode(mask, data, data_type, dir); local
727 if ((fid_mode & FAN_REPORT_DIR_FID) && dirid) {
732 if (fanotify_report_child_fid(fid_mode, mask) && id != dirid)
735 id = dirid;
761 * 'dirid' and 'file_name' are the old parent+name and
780 dirid = NULL;
810 event = fanotify_alloc_name_event(dirid, fsid, file_name, child,
/linux-master/include/uapi/linux/
H A Dbtrfs.h501 __u64 dirid; member in struct:btrfs_ioctl_ino_lookup_user_args
508 * called to dirid
870 __u64 dirid; member in struct:btrfs_ioctl_get_subvol_info_args
916 __u64 dirid; member in struct:btrfs_ioctl_get_subvol_rootref_args::__anon2720
H A Dbtrfs_tree.h982 __le64 dirid; member in struct:btrfs_root_ref

Completed in 349 milliseconds