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

123

/linux-master/include/linux/
H A Dlsm_hook_defs.h104 LSM_HOOK(int, 0, path_rename, const struct path *old_dir,
136 LSM_HOOK(int, 0, inode_rename, struct inode *old_dir, struct dentry *old_dentry,
H A Dfs.h1878 * @old_dir: parent of source
1888 struct inode *old_dir; 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,
3343 int simple_offset_rename_exchange(struct inode *old_dir,
/linux-master/fs/btrfs/
H A Dtree-log.c7440 * @old_dir: The inode of the previous parent directory for the case
7443 * only for rename operations (when @old_dir is not NULL).
7452 struct dentry *old_dentry, struct btrfs_inode *old_dir,
7476 if (!old_dir)
7479 * If the inode was not logged and we are doing a rename (old_dir is not
7480 * NULL), check if old_dir was logged - if it was not we can return and
7483 ret = inode_logged(trans, old_dir, NULL);
7492 * If we are doing a rename (old_dir is not NULL) from a directory that
7498 if (old_dir && old_dir
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
[all...]
H A Dioctl.c2423 struct inode *old_dir; local
2461 old_dir = dir;
2481 if (old_dir != dir && idmap != &nop_mnt_idmap) {
/linux-master/fs/nfs/
H A Dproc.c367 nfs_proc_rename_done(struct rpc_task *task, struct inode *old_dir, argument
370 nfs_mark_for_revalidate(old_dir);
H A Dnfs2xdr.c720 encode_diropargs(xdr, args->old_dir, old->name, old->len);
H A Ddir.c2628 * be to look up old_dir/old_name, create a link to new_dir/new_name and
2630 * file in old_dir will go away when the last process iput()s the inode.
2647 int nfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, argument
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,
H A Dinternal.h648 nfs_async_rename(struct inode *old_dir, struct inode *new_dir,
H A Dnfs3xdr.c1194 encode_diropargs3(xdr, args->old_dir, old->name, old->len);
H A Dnfs4proc.c4876 nfs4_setup_sequence(NFS_SERVER(data->old_dir)->nfs_client,
4882 static int nfs4_proc_rename_done(struct rpc_task *task, struct inode *old_dir, argument
4895 if (new_dir != old_dir) {
4897 nfs4_update_changeattr(old_dir, &res->old_cinfo,
4906 nfs4_update_changeattr(old_dir, &res->old_cinfo,
H A Dnfs4xdr.c2259 encode_putfh(xdr, args->old_dir, &hdr);
/linux-master/security/
H A Dsecurity.c1899 * @old_dir: parent directory of the old file
1909 int security_path_rename(const struct path *old_dir, struct dentry *old_dentry, argument
1918 return call_int_hook(path_rename, old_dir, old_dentry, new_dir,
2134 * @old_dir: parent directory of the old file
2144 int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, argument
2155 old_dir, old_dentry);
2160 return call_int_hook(inode_rename, old_dir, old_dentry,
/linux-master/security/apparmor/
H A Dlsm.c381 static int apparmor_path_rename(const struct path *old_dir, struct dentry *old_dentry, argument
395 struct mnt_idmap *idmap = mnt_idmap(old_dir->mnt);
397 struct path old_path = { .mnt = old_dir->mnt,
/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),
904 __entry->dev = old_dir->i_sb->s_dev;
905 __entry->ino = old_dir->i_ino;
912 TP_printk("dev = (%d,%d), old_dir = %lu, old_name: %s, "
/linux-master/fs/afs/
H A Ddir.c41 static int afs_rename(struct mnt_idmap *idmap, struct inode *old_dir,
1921 static int afs_rename(struct mnt_idmap *idmap, struct inode *old_dir, argument
1937 orig_dvnode = AFS_FS_I(old_dir);
/linux-master/fs/cachefiles/
H A Dnamei.c388 .old_dir = d_inode(dir),
/linux-master/fs/hostfs/
H A Dhostfs_kern.c746 struct inode *old_dir, struct dentry *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/overlayfs/
H A Doverlayfs.h359 .old_dir = olddir,
/linux-master/security/landlock/
H A Dfs.c1240 static int hook_path_rename(const struct path *const old_dir, argument
1246 /* old_dir refers to old_dentry->d_parent and new_dir->mnt */
/linux-master/fs/ubifs/
H A Dubifs.h1817 int ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir,
/linux-master/fs/kernfs/
H A Ddir.c1271 struct inode *old_dir, struct dentry *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/ceph/
H A Dmds_client.c3771 struct inode *old_dir = req->r_old_dentry_dir; local
3775 dir, old_dir);
3778 if (old_dir)
3779 ceph_dir_clear_complete(old_dir);
/linux-master/fs/smb/server/
H A Dvfs.c778 rd.old_dir = d_inode(old_parent),
/linux-master/security/selinux/
H A Dhooks.c1883 static inline int may_rename(struct inode *old_dir, argument
1895 old_dsec = inode_security(old_dir);
1911 if (old_is_dir && new_dir != old_dir) {
/linux-master/fs/nfsd/
H A Dvfs.c1891 .old_dir = fdir,

Completed in 391 milliseconds

123