/linux-master/fs/minix/ |
H A D | namei.c | 177 struct inode *old_dir, struct dentry *old_dentry, 241 inode_dec_link_count(old_dir); 176 minix_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/coda/ |
H A D | dir.c | 298 static int coda_rename(struct mnt_idmap *idmap, struct inode *old_dir, argument 311 error = venus_rename(old_dir->i_sb, coda_i2f(old_dir), 317 coda_dir_drop_nlink(old_dir); 322 coda_dir_update_mtime(old_dir);
|
/linux-master/include/linux/ |
H A D | fscrypt.h | 426 int __fscrypt_prepare_rename(struct inode *old_dir, struct dentry *old_dentry, 747 static inline int __fscrypt_prepare_rename(struct inode *old_dir, argument 969 * @old_dir: source directory 988 static inline int fscrypt_prepare_rename(struct inode *old_dir, argument 994 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir)) 995 return __fscrypt_prepare_rename(old_dir, old_dentry,
|
H A D | debugfs.h | 114 struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, 291 static inline struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, argument
|
H A D | nfs_xdr.h | 722 const struct nfs_fh *old_dir; member in struct:nfs_renameargs 1717 struct inode *old_dir; member in struct:nfs_renamedata 1773 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
|
H A D | security.h | 358 int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, 866 static inline int security_inode_rename(struct inode *old_dir, argument 1924 int security_path_rename(const struct path *old_dir, struct dentry *old_dentry, 1975 static inline int security_path_rename(const struct path *old_dir, argument
|
/linux-master/fs/exfat/ |
H A D | namei.c | 1233 struct inode *old_dir, struct dentry *old_dentry, 1238 struct super_block *sb = old_dir->i_sb; 1255 err = __exfat_rename(old_dir, EXFAT_I(old_inode), new_dir, new_dentry); 1260 simple_rename_timestamp(old_dir, old_dentry, new_dir, new_dentry); 1277 if (S_ISDIR(old_inode->i_mode) && old_dir != new_dir) { 1278 drop_nlink(old_dir); 1283 inode_inc_iversion(old_dir); 1284 if (new_dir != old_dir) 1285 mark_inode_dirty(old_dir); 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/ubifs/ |
H A D | journal.c | 1330 * @old_dir: parent inode of directory entry to rename 1345 int ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir, argument 1359 int move = (old_dir != new_dir); 1368 ubifs_assert(c, ubifs_inode(old_dir)->data_len == 0); 1370 ubifs_assert(c, mutex_is_locked(&ubifs_inode(old_dir)->ui_mutex)); 1429 dent_key_init_flash(c, &dent2->key, old_dir->i_ino, old_nm); 1469 pack_inode(c, p, old_dir, 1); 1474 pack_inode(c, p, old_dir, 0); 1503 ubifs_wbuf_add_ino_nolock(wbuf, old_dir->i_ino); 1522 dent_key_init(c, &key, old_dir [all...] |
/linux-master/fs/ |
H A D | bad_inode.c | 79 struct inode *old_dir, struct dentry *old_dentry, 78 bad_inode_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
|
H A D | namei.c | 4762 struct inode *old_dir = rd->old_dir, *new_dir = rd->new_dir; local 4778 error = may_delete(rd->old_mnt_idmap, old_dir, old_dentry, is_dir); 4797 if (!old_dir->i_op->rename) 4804 if (new_dir != old_dir) { 4819 error = security_inode_rename(old_dir, old_dentry, new_dir, new_dentry, 4839 lock_old_subdir = new_dir != old_dir; 4840 lock_new_subdir = new_dir != old_dir || !(flags & RENAME_EXCHANGE); 4862 if (max_links && new_dir != old_dir) { 4867 old_dir [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | local_storage.c | 108 int BPF_PROG(inode_rename, struct inode *old_dir, struct dentry *old_dentry, argument
|
/linux-master/fs/9p/ |
H A D | v9fs.h | 179 struct inode *old_dir, struct dentry *old_dentry,
|
H A D | vfs_inode.c | 822 * @old_dir: old dir inode 831 v9fs_vfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, argument 910 v9fs_dec_count(old_dir); 913 v9fs_invalidate_inode_attr(old_dir);
|
/linux-master/fs/ceph/ |
H A D | dir.c | 1424 static int ceph_rename(struct mnt_idmap *idmap, struct inode *old_dir, argument 1428 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old_dir->i_sb); 1437 if (ceph_snap(old_dir) != ceph_snap(new_dir)) 1439 if (ceph_snap(old_dir) != CEPH_NOSNAP) { 1440 if (old_dir == new_dir && ceph_snap(old_dir) == CEPH_SNAPDIR) 1446 if ((old_dir != new_dir) && 1447 (!ceph_quota_is_same_realm(old_dir, new_dir))) 1454 err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry, 1460 ceph_vinop(old_dir), old_dentr [all...] |
/linux-master/fs/orangefs/ |
H A D | namei.c | 379 struct inode *old_dir, 405 new_op->upcall.req.rename.old_parent_refn = ORANGEFS_I(old_dir)->refn; 378 orangefs_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/omfs/ |
H A D | dir.c | 373 static int omfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, argument 397 mark_inode_dirty(old_dir);
|
/linux-master/fs/ecryptfs/ |
H A D | inode.c | 585 ecryptfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, argument 630 rd.old_dir = d_inode(lower_old_dir_dentry); 642 if (new_dir != old_dir) 643 fsstack_copy_attr_all(old_dir, d_inode(lower_old_dir_dentry));
|
/linux-master/fs/hfsplus/ |
H A D | dir.c | 533 struct inode *old_dir, struct dentry *old_dentry, 553 old_dir, &old_dentry->d_name, 532 hfsplus_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/drivers/android/ |
H A D | binderfs.c | 354 struct inode *old_dir, struct dentry *old_dentry, 362 return simple_rename(idmap, old_dir, old_dentry, new_dir, 353 binderfs_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/affs/ |
H A D | affs.h | 182 struct inode *old_dir, struct dentry *old_dentry,
|
/linux-master/fs/nfs/ |
H A D | nfs3proc.c | 498 nfs3_proc_rename_done(struct rpc_task *task, struct inode *old_dir, argument 503 if (nfs3_async_handle_jukebox(task, old_dir)) 507 nfs_post_op_update_inode(old_dir, res->old_fattr);
|
/linux-master/fs/btrfs/ |
H A D | inode.c | 8801 static int btrfs_rename_exchange(struct inode *old_dir, argument 8806 struct btrfs_fs_info *fs_info = inode_to_fs_info(old_dir); 8809 struct btrfs_root *root = BTRFS_I(old_dir)->root; 8835 ret = fscrypt_setup_filename(old_dir, &old_dentry->d_name, 0, &old_fname); 8863 trans_num_items = (old_dir == new_dir ? 9 : 10); 8903 ret = btrfs_set_inode_index(BTRFS_I(old_dir), &new_idx); 8929 btrfs_ino(BTRFS_I(old_dir)), 8939 inode_inc_iversion(old_dir); 8943 simple_rename_timestamp(old_dir, old_dentry, new_dir, new_dentry); 8946 btrfs_record_unlink_dir(trans, BTRFS_I(old_dir), 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...] |
/linux-master/fs/ext4/ |
H A D | namei.c | 3796 static int ext4_rename(struct mnt_idmap *idmap, struct inode *old_dir, argument 3802 .dir = old_dir, 4050 static int ext4_cross_rename(struct inode *old_dir, struct dentry *old_dentry, argument 4055 .dir = old_dir, 4070 (ext4_test_inode_flag(old_dir, EXT4_INODE_PROJINHERIT) && 4071 !projid_eq(EXT4_I(old_dir)->i_projid, 4192 struct inode *old_dir, struct dentry *old_dentry, 4198 if (unlikely(ext4_forced_shutdown(old_dir->i_sb))) 4204 err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry, 4210 return ext4_cross_rename(old_dir, old_dentr 4191 ext4_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/mm/ |
H A D | shmem.c | 3413 struct inode *old_dir, struct dentry *old_dentry) 3422 error = shmem_mknod(idmap, old_dir, whiteout, 3446 struct inode *old_dir, struct dentry *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); 3479 drop_nlink(old_dir); 3482 drop_nlink(old_dir); 3486 old_dir->i_size -= BOGO_DIRENT_SIZE; 3488 simple_rename_timestamp(old_dir, old_dentr 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 D | ocfs2_trace.h | 2260 TP_PROTO(void *old_dir, void *old_dentry, 2264 TP_ARGS(old_dir, old_dentry, new_dir, new_dentry, 2267 __field(void *, old_dir) 2277 __entry->old_dir = old_dir; 2287 __entry->old_dir, __entry->old_dentry,
|