Home
last modified time | relevance | path

Searched refs:parent_inode (Results 1 – 14 of 14) sorted by relevance

/fs/orangefs/
Ddcache.c19 struct inode *parent_inode = parent_dentry->d_inode; in orangefs_revalidate_lookup() local
20 struct orangefs_inode_s *parent = ORANGEFS_I(parent_inode); in orangefs_revalidate_lookup()
45 get_interruptible_flag(parent_inode)); in orangefs_revalidate_lookup()
48 get_interruptible_flag(parent_inode)); in orangefs_revalidate_lookup()
/fs/btrfs/
Dprops.c425 struct inode *parent_inode, *child_inode; in btrfs_subvol_inherit_props() local
428 parent_inode = btrfs_iget(sb, BTRFS_FIRST_FREE_OBJECTID, parent_root); in btrfs_subvol_inherit_props()
429 if (IS_ERR(parent_inode)) in btrfs_subvol_inherit_props()
430 return PTR_ERR(parent_inode); in btrfs_subvol_inherit_props()
434 iput(parent_inode); in btrfs_subvol_inherit_props()
438 ret = inherit_props(trans, child_inode, parent_inode); in btrfs_subvol_inherit_props()
440 iput(parent_inode); in btrfs_subvol_inherit_props()
Dtransaction.c1622 struct inode *parent_inode; in create_pending_snapshot() local
1673 parent_inode = pending->dir; in create_pending_snapshot()
1674 parent_root = BTRFS_I(parent_inode)->root; in create_pending_snapshot()
1678 cur_time = current_time(parent_inode); in create_pending_snapshot()
1683 ret = btrfs_set_inode_index(BTRFS_I(parent_inode), &index); in create_pending_snapshot()
1688 btrfs_ino(BTRFS_I(parent_inode)), in create_pending_snapshot()
1784 btrfs_ino(BTRFS_I(parent_inode)), index, in create_pending_snapshot()
1818 dentry->d_name.len, BTRFS_I(parent_inode), in create_pending_snapshot()
1827 btrfs_i_size_write(BTRFS_I(parent_inode), parent_inode->i_size + in create_pending_snapshot()
1829 parent_inode->i_mtime = parent_inode->i_ctime = in create_pending_snapshot()
[all …]
Dsend.c2288 u64 parent_inode = 0; in get_cur_path() local
2320 &parent_inode, &parent_gen, name); in get_cur_path()
2323 &parent_inode, in get_cur_path()
2336 ino = parent_inode; in get_cur_path()
3191 u64 parent_inode = 0; in path_loop() local
3205 &parent_inode, &parent_gen, name); in path_loop()
3208 &parent_inode, in path_loop()
3217 if (parent_inode == start_ino) { in path_loop()
3223 ino = parent_inode; in path_loop()
Dinode.c6718 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, in btrfs_add_link() argument
6723 struct btrfs_root *root = parent_inode->root; in btrfs_add_link()
6725 u64 parent_ino = btrfs_ino(parent_inode); in btrfs_add_link()
6748 ret = btrfs_insert_dir_item(trans, name, name_len, parent_inode, &key, in btrfs_add_link()
6757 btrfs_i_size_write(parent_inode, parent_inode->vfs_inode.i_size + in btrfs_add_link()
6759 inode_inc_iversion(&parent_inode->vfs_inode); in btrfs_add_link()
6767 struct timespec64 now = current_time(&parent_inode->vfs_inode); in btrfs_add_link()
6769 parent_inode->vfs_inode.i_mtime = now; in btrfs_add_link()
6770 parent_inode->vfs_inode.i_ctime = now; in btrfs_add_link()
6772 ret = btrfs_update_inode(trans, root, parent_inode); in btrfs_add_link()
Dctree.h3193 struct btrfs_inode *parent_inode, struct btrfs_inode *inode,
/fs/fat/
Dnfs.c267 struct inode *parent_inode = NULL; in fat_get_parent() local
272 parent_inode = fat_dget(sb, parent_logstart); in fat_get_parent()
273 if (!parent_inode && sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_get_parent()
274 parent_inode = fat_rebuild_parent(sb, parent_logstart); in fat_get_parent()
278 return d_obtain_alias(parent_inode); in fat_get_parent()
/fs/ceph/
Dexport.c36 struct inode *parent_inode) in ceph_encode_snapfh() argument
86 struct inode *parent_inode) in ceph_encode_fh() argument
95 return ceph_encode_snapfh(inode, rawfh, max_len, parent_inode); in ceph_encode_fh()
97 if (parent_inode && (*max_len < connected_handle_length)) { in ceph_encode_fh()
105 if (parent_inode) { in ceph_encode_fh()
108 ceph_ino(inode), ceph_ino(parent_inode)); in ceph_encode_fh()
110 cfh->parent_ino = ceph_ino(parent_inode); in ceph_encode_fh()
/fs/squashfs/
Dsquashfs_fs.h376 __le32 parent_inode; member
389 __le32 parent_inode; member
Dinode.c235 squashfs_i(inode)->parent = le32_to_cpu(sqsh_ino->parent_inode); in squashfs_read_inode()
262 squashfs_i(inode)->parent = le32_to_cpu(sqsh_ino->parent_inode); in squashfs_read_inode()
/fs/incfs/
Dpseudo_files.c767 struct inode *parent_inode; in ioctl_create_mapped_file() local
864 parent_inode = d_inode(parent_dir_path.dentry); in ioctl_create_mapped_file()
865 inode_lock_nested(parent_inode, I_MUTEX_PARENT); in ioctl_create_mapped_file()
866 error = vfs_create(&init_user_ns, parent_inode, file_dentry, in ioctl_create_mapped_file()
868 inode_unlock(parent_inode); in ioctl_create_mapped_file()
/fs/ksmbd/
Dvfs.h205 struct inode *parent_inode);
Dvfs.c40 struct inode *parent_inode, in ksmbd_vfs_inherit_owner() argument
47 i_uid_write(inode, i_uid_read(parent_inode)); in ksmbd_vfs_inherit_owner()
1892 struct path *path, struct inode *parent_inode) in ksmbd_vfs_inherit_posix_acl() argument
1902 acls = get_acl(parent_inode, ACL_TYPE_DEFAULT); in ksmbd_vfs_inherit_posix_acl()
/fs/cifs/
Dsmb2inode.c622 smb2_mkdir(const unsigned int xid, struct inode *parent_inode, umode_t mode, in smb2_mkdir() argument