/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfstrace.h | 798 const struct inode *new_dir, 802 TP_ARGS(old_dir, old_dentry, new_dir, new_dentry), 807 __field(u64, new_dir) 815 __entry->new_dir = NFS_FILEID(new_dir); 826 (unsigned long long)__entry->new_dir, 835 const struct inode *new_dir, \ 838 TP_ARGS(old_dir, old_dentry, new_dir, new_dentry)) 844 const struct inode *new_dir, 849 TP_ARGS(old_dir, old_dentry, new_dir, new_dentr [all...] |
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | tomoyo.c | 247 * @new_dir: Pointer to "struct path". 252 static int tomoyo_path_link(struct dentry *old_dentry, const struct path *new_dir, in tomoyo_path_link() argument 255 struct path path1 = { .mnt = new_dir->mnt, .dentry = old_dentry }; in tomoyo_path_link() 256 struct path path2 = { .mnt = new_dir->mnt, .dentry = new_dentry }; in tomoyo_path_link()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | dcache.c | 443 struct inode *old_dir, struct inode *new_dir) in ocfs2_dentry_move() 455 if (old_dir == new_dir) in ocfs2_dentry_move() 461 ret = ocfs2_dentry_attach_lock(dentry, inode, OCFS2_I(new_dir)->ip_blkno); in ocfs2_dentry_move() 442 ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, struct inode *old_dir, struct inode *new_dir) ocfs2_dentry_move() argument
|
H A D | dcache.h | 40 struct inode *old_dir, struct inode *new_dir);
|
/kernel/linux/linux-6.6/fs/minix/ |
H A D | namei.c | 179 struct inode *new_dir, struct dentry *new_dentry, in minix_rename() 230 inode_inc_link_count(new_dir); in minix_rename() 240 err = minix_set_link(dir_de, dir_page, new_dir); in minix_rename() 177 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) minix_rename() argument
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | dcache.c | 441 struct inode *old_dir, struct inode *new_dir) in ocfs2_dentry_move() 453 if (old_dir == new_dir) in ocfs2_dentry_move() 459 ret = ocfs2_dentry_attach_lock(dentry, inode, OCFS2_I(new_dir)->ip_blkno); in ocfs2_dentry_move() 440 ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, struct inode *old_dir, struct inode *new_dir) ocfs2_dentry_move() argument
|
H A D | dcache.h | 38 struct inode *old_dir, struct inode *new_dir);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | fsnotify.h | 138 * fsnotify_move - file old_name at old_dir was moved to new_name at new_dir 140 static inline void fsnotify_move(struct inode *old_dir, struct inode *new_dir, in fsnotify_move() argument 165 new_dir, new_name, fs_cookie); in fsnotify_move() 170 audit_inode_child(new_dir, moved, AUDIT_TYPE_CHILD_CREATE); in fsnotify_move()
|
H A D | fscrypt.h | 368 struct inode *new_dir, struct dentry *new_dentry, 684 struct inode *new_dir, in __fscrypt_prepare_rename() 906 * @new_dir: target directory 925 struct inode *new_dir, in fscrypt_prepare_rename() 929 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir)) in fscrypt_prepare_rename() 931 new_dir, new_dentry, flags); in fscrypt_prepare_rename() 682 __fscrypt_prepare_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) __fscrypt_prepare_rename() argument 923 fscrypt_prepare_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) fscrypt_prepare_rename() argument
|
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | tomoyo.c | 258 * @new_dir: Pointer to "struct path". 263 static int tomoyo_path_link(struct dentry *old_dentry, const struct path *new_dir, in tomoyo_path_link() argument 266 struct path path1 = { .mnt = new_dir->mnt, .dentry = old_dentry }; in tomoyo_path_link() 267 struct path path2 = { .mnt = new_dir->mnt, .dentry = new_dentry }; in tomoyo_path_link()
|
/kernel/linux/linux-6.6/fs/udf/ |
H A D | namei.c | 763 struct dentry *old_dentry, struct inode *new_dir, in udf_rename() 815 retval = udf_fiiter_find_entry(new_dir, &new_dentry->d_name, &niter); in udf_rename() 827 retval = udf_fiiter_add_entry(new_dir, new_dentry, &niter); in udf_rename() 870 new_dir->i_mtime = inode_set_ctime_current(new_dir); in udf_rename() 872 mark_inode_dirty(new_dir); in udf_rename() 876 cpu_to_lelb(UDF_I(new_dir)->i_location); in udf_rename() 886 inc_nlink(new_dir); in udf_rename() 887 mark_inode_dirty(new_dir); in udf_rename() 762 udf_rename(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) udf_rename() argument
|
/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | namei.c | 377 struct inode *new_dir, in orangefs_rename() 394 iattr.ia_mtime = iattr.ia_ctime = current_time(new_dir); in orangefs_rename() 395 __orangefs_setattr(new_dir, &iattr); in orangefs_rename() 402 new_op->upcall.req.rename.new_parent_refn = ORANGEFS_I(new_dir)->refn; in orangefs_rename() 375 orangefs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) orangefs_rename() argument
|
/kernel/linux/linux-6.6/fs/coda/ |
H A D | dir.c | 299 struct dentry *old_dentry, struct inode *new_dir, in coda_rename() 312 coda_i2f(new_dir), old_length, new_length, in coda_rename() 318 coda_dir_inc_nlink(new_dir); in coda_rename() 323 coda_dir_update_mtime(new_dir); in coda_rename() 298 coda_rename(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) coda_rename() argument
|
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | namei.c | 381 struct inode *new_dir, in orangefs_rename() 398 iattr.ia_mtime = iattr.ia_ctime = current_time(new_dir); in orangefs_rename() 399 __orangefs_setattr(new_dir, &iattr); in orangefs_rename() 406 new_op->upcall.req.rename.new_parent_refn = ORANGEFS_I(new_dir)->refn; in orangefs_rename() 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) orangefs_rename() argument
|
/kernel/linux/linux-6.6/mm/damon/ |
H A D | dbgfs.c | 816 struct dentry *root, **new_dirs, *new_dir; in dbgfs_mk_context() local 838 new_dir = debugfs_create_dir(name, root); in dbgfs_mk_context() 840 if (IS_ERR(new_dir)) in dbgfs_mk_context() 841 return PTR_ERR(new_dir); in dbgfs_mk_context() 842 dbgfs_dirs[dbgfs_nr_ctxs] = new_dir; in dbgfs_mk_context() 846 debugfs_remove(new_dir); in dbgfs_mk_context()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_merge.c | 1238 struct inode *new_dir, struct dentry *new_dentry, in do_rename_merge() 1270 d_new_dir = d_find_alias(new_dir); in do_rename_merge() 1314 rename_data.new_dir = lo_i_new_dir; in do_rename_merge() 1338 struct inode *new_dir, struct dentry *new_dentry, in hmdfs_rename_merge() 1355 if (hmdfs_i(old_dir)->inode_type != hmdfs_i(new_dir)->inode_type) { in hmdfs_rename_merge() 1368 new_dir_dentry = d_find_alias(new_dir); in hmdfs_rename_merge() 1390 trace_hmdfs_rename_merge(old_dir, old_dentry, new_dir, new_dentry, in hmdfs_rename_merge() 1392 ret = do_rename_merge(old_dir, old_dentry, new_dir, new_dentry, flags); in hmdfs_rename_merge() 1237 do_rename_merge(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) do_rename_merge() argument 1337 hmdfs_rename_merge(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) hmdfs_rename_merge() argument
|
H A D | inode_local.c | 618 struct inode *new_dir, struct dentry *new_dentry, in hmdfs_rename_local_dentry() 672 rename_data.new_dir = d_inode(lower_new_dir_dentry); in hmdfs_rename_local_dentry() 707 struct inode *new_dir, struct dentry *new_dentry, in hmdfs_rename_local() 713 trace_hmdfs_rename_local(old_dir, old_dentry, new_dir, new_dentry, in hmdfs_rename_local() 721 if (hmdfs_i(old_dir)->inode_type != hmdfs_i(new_dir)->inode_type) { in hmdfs_rename_local() 733 err = hmdfs_rename_local_dentry(old_dir, old_dentry, new_dir, in hmdfs_rename_local() 736 ret = hmdfs_rename_local_dentry(old_dir, old_dentry, new_dir, in hmdfs_rename_local() 617 hmdfs_rename_local_dentry(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) hmdfs_rename_local_dentry() argument 706 hmdfs_rename_local(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) hmdfs_rename_local() argument
|
/kernel/linux/linux-5.10/fs/udf/ |
H A D | namei.c | 1076 struct inode *new_dir, struct dentry *new_dentry, in udf_rename() 1107 nfi = udf_find_entry(new_dir, &new_dentry->d_name, &nfibh, &ncfi); in udf_rename() 1149 nfi = udf_add_entry(new_dir, new_dentry, &nfibh, &ncfi, in udf_rename() 1168 udf_write_fi(new_dir, &ncfi, nfi, &nfibh, NULL, NULL); in udf_rename() 1179 new_dir->i_ctime = new_dir->i_mtime = current_time(new_dir); in udf_rename() 1181 mark_inode_dirty(new_dir); in udf_rename() 1184 dir_fi->icb.extLocation = cpu_to_lelb(UDF_I(new_dir)->i_location); in udf_rename() 1195 inc_nlink(new_dir); in udf_rename() 1075 udf_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) udf_rename() argument [all...] |
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | dir.c | 532 struct inode *new_dir, struct dentry *new_dentry, in hfsplus_rename() 543 res = hfsplus_rmdir(new_dir, new_dentry); in hfsplus_rename() 545 res = hfsplus_unlink(new_dir, new_dentry); in hfsplus_rename() 552 new_dir, &new_dentry->d_name); in hfsplus_rename() 531 hfsplus_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) hfsplus_rename() argument
|
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | dir.c | 534 struct inode *new_dir, struct dentry *new_dentry, in hfsplus_rename() 545 res = hfsplus_rmdir(new_dir, new_dentry); in hfsplus_rename() 547 res = hfsplus_unlink(new_dir, new_dentry); in hfsplus_rename() 554 new_dir, &new_dentry->d_name); in hfsplus_rename() 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) hfsplus_rename() argument
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode_merge.c | 1238 struct inode *new_dir, struct dentry *new_dentry, in do_rename_merge() 1269 d_new_dir = d_find_alias(new_dir); in do_rename_merge() 1330 struct inode *new_dir, struct dentry *new_dentry, in hmdfs_rename_merge() 1347 if (hmdfs_i(old_dir)->inode_type != hmdfs_i(new_dir)->inode_type) { in hmdfs_rename_merge() 1360 new_dir_dentry = d_find_alias(new_dir); in hmdfs_rename_merge() 1382 trace_hmdfs_rename_merge(old_dir, old_dentry, new_dir, new_dentry, in hmdfs_rename_merge() 1384 ret = do_rename_merge(old_dir, old_dentry, new_dir, new_dentry, flags); in hmdfs_rename_merge() 1237 do_rename_merge(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) do_rename_merge() argument 1329 hmdfs_rename_merge(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) hmdfs_rename_merge() argument
|
/kernel/linux/linux-5.10/fs/bfs/ |
H A D | dir.c | 203 struct inode *new_dir, struct dentry *new_dentry, in bfs_rename() 230 new_bh = bfs_find_entry(new_dir, &new_dentry->d_name, &new_de); in bfs_rename() 237 error = bfs_add_entry(new_dir, &new_dentry->d_name, in bfs_rename() 202 bfs_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) bfs_rename() argument
|
/kernel/linux/linux-6.6/fs/bfs/ |
H A D | dir.c | 203 struct dentry *old_dentry, struct inode *new_dir, in bfs_rename() 230 new_bh = bfs_find_entry(new_dir, &new_dentry->d_name, &new_de); in bfs_rename() 237 error = bfs_add_entry(new_dir, &new_dentry->d_name, in bfs_rename() 202 bfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) bfs_rename() argument
|
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | journal.c | 1205 * @new_dir: parent inode of directory entry to rename 1217 const struct inode *new_dir, in ubifs_jnl_rename() 1228 int move = (old_dir != new_dir); in ubifs_jnl_rename() 1238 ubifs_assert(c, ubifs_inode(new_dir)->data_len == 0); in ubifs_jnl_rename() 1240 ubifs_assert(c, mutex_is_locked(&ubifs_inode(new_dir)->ui_mutex)); in ubifs_jnl_rename() 1283 dent_key_init_flash(c, &dent->key, new_dir->i_ino, new_nm); in ubifs_jnl_rename() 1349 pack_inode(c, p, new_dir, 1); in ubifs_jnl_rename() 1371 ubifs_wbuf_add_ino_nolock(wbuf, new_dir->i_ino); in ubifs_jnl_rename() 1384 dent_key_init(c, &key, new_dir->i_ino, new_nm); in ubifs_jnl_rename() 1431 ino_key_init(c, &key, new_dir in ubifs_jnl_rename() 1214 ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir, const struct inode *old_inode, const struct fscrypt_name *old_nm, const struct inode *new_dir, const struct inode *new_inode, const struct fscrypt_name *new_nm, const struct inode *whiteout, int sync) ubifs_jnl_rename() argument [all...] |
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | journal.c | 1206 * @new_dir: parent inode of directory entry to rename 1221 const struct inode *new_dir, in ubifs_jnl_rename() 1232 int move = (old_dir != new_dir); in ubifs_jnl_rename() 1242 ubifs_assert(c, ubifs_inode(new_dir)->data_len == 0); in ubifs_jnl_rename() 1244 ubifs_assert(c, mutex_is_locked(&ubifs_inode(new_dir)->ui_mutex)); in ubifs_jnl_rename() 1287 dent_key_init_flash(c, &dent->key, new_dir->i_ino, new_nm); in ubifs_jnl_rename() 1353 pack_inode(c, p, new_dir, 1); in ubifs_jnl_rename() 1375 ubifs_wbuf_add_ino_nolock(wbuf, new_dir->i_ino); in ubifs_jnl_rename() 1388 dent_key_init(c, &key, new_dir->i_ino, new_nm); in ubifs_jnl_rename() 1435 ino_key_init(c, &key, new_dir in ubifs_jnl_rename() 1218 ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir, const struct inode *old_inode, const struct fscrypt_name *old_nm, const struct inode *new_dir, const struct inode *new_inode, const struct fscrypt_name *new_nm, const struct inode *whiteout, int sync) ubifs_jnl_rename() argument [all...] |