Home
last modified time | relevance | path

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

/linux-4.1.27/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.txt159 rename or unlink will of course be noticed and handled).
202 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.1.27/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.1.27/security/apparmor/include/
Dpolicy_unpack.h24 struct aa_profile *rename; member
Dpolicy.h206 const char *rename; member
/linux-4.1.27/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.1.27/drivers/staging/vt6655/
DTODO4 - rename DEVICE_PRT() to DBG_PRT() -- done
/linux-4.1.27/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.1.27/drivers/staging/android/
DTODO4 - rename files to be not so "generic"
/linux-4.1.27/arch/um/os-Linux/
Duser_syms.c77 EXPORT_SYMBOL_PROTO(rename);
/linux-4.1.27/scripts/kconfig/
Dconfdata.c829 rename(newname, dirname); in conf_write()
830 if (rename(tmpname, newname)) in conf_write()
1009 if (rename(".tmpconfig.h", name)) in conf_write_autoconf()
1014 if (rename(".tmpconfig_tristate", name)) in conf_write_autoconf()
1021 if (rename(".tmpconfig", name)) in conf_write_autoconf()
Dutil.c75 rename("..config.tmp", name); in file_write_dep()
/linux-4.1.27/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.1.27/tools/perf/util/
Ddata.c43 rename(file->path, oldname); in check_backup()
/linux-4.1.27/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.1.27/fs/nfsd/
Dxdr.h125 struct nfsd_renameargs rename; member
Dnfs4xdr.c1068 nfsd4_decode_rename(struct nfsd4_compoundargs *argp, struct nfsd4_rename *rename) in nfsd4_decode_rename() argument
1073 rename->rn_snamelen = be32_to_cpup(p++); in nfsd4_decode_rename()
1074 READ_BUF(rename->rn_snamelen); in nfsd4_decode_rename()
1075 SAVEMEM(rename->rn_sname, rename->rn_snamelen); in nfsd4_decode_rename()
1077 rename->rn_tnamelen = be32_to_cpup(p++); in nfsd4_decode_rename()
1078 READ_BUF(rename->rn_tnamelen); in nfsd4_decode_rename()
1079 SAVEMEM(rename->rn_tname, rename->rn_tnamelen); in nfsd4_decode_rename()
1080 if ((status = check_filename(rename->rn_sname, rename->rn_snamelen))) in nfsd4_decode_rename()
1082 if ((status = check_filename(rename->rn_tname, rename->rn_tnamelen))) in nfsd4_decode_rename()
3648 nfsd4_encode_rename(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_rename *rename) in nfsd4_encode_rename() argument
[all …]
Dnfs4proc.c847 struct nfsd4_rename *rename) in nfsd4_rename() argument
856 status = nfsd_rename(rqstp, &cstate->save_fh, rename->rn_sname, in nfsd4_rename()
857 rename->rn_snamelen, &cstate->current_fh, in nfsd4_rename()
858 rename->rn_tname, rename->rn_tnamelen); in nfsd4_rename()
861 set_change_info(&rename->rn_sinfo, &cstate->current_fh); in nfsd4_rename()
862 set_change_info(&rename->rn_tinfo, &cstate->save_fh); in nfsd4_rename()
Dxdr4.h529 struct nfsd4_rename rename; member
/linux-4.1.27/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.1.27/fs/ramfs/
Dinode.c148 .rename = simple_rename,
/linux-4.1.27/fs/minix/
Dnamei.c267 .rename = minix_rename,
/linux-4.1.27/fs/kernfs/
Ddir.c905 if (!scops || !scops->rename) in kernfs_iop_rename()
916 ret = scops->rename(kn, new_parent, new_dentry->d_name.name); in kernfs_iop_rename()
935 .rename = kernfs_iop_rename,
/linux-4.1.27/fs/sysv/
Dnamei.c288 .rename = sysv_rename,
/linux-4.1.27/fs/hfs/
Ddir.c317 .rename = hfs_rename,
/linux-4.1.27/fs/exofs/
Dnamei.c314 .rename = exofs_rename,
/linux-4.1.27/fs/hostfs/
Dhostfs_user.c353 err = rename(from, to); in rename_file()
/linux-4.1.27/fs/ufs/
Dnamei.c355 .rename = ufs_rename,
/linux-4.1.27/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.1.27/include/linux/
Dkernfs.h153 int (*rename)(struct kernfs_node *kn, struct kernfs_node *new_parent, member
Dfs.h1640 int (*rename) (struct inode *, struct dentry *, member
/linux-4.1.27/fs/coda/
Dupcall.c241 offset = INSIZE(rename); in venus_rename()
243 OUTSIZE(rename)); in venus_rename()
Ddir.c566 .rename = coda_rename,
/linux-4.1.27/fs/ext2/
Dnamei.c408 .rename = ext2_rename,
/linux-4.1.27/fs/ocfs2/
Dnamei.c104 int rename);
1094 int rename) in ocfs2_double_lock() argument
1142 rename == 1 ? OI_LS_RENAME1 : OI_LS_PARENT); in ocfs2_double_lock()
1152 rename == 1 ? OI_LS_RENAME2 : OI_LS_PARENT); in ocfs2_double_lock()
2891 .rename = ocfs2_rename,
/linux-4.1.27/drivers/iommu/
Diommu.c336 rename: in iommu_group_add_device()
354 goto rename; in iommu_group_add_device()
/linux-4.1.27/fs/bfs/
Ddir.c273 .rename = bfs_rename,
/linux-4.1.27/arch/parisc/kernel/
Dsyscall_table.S106 ENTRY_SAME(rename)
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h44 SYSCALL_SPU(rename)
/linux-4.1.27/fs/omfs/
Ddir.c447 .rename = omfs_rename,
/linux-4.1.27/fs/cifs/
Dsmb2ops.c1444 .rename = smb2_rename_path,
1522 .rename = smb2_rename_path,
1603 .rename = smb2_rename_path,
Dcifsglob.h301 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.1.27/Documentation/filesystems/configfs/
Dconfigfs.txt464 committed via rename(2). The item is moved from a directory where it
471 support mkdir(2) or rmdir(2) either. It only allows rename(2). The
480 shutdown, or "uncommitted". Again, this is done via rename(2), this
/linux-4.1.27/fs/nilfs2/
Dnamei.c562 .rename = nilfs_rename,
/linux-4.1.27/fs/9p/
Dvfs_inode.c1506 .rename = v9fs_vfs_rename,
1519 .rename = v9fs_vfs_rename,
Dvfs_inode_dotl.c985 .rename = v9fs_vfs_rename,
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd_class.h1618 EXP_CHECK_MD_OP(exp, rename); in md_rename()
1619 EXP_MD_COUNTER_INCREMENT(exp, rename); in md_rename()
1620 rc = MDP(exp->exp_obd, rename)(exp, op_data, old, oldlen, new, in md_rename()
/linux-4.1.27/Documentation/kbuild/
Dkconfig.txt14 important, new kernel releases may rename config symbols. When
/linux-4.1.27/arch/s390/kernel/
Dcompat_wrapper.c75 COMPAT_SYSCALL_WRAP2(rename, const char __user *, oldname, const char __user *, newname);
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_64.tbl91 82 common rename sys_rename
Dsyscall_32.tbl47 38 i386 rename sys_rename
/linux-4.1.27/fs/hfsplus/
Ddir.c558 .rename = hfsplus_rename,
/linux-4.1.27/fs/ceph/
Ddir.c1383 .rename = ceph_rename,
1394 .rename = ceph_rename,
/linux-4.1.27/fs/nfs/
Dproc.c688 .rename = nfs_rename,
Dnfs3xdr.c2520 PROC(RENAME, rename, rename, 0),
Dnfs3proc.c896 .rename = nfs_rename,
Dnfs4proc.c8602 .rename = nfs_rename,
/linux-4.1.27/fs/fat/
Dnamei_msdos.c636 .rename = msdos_rename,
Dnamei_vfat.c1039 .rename = vfat_rename,
/linux-4.1.27/fs/logfs/
Ddir.c790 .rename = logfs_rename,
/linux-4.1.27/fs/cachefiles/
Dnamei.c778 (!d_backing_inode(subdir)->i_op->rename && in cachefiles_get_directory()
/linux-4.1.27/fs/hpfs/
Dnamei.c624 .rename = hpfs_rename,
/linux-4.1.27/fs/
Dnamei.c4168 if (!old_dir->i_op->rename && !old_dir->i_op->rename2) in vfs_rename()
4228 error = old_dir->i_op->rename(old_dir, old_dentry, in vfs_rename()
4231 WARN_ON(old_dir->i_op->rename != NULL); in vfs_rename()
4420 SYSCALL_DEFINE2(rename, const char __user *, oldname, const char __user *, newname) in SYSCALL_DEFINE2() argument
/linux-4.1.27/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.1.27/fs/jffs2/
Ddir.c60 .rename = jffs2_rename,
/linux-4.1.27/scripts/
Dunifdef.c626 if (overwriting && rename(tempname, ofilename) == -1) { in done()
/linux-4.1.27/fs/afs/
Ddir.c59 .rename = afs_rename,
/linux-4.1.27/fs/hugetlbfs/
Dinode.c717 .rename = simple_rename,
/linux-4.1.27/Documentation/networking/
Dcxgb.txt262 does not use the blacklist file. Simply remove, or rename, the net.agent
Dbonding.txt1353 to rename modules at load time (the "-o bond1" part). Attempts to pass
/linux-4.1.27/fs/ubifs/
Ddir.c1183 .rename = ubifs_rename,
/linux-4.1.27/fs/ecryptfs/
Dinode.c1121 .rename = ecryptfs_rename,
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dnamei.c1158 .rename = ll_rename,
/linux-4.1.27/fs/ncpfs/
Ddir.c68 .rename = ncp_rename,
/linux-4.1.27/fs/jfs/
Dnamei.c1517 .rename = jfs_rename,
/linux-4.1.27/fs/reiserfs/
Dnamei.c1620 .rename = reiserfs_rename,
/linux-4.1.27/fs/udf/
Dnamei.c1293 .rename = udf_rename,
/linux-4.1.27/tools/perf/Documentation/
Dperf-script-python.txt188 simply a utility function used for that purpose. Let's rename the
/linux-4.1.27/Documentation/cgroups/
Dunified-hierarchy.txt298 - rename(2) is disallowed.
/linux-4.1.27/fs/gfs2/
Dinode.c1946 .rename = gfs2_rename,
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c1450 LPROCFS_MD_OP_INIT(num_private_stats, stats, rename); in lprocfs_init_mps_stats()
/linux-4.1.27/fs/ext3/
Dnamei.c2563 .rename = ext3_rename,
/linux-4.1.27/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.1.27/tools/perf/
Dbuiltin-trace.c2596 rename(filename, oldname); in trace__open_output()
/linux-4.1.27/kernel/
Dcgroup.c4904 .rename = cgroup_rename,