Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/android/
Dbinderfs.c502 struct inode *parent_inode; in binderfs_remove_file() local
504 parent_inode = d_inode(dentry->d_parent); in binderfs_remove_file()
505 inode_lock(parent_inode); in binderfs_remove_file()
508 simple_unlink(parent_inode, dentry); in binderfs_remove_file()
512 inode_unlock(parent_inode); in binderfs_remove_file()
520 struct inode *new_inode, *parent_inode; in binderfs_create_file() local
523 parent_inode = d_inode(parent); in binderfs_create_file()
524 inode_lock(parent_inode); in binderfs_create_file()
530 sb = parent_inode->i_sb; in binderfs_create_file()
541 fsnotify_create(parent_inode, dentry); in binderfs_create_file()
[all …]
/linux-6.12.1/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()
43 get_interruptible_flag(parent_inode)); in orangefs_revalidate_lookup()
46 get_interruptible_flag(parent_inode)); in orangefs_revalidate_lookup()
/linux-6.12.1/fs/fat/
Dnfs.c273 struct inode *parent_inode = NULL; in fat_get_parent() local
278 parent_inode = fat_dget(sb, parent_logstart); in fat_get_parent()
279 if (!parent_inode && sbi->options.nfs == FAT_NFS_NOSTALE_RO) in fat_get_parent()
280 parent_inode = fat_rebuild_parent(sb, parent_logstart); in fat_get_parent()
284 return d_obtain_alias(parent_inode); in fat_get_parent()
/linux-6.12.1/fs/ceph/
Dexport.c37 struct inode *parent_inode) in ceph_encode_snapfh() argument
88 struct inode *parent_inode) in ceph_encode_fh() argument
98 return ceph_encode_snapfh(inode, rawfh, max_len, parent_inode); in ceph_encode_fh()
100 if (parent_inode && (*max_len < connected_handle_length)) { in ceph_encode_fh()
108 if (parent_inode) { in ceph_encode_fh()
111 ceph_vinop(inode), parent_inode, ceph_vinop(parent_inode)); in ceph_encode_fh()
113 cfh->parent_ino = ceph_ino(parent_inode); in ceph_encode_fh()
/linux-6.12.1/fs/btrfs/
Dtransaction.c1639 struct inode *parent_inode = &pending->dir->vfs_inode; in create_pending_snapshot() local
1665 pending->error = fscrypt_setup_filename(parent_inode, in create_pending_snapshot()
1703 parent_root = BTRFS_I(parent_inode)->root; in create_pending_snapshot()
1707 cur_time = current_time(parent_inode); in create_pending_snapshot()
1712 ret = btrfs_set_inode_index(BTRFS_I(parent_inode), &index); in create_pending_snapshot()
1720 btrfs_ino(BTRFS_I(parent_inode)), in create_pending_snapshot()
1821 btrfs_ino(BTRFS_I(parent_inode)), index, in create_pending_snapshot()
1859 BTRFS_I(parent_inode), &key, BTRFS_FT_DIR, in create_pending_snapshot()
1866 btrfs_i_size_write(BTRFS_I(parent_inode), parent_inode->i_size + in create_pending_snapshot()
1868 inode_set_mtime_to_ts(parent_inode, in create_pending_snapshot()
[all …]
Dbtrfs_inode.h538 struct btrfs_inode *parent_inode, struct btrfs_inode *inode,
Dsend.c2452 u64 parent_inode = 0; in get_cur_path() local
2484 &parent_inode, &parent_gen, name); in get_cur_path()
2487 &parent_inode, in get_cur_path()
2500 ino = parent_inode; in get_cur_path()
3489 u64 parent_inode = 0; in path_loop() local
3503 &parent_inode, &parent_gen, name); in path_loop()
3506 &parent_inode, in path_loop()
3515 if (parent_inode == start_ino) { in path_loop()
3521 ino = parent_inode; in path_loop()
Dinode.c6483 struct btrfs_inode *parent_inode, struct btrfs_inode *inode, in btrfs_add_link() argument
6488 struct btrfs_root *root = parent_inode->root; in btrfs_add_link()
6490 u64 parent_ino = btrfs_ino(parent_inode); in btrfs_add_link()
6513 ret = btrfs_insert_dir_item(trans, name, parent_inode, &key, in btrfs_add_link()
6522 btrfs_i_size_write(parent_inode, parent_inode->vfs_inode.i_size + in btrfs_add_link()
6524 inode_inc_iversion(&parent_inode->vfs_inode); in btrfs_add_link()
6532 inode_set_mtime_to_ts(&parent_inode->vfs_inode, in btrfs_add_link()
6533 inode_set_ctime_current(&parent_inode->vfs_inode)); in btrfs_add_link()
6535 ret = btrfs_update_inode(trans, parent_inode); in btrfs_add_link()
/linux-6.12.1/fs/
Dbinfmt_misc.c688 struct inode *inode, *parent_inode; in unlink_binfmt_dentry() local
700 parent_inode = d_inode(parent); in unlink_binfmt_dentry()
701 if (WARN_ON_ONCE(!inode_is_locked(parent_inode))) in unlink_binfmt_dentry()
706 simple_unlink(parent_inode, dentry); in unlink_binfmt_dentry()
/linux-6.12.1/fs/squashfs/
Dsquashfs_fs.h376 __le32 parent_inode; member
389 __le32 parent_inode; member
Dinode.c238 squashfs_i(inode)->parent = le32_to_cpu(sqsh_ino->parent_inode); in squashfs_read_inode()
265 squashfs_i(inode)->parent = le32_to_cpu(sqsh_ino->parent_inode); in squashfs_read_inode()
/linux-6.12.1/fs/smb/server/
Dvfs.h167 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()
1924 struct path *path, struct inode *parent_inode) in ksmbd_vfs_inherit_posix_acl() argument
1935 acls = get_inode_acl(parent_inode, ACL_TYPE_DEFAULT); in ksmbd_vfs_inherit_posix_acl()
/linux-6.12.1/fs/bcachefs/
Dfsck.c1504 struct bch_inode_unpacked parent_inode; in find_oldest_inode_needs_reattach() local
1505 bch2_inode_unpack(k, &parent_inode); in find_oldest_inode_needs_reattach()
1507 if (!inode_should_reattach(&parent_inode)) in find_oldest_inode_needs_reattach()
1510 *inode = parent_inode; in find_oldest_inode_needs_reattach()
/linux-6.12.1/fs/smb/client/
Dsmb2inode.c984 smb2_mkdir(const unsigned int xid, struct inode *parent_inode, umode_t mode, in smb2_mkdir() argument