/linux-4.1.27/Documentation/filesystems/ |
D | directory-locking | 18 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 …]
|
D | path-lookup.txt | 100 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.
|
D | hfs.txt | 61 o You can't create, delete or rename resource forks of files or the
|
D | porting | 79 ->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().
|
D | overlayfs.txt | 159 rename or unlink will of course be noticed and handled). 202 rename will leave the filesystem in an inconsistent state. This will
|
D | Locking | 48 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)
|
D | hpfs.txt | 160 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)
|
D | vfs.txt | 348 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,
|
D | ext4.txt | 315 rename("foo.new", "foo"), or worse yet, 318 the replace-via-rename and replace-via-truncate 323 to disk before the rename() operation is
|
D | ntfs.txt | 79 rename will discard any existing short file name. 163 remove them on rename/delete of the corresponding long
|
D | gfs2-glocks.txt | 104 2. Rename glock (for rename only)
|
D | vfat.txt | 167 such as rename, create and unlink could cause filehandles that
|
D | coda.txt | 117 4.18 rename
|
/linux-4.1.27/security/apparmor/ |
D | policy.c | 602 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()
|
D | policy_unpack.c | 494 (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/ |
D | policy_unpack.h | 24 struct aa_profile *rename; member
|
D | policy.h | 206 const char *rename; member
|
/linux-4.1.27/tools/testing/selftests/exec/ |
D | execveat.c | 266 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/ |
D | TODO | 4 - rename DEVICE_PRT() to DBG_PRT() -- done
|
/linux-4.1.27/security/tomoyo/ |
D | realpath.c | 176 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/ |
D | TODO | 4 - rename files to be not so "generic"
|
/linux-4.1.27/arch/um/os-Linux/ |
D | user_syms.c | 77 EXPORT_SYMBOL_PROTO(rename);
|
/linux-4.1.27/scripts/kconfig/ |
D | confdata.c | 829 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()
|
D | util.c | 75 rename("..config.tmp", name); in file_write_dep()
|
/linux-4.1.27/Documentation/ |
D | applying-patches.txt | 259 $ 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/ |
D | data.c | 43 rename(file->path, oldname); in check_backup()
|
/linux-4.1.27/fs/affs/ |
D | dir.c | 38 .rename = affs_rename,
|
D | Changes | 209 is that unlink(), rename() and rmdir() have to 255 - rename() will not ignore changes in filename
|
/linux-4.1.27/fs/nfsd/ |
D | xdr.h | 125 struct nfsd_renameargs rename; member
|
D | nfs4xdr.c | 1068 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 …]
|
D | nfs4proc.c | 847 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()
|
D | xdr4.h | 529 struct nfsd4_rename rename; member
|
/linux-4.1.27/Documentation/filesystems/pohmelfs/ |
D | design_notes.txt | 16 links, and rename events. 50 are synchronous: hard and symbolic link creation, and object rename. Creation,
|
D | network_protocol.txt | 190 Used to rename object.
|
/linux-4.1.27/fs/ramfs/ |
D | inode.c | 148 .rename = simple_rename,
|
/linux-4.1.27/fs/minix/ |
D | namei.c | 267 .rename = minix_rename,
|
/linux-4.1.27/fs/kernfs/ |
D | dir.c | 905 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/ |
D | namei.c | 288 .rename = sysv_rename,
|
/linux-4.1.27/fs/hfs/ |
D | dir.c | 317 .rename = hfs_rename,
|
/linux-4.1.27/fs/exofs/ |
D | namei.c | 314 .rename = exofs_rename,
|
/linux-4.1.27/fs/hostfs/ |
D | hostfs_user.c | 353 err = rename(from, to); in rename_file()
|
/linux-4.1.27/fs/ufs/ |
D | namei.c | 355 .rename = ufs_rename,
|
/linux-4.1.27/Documentation/filesystems/cifs/ |
D | CHANGES | 93 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/ |
D | kernfs.h | 153 int (*rename)(struct kernfs_node *kn, struct kernfs_node *new_parent, member
|
D | fs.h | 1640 int (*rename) (struct inode *, struct dentry *, member
|
/linux-4.1.27/fs/coda/ |
D | upcall.c | 241 offset = INSIZE(rename); in venus_rename() 243 OUTSIZE(rename)); in venus_rename()
|
D | dir.c | 566 .rename = coda_rename,
|
/linux-4.1.27/fs/ext2/ |
D | namei.c | 408 .rename = ext2_rename,
|
/linux-4.1.27/fs/ocfs2/ |
D | namei.c | 104 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/ |
D | iommu.c | 336 rename: in iommu_group_add_device() 354 goto rename; in iommu_group_add_device()
|
/linux-4.1.27/fs/bfs/ |
D | dir.c | 273 .rename = bfs_rename,
|
/linux-4.1.27/arch/parisc/kernel/ |
D | syscall_table.S | 106 ENTRY_SAME(rename)
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | systbl.h | 44 SYSCALL_SPU(rename)
|
/linux-4.1.27/fs/omfs/ |
D | dir.c | 447 .rename = omfs_rename,
|
/linux-4.1.27/fs/cifs/ |
D | smb2ops.c | 1444 .rename = smb2_rename_path, 1522 .rename = smb2_rename_path, 1603 .rename = smb2_rename_path,
|
D | cifsglob.h | 301 int (*rename)(const unsigned int, struct cifs_tcon *, const char *, member
|
D | smb1ops.c | 1065 .rename = CIFSSMBRename,
|
D | inode.c | 1623 if (!server->ops->rename) 1627 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
|
/linux-4.1.27/Documentation/filesystems/configfs/ |
D | configfs.txt | 464 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/ |
D | namei.c | 562 .rename = nilfs_rename,
|
/linux-4.1.27/fs/9p/ |
D | vfs_inode.c | 1506 .rename = v9fs_vfs_rename, 1519 .rename = v9fs_vfs_rename,
|
D | vfs_inode_dotl.c | 985 .rename = v9fs_vfs_rename,
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | obd_class.h | 1618 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/ |
D | kconfig.txt | 14 important, new kernel releases may rename config symbols. When
|
/linux-4.1.27/arch/s390/kernel/ |
D | compat_wrapper.c | 75 COMPAT_SYSCALL_WRAP2(rename, const char __user *, oldname, const char __user *, newname);
|
/linux-4.1.27/arch/x86/syscalls/ |
D | syscall_64.tbl | 91 82 common rename sys_rename
|
D | syscall_32.tbl | 47 38 i386 rename sys_rename
|
/linux-4.1.27/fs/hfsplus/ |
D | dir.c | 558 .rename = hfsplus_rename,
|
/linux-4.1.27/fs/ceph/ |
D | dir.c | 1383 .rename = ceph_rename, 1394 .rename = ceph_rename,
|
/linux-4.1.27/fs/nfs/ |
D | proc.c | 688 .rename = nfs_rename,
|
D | nfs3xdr.c | 2520 PROC(RENAME, rename, rename, 0),
|
D | nfs3proc.c | 896 .rename = nfs_rename,
|
D | nfs4proc.c | 8602 .rename = nfs_rename,
|
/linux-4.1.27/fs/fat/ |
D | namei_msdos.c | 636 .rename = msdos_rename,
|
D | namei_vfat.c | 1039 .rename = vfat_rename,
|
/linux-4.1.27/fs/logfs/ |
D | dir.c | 790 .rename = logfs_rename,
|
/linux-4.1.27/fs/cachefiles/ |
D | namei.c | 778 (!d_backing_inode(subdir)->i_op->rename && in cachefiles_get_directory()
|
/linux-4.1.27/fs/hpfs/ |
D | namei.c | 624 .rename = hpfs_rename,
|
/linux-4.1.27/fs/ |
D | namei.c | 4168 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/ |
D | object.txt | 137 getxattr, truncate, unlink, rmdir, rename).
|
D | cachefiles.txt | 166 Do not create, rename or unlink files and directories in the cache whilst the
|
/linux-4.1.27/fs/jffs2/ |
D | dir.c | 60 .rename = jffs2_rename,
|
/linux-4.1.27/scripts/ |
D | unifdef.c | 626 if (overwriting && rename(tempname, ofilename) == -1) { in done()
|
/linux-4.1.27/fs/afs/ |
D | dir.c | 59 .rename = afs_rename,
|
/linux-4.1.27/fs/hugetlbfs/ |
D | inode.c | 717 .rename = simple_rename,
|
/linux-4.1.27/Documentation/networking/ |
D | cxgb.txt | 262 does not use the blacklist file. Simply remove, or rename, the net.agent
|
D | bonding.txt | 1353 to rename modules at load time (the "-o bond1" part). Attempts to pass
|
/linux-4.1.27/fs/ubifs/ |
D | dir.c | 1183 .rename = ubifs_rename,
|
/linux-4.1.27/fs/ecryptfs/ |
D | inode.c | 1121 .rename = ecryptfs_rename,
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | namei.c | 1158 .rename = ll_rename,
|
/linux-4.1.27/fs/ncpfs/ |
D | dir.c | 68 .rename = ncp_rename,
|
/linux-4.1.27/fs/jfs/ |
D | namei.c | 1517 .rename = jfs_rename,
|
/linux-4.1.27/fs/reiserfs/ |
D | namei.c | 1620 .rename = reiserfs_rename,
|
/linux-4.1.27/fs/udf/ |
D | namei.c | 1293 .rename = udf_rename,
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-script-python.txt | 188 simply a utility function used for that purpose. Let's rename the
|
/linux-4.1.27/Documentation/cgroups/ |
D | unified-hierarchy.txt | 298 - rename(2) is disallowed.
|
/linux-4.1.27/fs/gfs2/ |
D | inode.c | 1946 .rename = gfs2_rename,
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | lprocfs_status.c | 1450 LPROCFS_MD_OP_INIT(num_private_stats, stats, rename); in lprocfs_init_mps_stats()
|
/linux-4.1.27/fs/ext3/ |
D | namei.c | 2563 .rename = ext3_rename,
|
/linux-4.1.27/Documentation/scsi/ |
D | sym53c8xx_2.txt | 76 1996: port of the ncr driver to Linux-1.2.13 and rename it ncr53c8xx.
|
D | ChangeLog.lpfc | 1735 prototypes, lpfc_driver_cache_line, and pci_bar1_map rename to
|
/linux-4.1.27/tools/perf/ |
D | builtin-trace.c | 2596 rename(filename, oldname); in trace__open_output()
|
/linux-4.1.27/kernel/ |
D | cgroup.c | 4904 .rename = cgroup_rename,
|