Searched refs:old_dentry (Results 51 - 75 of 79) sorted by relevance

1234

/linux-master/include/trace/events/
H A Df2fs.h888 TP_PROTO(struct inode *old_dir, struct dentry *old_dentry,
892 TP_ARGS(old_dir, old_dentry, new_dir, new_dentry, flags),
897 __string(old_name, old_dentry->d_name.name)
906 __assign_str(old_name, old_dentry->d_name.name);
923 TP_PROTO(struct dentry *old_dentry, struct dentry *new_dentry,
926 TP_ARGS(old_dentry, new_dentry, flags, ret),
931 __string(old_name, old_dentry->d_name.name)
938 __entry->dev = old_dentry->d_sb->s_dev;
939 __entry->ino = old_dentry->d_inode->i_ino;
940 __assign_str(old_name, old_dentry
[all...]
/linux-master/fs/afs/
H A Ddir.c42 struct dentry *old_dentry, struct inode *new_dir,
1844 struct dentry *old_dentry = op->dentry; local
1858 afs_edit_dir_remove(orig_dvnode, &old_dentry->d_name,
1895 d_move(old_dentry, new_dentry);
1922 struct dentry *old_dentry, struct inode *new_dir,
1933 if (old_dentry->d_flags & DCACHE_NFSFS_RENAMED)
1936 vnode = AFS_FS_I(d_inode(old_dentry));
1964 op->dentry = old_dentry;
2009 * d_revalidate may see old_dentry between the op having taken place
2012 * So drop the old_dentry fo
1921 afs_rename(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) argument
[all...]
/linux-master/fs/affs/
H A Daffs.h182 struct inode *old_dir, struct dentry *old_dentry,
/linux-master/fs/nfs/
H A Ddir.c2591 nfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
2593 struct inode *inode = d_inode(old_dentry);
2597 old_dentry, dentry);
2648 struct dentry *old_dentry, struct inode *new_dir,
2651 struct inode *old_inode = d_inode(old_dentry);
2662 old_dentry, new_dentry,
2665 trace_nfs_rename_enter(old_dir, old_dentry, new_dir, new_dentry);
2717 task = nfs_async_rename(old_dir, new_dir, old_dentry, new_dentry,
2742 trace_nfs_rename_exit(old_dir, old_dentry,
2753 d_move(old_dentry, new_dentr
2647 nfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) argument
[all...]
H A Dproc.c355 struct dentry *old_dentry,
354 nfs_proc_rename_setup(struct rpc_message *msg, struct dentry *old_dentry, struct dentry *new_dentry) argument
H A Dnfs3proc.c486 struct dentry *old_dentry,
485 nfs3_proc_rename_setup(struct rpc_message *msg, struct dentry *old_dentry, struct dentry *new_dentry) argument
H A Dinternal.h649 struct dentry *old_dentry, struct dentry *new_dentry,
/linux-master/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h822 struct dentry* old_dentry, struct mnt_idmap *idmap,
833 if (!is_dentry_allowed_for_filemod(old_dentry, &src_device_id, &src_file_ino) &&
859 size_t len = read_absolute_file_path_from_dentry(old_dentry, payload);
821 BPF_KPROBE(kprobe__vfs_link, struct dentry* old_dentry, struct mnt_idmap *idmap, struct inode* dir, struct dentry* new_dentry, struct inode** delegated_inode) argument
/linux-master/mm/
H A Dshmem.c3346 static int shmem_link(struct dentry *old_dentry, struct inode *dir, argument
3349 struct inode *inode = d_inode(old_dentry);
3413 struct inode *old_dir, struct dentry *old_dentry)
3418 whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name);
3446 struct inode *old_dir, struct dentry *old_dentry,
3450 struct inode *inode = d_inode(old_dentry);
3458 return simple_offset_rename_exchange(old_dir, old_dentry,
3465 error = shmem_whiteout(idmap, old_dir, old_dentry);
3470 simple_offset_remove(shmem_get_offset_ctx(old_dir), old_dentry); local
3412 shmem_whiteout(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry) argument
3445 shmem_rename2(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) argument
[all...]
/linux-master/fs/ocfs2/
H A Docfs2_trace.h2260 TP_PROTO(void *old_dir, void *old_dentry,
2264 TP_ARGS(old_dir, old_dentry, new_dir, new_dentry,
2268 __field(void *, old_dentry)
2278 __entry->old_dentry = old_dentry;
2287 __entry->old_dir, __entry->old_dentry,
H A Drefcounttree.c4150 static int __ocfs2_reflink(struct dentry *old_dentry, argument
4156 struct inode *inode = d_inode(old_dentry);
4221 static int ocfs2_reflink(struct dentry *old_dentry, struct inode *dir, argument
4225 struct inode *inode = d_inode(old_dentry);
4256 error = __ocfs2_reflink(old_dentry, old_bh,
4326 * @old_dentry: source dentry + inode
4331 static int ocfs2_vfs_reflink(struct dentry *old_dentry, struct inode *dir, argument
4334 struct inode *inode = d_inode(old_dentry);
4382 error = ocfs2_reflink(old_dentry, dir, new_dentry, preserve);
/linux-master/fs/btrfs/
H A Dinode.c6632 static int btrfs_link(struct dentry *old_dentry, struct inode *dir, argument
6637 struct inode *inode = d_inode(old_dentry);
6701 btrfs_log_new_name(trans, old_dentry, NULL, 0, parent);
8802 struct dentry *old_dentry,
8812 struct inode *old_inode = old_dentry->d_inode;
8835 ret = fscrypt_setup_filename(old_dir, &old_dentry->d_name, 0, &old_fname);
8943 simple_rename_timestamp(old_dir, old_dentry, new_dir, new_dentry);
8945 if (old_dentry->d_parent != new_dentry->d_parent) {
8954 ret = btrfs_unlink_subvol(trans, BTRFS_I(old_dir), old_dentry);
8957 BTRFS_I(old_dentry
8801 btrfs_rename_exchange(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
9053 btrfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) argument
9289 btrfs_rename2(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) argument
[all...]
H A Dtree-log.c7438 * @old_dentry: The dentry associated with the old name and the old
7452 struct dentry *old_dentry, struct btrfs_inode *old_dir,
7455 struct btrfs_inode *inode = BTRFS_I(d_inode(old_dentry));
7506 &old_dentry->d_name, 0, &fname);
7451 btrfs_log_new_name(struct btrfs_trans_handle *trans, struct dentry *old_dentry, struct btrfs_inode *old_dir, u64 old_dir_index, struct dentry *parent) argument
/linux-master/fs/exfat/
H A Dnamei.c1233 struct inode *old_dir, struct dentry *old_dentry,
1252 old_inode = old_dentry->d_inode;
1260 simple_rename_timestamp(old_dir, old_dentry, new_dir, new_dentry);
1232 exfat_rename(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) argument
/linux-master/fs/hostfs/
H A Dhostfs_kern.c746 struct inode *old_dir, struct dentry *old_dentry,
756 old_name = dentry_name(old_dentry);
745 hostfs_rename2(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) argument
/linux-master/fs/xfs/
H A Dxfs_iops.c355 struct dentry *old_dentry,
359 struct inode *inode = d_inode(old_dentry);
354 xfs_vn_link( struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
/linux-master/security/smack/
H A Dsmack_lsm.c1066 * @old_dentry: the existing object
1072 static int smack_inode_link(struct dentry *old_dentry, struct inode *dir, argument
1080 smk_ad_setfield_u_fs_path_dentry(&ad, old_dentry);
1082 isp = smk_of_inode(d_backing_inode(old_dentry));
1084 rc = smk_bu_inode(d_backing_inode(old_dentry), MAY_WRITE, rc);
1167 * @old_dentry: the old object
1177 struct dentry *old_dentry,
1186 smk_ad_setfield_u_fs_path_dentry(&ad, old_dentry);
1188 isp = smk_of_inode(d_backing_inode(old_dentry));
1190 rc = smk_bu_inode(d_backing_inode(old_dentry), MAY_READWRIT
1176 smack_inode_rename(struct inode *old_inode, struct dentry *old_dentry, struct inode *new_inode, struct dentry *new_dentry) argument
[all...]
/linux-master/include/linux/
H A Dfs.h1879 * @old_dentry: source
1889 struct dentry *old_dentry; member in struct:renamedata
3295 void simple_rename_timestamp(struct inode *old_dir, struct dentry *old_dentry,
3297 extern int simple_rename_exchange(struct inode *old_dir, struct dentry *old_dentry,
3344 struct dentry *old_dentry,
H A Dnfs_xdr.h1718 struct dentry *old_dentry; member in struct:nfs_renamedata
1770 struct dentry *old_dentry,
/linux-master/fs/kernfs/
H A Ddir.c1271 struct inode *old_dir, struct dentry *old_dentry,
1275 struct kernfs_node *kn = kernfs_dentry_node(old_dentry);
1270 kernfs_iop_rename(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) argument
/linux-master/fs/
H A Ddcache.c3015 * Test whether new_dentry is a subdirectory of old_dentry.
3021 * is_subdir - is new dentry a subdirectory of old_dentry
3023 * @old_dentry: old dentry
3030 bool is_subdir(struct dentry *new_dentry, struct dentry *old_dentry) argument
3035 if (new_dentry == old_dentry)
3046 if (d_ancestor(old_dentry, new_dentry))
/linux-master/fs/gfs2/
H A Dinode.c935 * @old_dentry: The inode to link
939 * Link the inode in "old_dentry" into the directory "dir" with the
945 static int gfs2_link(struct dentry *old_dentry, struct inode *dir, argument
950 struct inode *inode = d_inode(old_dentry);
/linux-master/security/selinux/
H A Dhooks.c1884 struct dentry *old_dentry,
1896 old_isec = backing_inode_security(old_dentry);
1897 old_is_dir = d_is_dir(old_dentry);
1902 ad.u.dentry = old_dentry;
3020 static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) argument
3022 return may_link(dir, old_dentry, MAY_LINK);
3050 static int selinux_inode_rename(struct inode *old_inode, struct dentry *old_dentry, argument
3053 return may_rename(old_inode, old_dentry, new_inode, new_dentry);
1883 may_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/linux-master/fs/cachefiles/
H A Dnamei.c389 .old_dentry = rep,
/linux-master/fs/bcachefs/
H A Dfs.c496 static int bch2_link(struct dentry *old_dentry, struct inode *vdir, argument
501 struct bch_inode_info *inode = to_bch_ei(old_dentry->d_inode);

Completed in 403 milliseconds

1234