Home
last modified time | relevance | path

Searched refs:rename (Results 1 – 106 of 106) sorted by relevance

/linux-4.4.14/Documentation/filesystems/
Ddirectory-locking18 4) rename() that is _not_ cross-directory. Locking rules: caller locks
29 6) cross-directory rename. The trickiest in the whole bunch. Locking
56 (1) if object removal or non-cross-directory rename holds lock on A and
58 acquire the lock on B. (Proof: only cross-directory rename can change
61 (2) if cross-directory rename holds the lock on filesystem, order will not
62 change until rename acquires all locks. (Proof: other cross-directory
86 Any contended object is either held by cross-directory rename or
88 operation other than cross-directory rename. Then the lock this operation
91 It means that one of the operations is cross-directory rename.
94 own descendent. Moreover, there is exactly one cross-directory rename
[all …]
Dpath-lookup.txt100 Back to the rename case. In usual RCU protected lists, the only operations that
120 dentry. So a seqlock is used to detect when a rename has occurred, and so the
165 A related, but distinctly different, issue is that of rename atomicity versus
172 rename seqlock is also used to cover this race in much the same way, by
173 retrying a negative lookup result if a rename was in progress.
Dhfs.txt61 o You can't create, delete or rename resource forks of files or the
Dporting79 ->rmdir() and ->rename()). If you used to need that exclusion and do
87 ->rmdir(), ->link(), ->lseek(), ->symlink(), ->rename()
217 * filesystem has no cross-directory rename()
220 * we are called from ->rename().
Doverlayfs.txt160 rename or unlink will of course be noticed and handled).
203 rename will leave the filesystem in an inconsistent state. This will
DLocking48 int (*rename) (struct inode *, struct dentry *,
83 rename: yes (all) (see below)
102 Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_mutex on
104 cross-directory ->rename() and rename2() has (per-superblock)
Dhpfs.txt160 You can't rename over directories (what is it good for?).
259 Fixed a nondestructive race in rename
270 2.00 Fixed a bug in rename (it was there since 1.96)
Dvfs.txt348 int (*rename) (struct inode *, struct dentry *,
417 rename: called by the rename(2) system call to rename the object to
420 rename2: this has an additional flags argument compared to rename.
426 of the rename exists the rename should fail with -EEXIST
429 implementation is equivalent to plain rename.
431 exist; this is checked by the VFS. Unlike plain rename,
Dext4.txt315 rename("foo.new", "foo"), or worse yet,
318 the replace-via-rename and replace-via-truncate
323 to disk before the rename() operation is
Dntfs.txt79 rename will discard any existing short file name.
163 remove them on rename/delete of the corresponding long
Dgfs2-glocks.txt104 2. Rename glock (for rename only)
Dvfat.txt167 such as rename, create and unlink could cause filehandles that
Dcoda.txt117 4.18 rename
/linux-4.4.14/security/apparmor/
Dpolicy.c602 kzfree(profile->rename); in aa_free_profile()
1102 if (ent->new->rename) { in aa_replace_profiles()
1103 error = __lookup_replace(ns, ent->new->rename, in aa_replace_profiles()
1104 noreplace, &ent->rename, in aa_replace_profiles()
1113 if (ent->old || ent->rename) in aa_replace_profiles()
1164 op = (!ent->old && !ent->rename) ? OP_PROF_LOAD : OP_PROF_REPL; in aa_replace_profiles()
1170 if (ent->rename) { in aa_replace_profiles()
1175 __replace_profile(ent->rename, ent->new, 0); in aa_replace_profiles()
1177 } else if (ent->rename) { in aa_replace_profiles()
1181 __replace_profile(ent->rename, ent->new, 0); in aa_replace_profiles()
Dpolicy_unpack.c494 (void) unpack_str(e, &profile->rename, "rename"); in unpack_profile()
721 aa_put_profile(ent->rename); in aa_load_ent_free()
/linux-4.4.14/tools/perf/trace/strace/groups/
Dfile14 rename
/linux-4.4.14/security/apparmor/include/
Dpolicy_unpack.h24 struct aa_profile *rename; member
Dpolicy.h206 const char *rename; member
/linux-4.4.14/tools/testing/selftests/exec/
Dexecveat.c266 rename("execveat.ephemeral", "execveat.moved"); in run_tests()
320 rename("script.ephemeral", "script.moved"); in run_tests()
327 rename("subdir.ephemeral", "subdir.moved"); in run_tests()
/linux-4.4.14/drivers/staging/vt6655/
DTODO4 - rename DEVICE_PRT() to DBG_PRT() -- done
/linux-4.4.14/security/tomoyo/
Drealpath.c176 if (!inode->i_op->rename && !inode->i_op->rename2) in tomoyo_get_local_path()
286 (!inode->i_op->rename && !inode->i_op->rename2)) in tomoyo_realpath_from_path()
/linux-4.4.14/arch/um/os-Linux/
Duser_syms.c77 EXPORT_SYMBOL_PROTO(rename);
/linux-4.4.14/scripts/kconfig/
Dconfdata.c827 rename(newname, dirname); in conf_write()
828 if (rename(tmpname, newname)) in conf_write()
1008 if (rename(".tmpconfig.h", name)) in conf_write_autoconf()
1013 if (rename(".tmpconfig_tristate", name)) in conf_write_autoconf()
1020 if (rename(".tmpconfig", name)) in conf_write_autoconf()
Dutil.c75 rename("..config.tmp", name); in file_write_dep()
/linux-4.4.14/Documentation/
Dapplying-patches.txt259 $ mv linux-2.6.11 linux-2.6.12 # rename source dir
267 $ mv linux-2.6.11.1 linux-2.6.12 # rename source dir
301 $ mv linux-2.6.12.2 linux-2.6.12.3 # rename the kernel source dir
333 $ mv linux-2.6.12 linux-2.6.13-rc3 # rename the source dir
340 $ mv linux-2.6.13-rc3 linux-2.6.13-rc5 # rename the source dir
347 $ mv linux-2.6.12.3 linux-2.6.13-rc5 # rename the kernel source dir
371 $ mv linux-2.6.12 linux-2.6.12-git1 # rename the kernel source dir
382 $ mv linux-2.6.12-git1 linux-2.6.13-rc2-git3 # rename source dir
434 $ mv linux-2.6.12 linux-2.6.12-mm1 # rename the source appropriately
444 $ mv linux-2.6.12-mm1 linux-2.6.13-rc3-mm3 # rename the source dir
/linux-4.4.14/tools/perf/util/
Ddata.c43 rename(file->path, oldname); in check_backup()
/linux-4.4.14/fs/nfsd/
Dxdr.h125 struct nfsd_renameargs rename; member
Dnfs4xdr.c1069 nfsd4_decode_rename(struct nfsd4_compoundargs *argp, struct nfsd4_rename *rename) in nfsd4_decode_rename() argument
1074 rename->rn_snamelen = be32_to_cpup(p++); in nfsd4_decode_rename()
1075 READ_BUF(rename->rn_snamelen); in nfsd4_decode_rename()
1076 SAVEMEM(rename->rn_sname, rename->rn_snamelen); in nfsd4_decode_rename()
1078 rename->rn_tnamelen = be32_to_cpup(p++); in nfsd4_decode_rename()
1079 READ_BUF(rename->rn_tnamelen); in nfsd4_decode_rename()
1080 SAVEMEM(rename->rn_tname, rename->rn_tnamelen); in nfsd4_decode_rename()
1081 if ((status = check_filename(rename->rn_sname, rename->rn_snamelen))) in nfsd4_decode_rename()
1083 if ((status = check_filename(rename->rn_tname, rename->rn_tnamelen))) in nfsd4_decode_rename()
3668 nfsd4_encode_rename(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_rename *rename) in nfsd4_encode_rename() argument
[all …]
Dnfs4proc.c843 struct nfsd4_rename *rename) in nfsd4_rename() argument
852 status = nfsd_rename(rqstp, &cstate->save_fh, rename->rn_sname, in nfsd4_rename()
853 rename->rn_snamelen, &cstate->current_fh, in nfsd4_rename()
854 rename->rn_tname, rename->rn_tnamelen); in nfsd4_rename()
857 set_change_info(&rename->rn_sinfo, &cstate->current_fh); in nfsd4_rename()
858 set_change_info(&rename->rn_tinfo, &cstate->save_fh); in nfsd4_rename()
Dxdr4.h530 struct nfsd4_rename rename; member
/linux-4.4.14/fs/affs/
Ddir.c38 .rename = affs_rename,
DChanges209 is that unlink(), rename() and rmdir() have to
255 - rename() will not ignore changes in filename
/linux-4.4.14/Documentation/DocBook/
Dfilesystems.xml.db104 API-vfs-rename
207 API-sysfs-rename-link-ns
215 API-debugfs-rename
Ddevice-drivers.xml.db193 API-kobject-rename
322 API-device-rename
733 API-snd-ctl-rename-id
Dalsa-driver-api.xml.db153 API-snd-ctl-rename-id
/linux-4.4.14/drivers/staging/android/
DTODO4 - rename files to be not so "generic"
/linux-4.4.14/Documentation/filesystems/pohmelfs/
Ddesign_notes.txt16 links, and rename events.
50 are synchronous: hard and symbolic link creation, and object rename. Creation,
Dnetwork_protocol.txt190 Used to rename object.
/linux-4.4.14/fs/ramfs/
Dinode.c148 .rename = simple_rename,
/linux-4.4.14/fs/minix/
Dnamei.c267 .rename = minix_rename,
/linux-4.4.14/scripts/
Dsign-file.c320 ERR(rename(dest_name, module_name) < 0, "%s", dest_name); in main()
Drecordmcount.c297 if (rename(tmp_file, fname) < 0) { in write_file()
Dunifdef.c626 if (overwriting && rename(tempname, ofilename) == -1) { in done()
/linux-4.4.14/fs/kernfs/
Ddir.c928 if (!scops || !scops->rename) in kernfs_iop_rename()
939 ret = scops->rename(kn, new_parent, new_dentry->d_name.name); in kernfs_iop_rename()
958 .rename = kernfs_iop_rename,
/linux-4.4.14/fs/sysv/
Dnamei.c288 .rename = sysv_rename,
/linux-4.4.14/fs/exofs/
Dnamei.c312 .rename = exofs_rename,
/linux-4.4.14/fs/hfs/
Ddir.c317 .rename = hfs_rename,
/linux-4.4.14/fs/ufs/
Dnamei.c335 .rename = ufs_rename,
/linux-4.4.14/fs/hostfs/
Dhostfs_user.c353 err = rename(from, to); in rename_file()
/linux-4.4.14/Documentation/filesystems/cifs/
DCHANGES93 in a way that more servers accept, but only if we can first rename the
233 (fixes FC problem). Return error in rename 2nd attempt retry (ie report
234 if rename by handle also fails, after rename by path fails, we were
276 vs. rename race which could cause each to hang. Return . and .. even
516 Do not rename hardlinked files (since that should be a noop). Flush
552 rename deadlock when writing out dirty pages at same time.
695 Fix oops in reopen_files when invalid dentry. drop dentry on server rename
711 Fix non-POSIX behavior on rename of open file and delete of open file by taking
712 advantage of trans2 SetFileInfo rename facility if available on target server.
/linux-4.4.14/include/linux/
Dkernfs.h153 int (*rename)(struct kernfs_node *kn, struct kernfs_node *new_parent, member
Dfs.h1660 int (*rename) (struct inode *, struct dentry *, member
/linux-4.4.14/fs/coda/
Dupcall.c241 offset = INSIZE(rename); in venus_rename()
243 OUTSIZE(rename)); in venus_rename()
Ddir.c566 .rename = coda_rename,
/linux-4.4.14/fs/ext2/
Dnamei.c428 .rename = ext2_rename,
/linux-4.4.14/fs/ocfs2/
Dnamei.c104 int rename);
1118 int rename) in ocfs2_double_lock() argument
1159 rename == 1 ? OI_LS_RENAME1 : OI_LS_PARENT); in ocfs2_double_lock()
1169 rename == 1 ? OI_LS_RENAME2 : OI_LS_PARENT); in ocfs2_double_lock()
2912 .rename = ocfs2_rename,
/linux-4.4.14/fs/cifs/
Dsmb2ops.c1510 .rename = smb2_rename_path,
1588 .rename = smb2_rename_path,
1669 .rename = smb2_rename_path,
1756 .rename = smb2_rename_path,
Dcifsglob.h305 int (*rename)(const unsigned int, struct cifs_tcon *, const char *, member
Dsmb1ops.c1065 .rename = CIFSSMBRename,
Dinode.c1623 if (!server->ops->rename)
1627 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
/linux-4.4.14/fs/bfs/
Ddir.c273 .rename = bfs_rename,
/linux-4.4.14/arch/parisc/kernel/
Dsyscall_table.S106 ENTRY_SAME(rename)
/linux-4.4.14/fs/omfs/
Ddir.c447 .rename = omfs_rename,
/linux-4.4.14/arch/powerpc/include/asm/
Dsystbl.h44 SYSCALL_SPU(rename)
/linux-4.4.14/Documentation/filesystems/configfs/
Dconfigfs.txt448 committed via rename(2). The item is moved from a directory where it
455 support mkdir(2) or rmdir(2) either. It only allows rename(2). The
464 shutdown, or "uncommitted". Again, this is done via rename(2), this
/linux-4.4.14/fs/9p/
Dvfs_inode.c1430 .rename = v9fs_vfs_rename,
1443 .rename = v9fs_vfs_rename,
Dvfs_inode_dotl.c965 .rename = v9fs_vfs_rename,
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dobd_class.h1519 EXP_CHECK_MD_OP(exp, rename); in md_rename()
1520 EXP_MD_COUNTER_INCREMENT(exp, rename); in md_rename()
1521 rc = MDP(exp->exp_obd, rename)(exp, op_data, old, oldlen, new, in md_rename()
/linux-4.4.14/fs/nilfs2/
Dnamei.c558 .rename = nilfs_rename,
/linux-4.4.14/arch/s390/kernel/
Dcompat_wrapper.c70 COMPAT_SYSCALL_WRAP2(rename, const char __user *, oldname, const char __user *, newname);
/linux-4.4.14/drivers/iommu/
Diommu.c400 rename: in iommu_group_add_device()
418 goto rename; in iommu_group_add_device()
/linux-4.4.14/arch/x86/entry/syscalls/
Dsyscall_64.tbl91 82 common rename sys_rename
Dsyscall_32.tbl47 38 i386 rename sys_rename
/linux-4.4.14/Documentation/kbuild/
Dkconfig.txt14 important, new kernel releases may rename config symbols. When
/linux-4.4.14/fs/hfsplus/
Ddir.c558 .rename = hfsplus_rename,
/linux-4.4.14/fs/ceph/
Ddir.c1332 .rename = ceph_rename,
1343 .rename = ceph_rename,
/linux-4.4.14/fs/nfs/
Dproc.c688 .rename = nfs_rename,
Dnfs3xdr.c2521 PROC(RENAME, rename, rename, 0),
Dnfs3proc.c896 .rename = nfs_rename,
Dnfs4proc.c8761 .rename = nfs_rename,
/linux-4.4.14/fs/fat/
Dnamei_msdos.c636 .rename = msdos_rename,
Dnamei_vfat.c1039 .rename = vfat_rename,
/linux-4.4.14/fs/logfs/
Ddir.c791 .rename = logfs_rename,
/linux-4.4.14/fs/hpfs/
Dnamei.c622 .rename = hpfs_rename,
/linux-4.4.14/fs/cachefiles/
Dnamei.c788 (!d_backing_inode(subdir)->i_op->rename && in cachefiles_get_directory()
/linux-4.4.14/fs/
Dnamei.c4210 if (!old_dir->i_op->rename && !old_dir->i_op->rename2) in vfs_rename()
4270 error = old_dir->i_op->rename(old_dir, old_dentry, in vfs_rename()
4273 WARN_ON(old_dir->i_op->rename != NULL); in vfs_rename()
4461 SYSCALL_DEFINE2(rename, const char __user *, oldname, const char __user *, newname) in SYSCALL_DEFINE2() argument
/linux-4.4.14/fs/jffs2/
Ddir.c60 .rename = jffs2_rename,
/linux-4.4.14/Documentation/filesystems/caching/
Dobject.txt137 getxattr, truncate, unlink, rmdir, rename).
Dcachefiles.txt166 Do not create, rename or unlink files and directories in the cache whilst the
/linux-4.4.14/fs/afs/
Ddir.c59 .rename = afs_rename,
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dnamei.c1124 .rename = ll_rename,
/linux-4.4.14/Documentation/networking/
Dcxgb.txt262 does not use the blacklist file. Simply remove, or rename, the net.agent
Dbonding.txt1390 to rename modules at load time (the "-o bond1" part). Attempts to pass
/linux-4.4.14/fs/ubifs/
Ddir.c1182 .rename = ubifs_rename,
/linux-4.4.14/fs/ecryptfs/
Dinode.c1118 .rename = ecryptfs_rename,
/linux-4.4.14/fs/jfs/
Dnamei.c1538 .rename = jfs_rename,
/linux-4.4.14/fs/ncpfs/
Ddir.c68 .rename = ncp_rename,
/linux-4.4.14/fs/hugetlbfs/
Dinode.c984 .rename = simple_rename,
/linux-4.4.14/fs/reiserfs/
Dnamei.c1650 .rename = reiserfs_rename,
/linux-4.4.14/fs/udf/
Dnamei.c1344 .rename = udf_rename,
/linux-4.4.14/tools/perf/Documentation/
Dperf-script-python.txt188 simply a utility function used for that purpose. Let's rename the
/linux-4.4.14/Documentation/cgroups/
Dunified-hierarchy.txt361 - rename(2) is disallowed.
/linux-4.4.14/Documentation/scsi/
Dsym53c8xx_2.txt76 1996: port of the ncr driver to Linux-1.2.13 and rename it ncr53c8xx.
DChangeLog.lpfc1735 prototypes, lpfc_driver_cache_line, and pci_bar1_map rename to
/linux-4.4.14/tools/perf/
Dbuiltin-trace.c2983 rename(filename, oldname); in trace__open_output()
/linux-4.4.14/kernel/
Dcgroup.c5217 .rename = cgroup_rename,