/linux-4.1.27/include/linux/ |
H A D | tracefs.h | 39 int (*rmdir)(const char *name));
|
H A D | kernfs.h | 152 int (*rmdir)(struct kernfs_node *kn); member in struct:kernfs_syscall_ops
|
H A D | nfs_xdr.h | 1478 int (*rmdir) (struct inode *, struct qstr *); member in struct:nfs_rpc_ops
|
H A D | fs.h | 1638 int (*rmdir) (struct inode *,struct dentry *); member in struct:inode_operations
|
/linux-4.1.27/fs/tracefs/ |
H A D | inode.c | 55 int (*rmdir)(const char *name); member in struct:tracefs_dir_ops 106 * The rmdir call can call the generic functions that create tracefs_syscall_rmdir() 108 * rmdir routine to handle races. tracefs_syscall_rmdir() 115 ret = tracefs_ops.rmdir(name); tracefs_syscall_rmdir() 128 .rmdir = tracefs_syscall_rmdir, 467 * @rmdir: The function to call when a rmdir is performed. 471 * The instances directory is special as it allows for mkdir and rmdir to 472 * to be done by userspace. When a mkdir or rmdir is performed, the inode 473 * locks are released and the methhods passed in (@mkdir and @rmdir) are 481 int (*rmdir)(const char *name)) tracefs_create_instance_dir() 486 if (WARN_ON(tracefs_ops.mkdir || tracefs_ops.rmdir)) tracefs_create_instance_dir() 494 tracefs_ops.rmdir = rmdir; tracefs_create_instance_dir()
|
/linux-4.1.27/tools/testing/selftests/firmware/ |
H A D | fw_filesystem.sh | 23 rmdir "$FWPATH"
|
H A D | fw_userhelper.sh | 21 rmdir "$FWPATH"
|
/linux-4.1.27/arch/um/os-Linux/ |
H A D | user_syms.c | 86 EXPORT_SYMBOL_PROTO(rmdir); variable
|
H A D | umid.c | 110 if (rmdir(dir) < 0 && errno != ENOENT) { remove_files_and_dir()
|
/linux-4.1.27/tools/perf/tests/ |
H A D | pmu.c | 121 snprintf(buf, PATH_MAX, "rmdir %s\n", dir); test_format_dir_put()
|
/linux-4.1.27/tools/usb/usbip/src/ |
H A D | usbip_detach.c | 65 rmdir(VHCI_STATE_PATH); detach_port()
|
/linux-4.1.27/fs/hfs/ |
H A D | dir.c | 246 * This serves as both unlink() and rmdir() in the inode_operations 251 * HFS does not have hardlinks, so both rmdir and unlink set the 316 .rmdir = hfs_remove,
|
/linux-4.1.27/tools/perf/ |
H A D | builtin-buildid-cache.c | 164 if (!rmdir(to_dir)) { build_id_cache__add_kcore() 169 if (!rmdir(to_dir)) { build_id_cache__add_kcore() 174 rmdir(to_dir); build_id_cache__add_kcore()
|
H A D | perf-with-kcore.sh | 82 $SUDO rmdir "$KCORE_DIR" 199 if rmdir "$PERF_DATA_DIR" > /dev/null 2>/dev/null ; then
|
/linux-4.1.27/fs/qnx4/ |
H A D | namei.c | 12 * 04-07-1998 by Frank Denis : first step for rmdir/unlink.
|
/linux-4.1.27/fs/ceph/ |
H A D | strings.c | 70 case CEPH_MDS_OP_RMDIR: return "rmdir"; ceph_mds_op_name()
|
H A D | dir.c | 903 * rmdir and unlink are differ only by the metadata op code 915 /* rmdir .snap/foo is RMSNAP */ ceph_unlink() 919 dout("unlink/rmdir dir %p dn %p inode %p\n", ceph_unlink() 1382 .rmdir = ceph_unlink, 1393 .rmdir = ceph_unlink,
|
/linux-4.1.27/security/selinux/include/ |
H A D | classmap.h | 54 "reparent", "search", "rmdir", NULL } },
|
/linux-4.1.27/fs/affs/ |
H A D | dir.c | 37 .rmdir = affs_rmdir,
|
/linux-4.1.27/fs/configfs/ |
H A D | dir.c | 49 * rmdir()/unregister() and from configfs_attach_group() 488 * attributes and are removed by rmdir(). We recurse, setting 819 * we must lock them as rmdir() would. configfs_attach_item() 859 * error, as rmdir() would. configfs_attach_group() 996 * locking out mkdir() and rmdir(), who might be racing us. 1013 * rmdir(). 1105 * We are sure that the item is not about to be removed by rmdir(), and configfs_depend_item() 1275 * Make racing rmdir() fail if it did not tag parent with configfs_mkdir() 1278 * fail and let rmdir() terminate correctly configfs_mkdir() 1429 .rmdir = configfs_rmdir,
|
/linux-4.1.27/fs/sysv/ |
H A D | namei.c | 286 .rmdir = sysv_rmdir,
|
H A D | dir.c | 286 * routine to check that the specified directory is empty (for rmdir)
|
/linux-4.1.27/fs/minix/ |
H A D | namei.c | 265 .rmdir = minix_rmdir,
|
H A D | dir.c | 363 * routine to check that the specified directory is empty (for rmdir)
|
/linux-4.1.27/fs/nfs/ |
H A D | nfs3proc.c | 599 dprintk("NFS call rmdir %s\n", name->name); nfs3_proc_rmdir() 609 dprintk("NFS reply rmdir: %d\n", status); nfs3_proc_rmdir() 894 .rmdir = nfs_rmdir, 949 .rmdir = nfs3_proc_rmdir,
|
H A D | proc.c | 472 dprintk("NFS call rmdir %s\n", name->name); nfs_proc_rmdir() 475 dprintk("NFS reply rmdir: %d\n", status); nfs_proc_rmdir() 686 .rmdir = nfs_rmdir, 725 .rmdir = nfs_proc_rmdir,
|
H A D | dir.c | 1782 dfprintk(VFS, "NFS: rmdir(%s/%lu), %pd\n", nfs_rmdir() 1788 error = NFS_PROTO(dir)->rmdir(dir, &dentry->d_name); nfs_rmdir() 1798 error = NFS_PROTO(dir)->rmdir(dir, &dentry->d_name); nfs_rmdir()
|
H A D | nfs4proc.c | 8600 .rmdir = nfs_rmdir, 8647 .rmdir = nfs4_proc_remove,
|
/linux-4.1.27/fs/ |
H A D | bad_inode.c | 134 .rmdir = bad_inode_rmdir,
|
H A D | libfs.c | 145 * for ramfs-type trees they can't go away without unlink() or rmdir(),
|
H A D | namei.c | 3633 if (!dir->i_op->rmdir) vfs_rmdir() 3648 error = dir->i_op->rmdir(dir, dentry); vfs_rmdir() 3722 SYSCALL_DEFINE1(rmdir, const char __user *, pathname) SYSCALL_DEFINE1()
|
H A D | namespace.c | 1536 * During unlink, rmdir, and d_drop it is possible to loose the path
|
/linux-4.1.27/security/apparmor/ |
H A D | audit.c | 30 "rmdir",
|
/linux-4.1.27/fs/coda/ |
H A D | dir.c | 257 /* destruction routines: unlink, rmdir */ coda_unlink() 564 .rmdir = coda_rmdir,
|
H A D | upcall.c | 309 offset = INSIZE(rmdir); venus_rmdir() 310 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(rmdir)); venus_rmdir()
|
/linux-4.1.27/scripts/package/ |
H A D | builddeb | 152 rmdir "$tmpdir/lib/modules/$version" 329 rmdir "$tmpdir/lib/firmware"
|
/linux-4.1.27/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 89 os.rmdir(output_dir_name) 323 os.rmdir(output_dir_name)
|
/linux-4.1.27/fs/overlayfs/ |
H A D | overlayfs.h | 33 pr_debug("rmdir(%pd2) = %i\n", dentry, err); ovl_do_rmdir()
|
H A D | dir.c | 947 .rmdir = ovl_rmdir,
|
/linux-4.1.27/fs/ramfs/ |
H A D | inode.c | 146 .rmdir = simple_rmdir,
|
/linux-4.1.27/fs/ufs/ |
H A D | namei.c | 353 .rmdir = ufs_rmdir,
|
H A D | dir.c | 605 * routine to check that the specified directory is empty (for rmdir)
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_iops.c | 1128 * Yes, XFS uses the same method for rmdir and unlink. 1133 .rmdir = xfs_vn_unlink, 1156 * Yes, XFS uses the same method for rmdir and unlink. 1161 .rmdir = xfs_vn_unlink,
|
/linux-4.1.27/fs/hostfs/ |
H A D | hostfs_user.c | 311 err = rmdir(file); do_rmdir()
|
H A D | hostfs_kern.c | 886 .rmdir = hostfs_rmdir,
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | systbl.h | 46 SYSCALL_SPU(rmdir)
|
/linux-4.1.27/fs/exofs/ |
H A D | namei.c | 312 .rmdir = exofs_rmdir,
|
/linux-4.1.27/fs/logfs/ |
H A D | dir.c | 28 * Unlink and rmdir also share the same function: unlink. Again, this 791 .rmdir = logfs_rmdir,
|
/linux-4.1.27/fs/omfs/ |
H A D | dir.c | 450 .rmdir = omfs_remove,
|
/linux-4.1.27/fs/afs/ |
H A D | security.c | 333 if (!(access & (AFS_ACE_DELETE | /* rmdir, unlink, rename from */ afs_permission()
|
H A D | inode.c | 307 * - parent dir data changes (rm, rmdir, rename, mkdir, create, link,
|
H A D | dir.c | 58 .rmdir = afs_rmdir,
|
/linux-4.1.27/fs/ext2/ |
H A D | namei.c | 406 .rmdir = ext2_rmdir,
|
H A D | dir.c | 668 * routine to check that the specified directory is empty (for rmdir)
|
/linux-4.1.27/mm/ |
H A D | hugetlb_cgroup.c | 395 * hugetlb_lock will make sure a parallel cgroup rmdir won't happen
|
H A D | shmem.c | 3149 .rmdir = shmem_rmdir,
|
H A D | memcontrol.c | 4538 * Notify userspace about cgroup removing only after rmdir of cgroup mem_cgroup_css_offline()
|
/linux-4.1.27/fs/9p/ |
H A D | vfs_inode.c | 593 p9_debug(P9_DEBUG_VFS, "inode: %p dentry: %p rmdir: %x\n", v9fs_remove() 1504 .rmdir = v9fs_vfs_rmdir, 1517 .rmdir = v9fs_vfs_rmdir,
|
H A D | vfs_inode_dotl.c | 983 .rmdir = v9fs_vfs_rmdir,
|
/linux-4.1.27/fs/kernfs/ |
H A D | dir.c | 885 if (!scops || !scops->rmdir) kernfs_iop_rmdir() 891 ret = scops->rmdir(kn); kernfs_iop_rmdir() 934 .rmdir = kernfs_iop_rmdir,
|
/linux-4.1.27/fs/cifs/ |
H A D | smb2ops.c | 1442 .rmdir = smb2_rmdir, 1520 .rmdir = smb2_rmdir, 1601 .rmdir = smb2_rmdir,
|
H A D | inode.c | 1568 if (!server->ops->rmdir) { cifs_rmdir() 1574 rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb); cifs_rmdir()
|
H A D | cifsfs.c | 866 .rmdir = cifs_rmdir,
|
H A D | smb1ops.c | 1062 .rmdir = CIFSSMBRmDir,
|
H A D | cifsglob.h | 292 int (*rmdir)(const unsigned int, struct cifs_tcon *, const char *, member in struct:smb_version_operations
|
/linux-4.1.27/fs/gfs2/ |
H A D | inode.c | 1080 * gfs2_unlink - Unlink an inode (this does rmdir as well) 1085 * whether this is an unlink or an rmdir. 1944 .rmdir = gfs2_unlink,
|
/linux-4.1.27/fs/hfsplus/ |
H A D | dir.c | 555 .rmdir = hfsplus_rmdir,
|
/linux-4.1.27/fs/hpfs/ |
H A D | namei.c | 622 .rmdir = hpfs_rmdir,
|
/linux-4.1.27/fs/nilfs2/ |
H A D | namei.c | 560 .rmdir = nilfs_rmdir,
|
H A D | dir.c | 616 * routine to check that the specified directory is empty (for rmdir)
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | compat_wrapper.c | 77 COMPAT_SYSCALL_WRAP1(rmdir, const char __user *, pathname);
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | syscall_table.S | 108 ENTRY_SAME(rmdir) /* 40 */
|
/linux-4.1.27/fs/btrfs/ |
H A D | send.c | 213 * rmdir /a/b/c 243 * after this directory is moved, we can try to rmdir the ino rmdir_ino. 761 * Sends a rmdir instruction to user space 2866 * Don't try to rmdir the top/root subvolume dir. can_rmdir() 3446 * This does all the move/link/unlink/rmdir magic. 3654 * Check if we can already rmdir the directory. If not, process_recorded_refs() 3656 * later, we do this check again and rmdir it then if possible. process_recorded_refs() 3729 * deletion and if it's finally possible to perform the rmdir now. process_recorded_refs() 3735 * we don't need to do the utime and rmdir logic for these dirs. process_recorded_refs()
|
H A D | tree-log.c | 3252 * be possible to rmdir the parent directory, since log_dir_items() 4341 * rmdir /mnt/x 4346 * The snapshot delete, rmdir of x, mkdir of a new x and the fsync all happen in 5145 * delete after log replay (rmdir will always fail with error btrfs_log_inode_parent()
|
H A D | ioctl.c | 2358 * subvol root, and when rmdir(2) would have been btrfs_ioctl_snap_destroy() 2366 * rmdir(2). btrfs_ioctl_snap_destroy()
|
H A D | inode.c | 3975 * helper to start transaction for unlink and rmdir. 3977 * unlink and rmdir are special in btrfs, they do not always free space, so 9868 .rmdir = btrfs_rmdir,
|
/linux-4.1.27/fs/reiserfs/ |
H A D | xattr.c | 106 error = dir->i_op->rmdir(dir, dentry); xattr_rmdir() 427 * and an unlink/rmdir has just occurred - GFP_NOFS avoids this reiserfs_get_page()
|
H A D | super.c | 347 /* not completed unlink (rmdir) found */ finish_unfinished() 421 /* unlink, rmdir, rename */ add_save_link() 491 /* unlink, rmdir, rename */ remove_save_link()
|
H A D | namei.c | 1618 .rmdir = reiserfs_rmdir,
|
/linux-4.1.27/drivers/net/ |
H A D | netconsole.c | 840 * and would first be rmdir(2)'ed from userspace. We reach cleanup_netconsole()
|
/linux-4.1.27/fs/ocfs2/dlmfs/ |
H A D | dlmfs.c | 603 .rmdir = simple_rmdir,
|
/linux-4.1.27/fs/jffs2/ |
H A D | dir.c | 58 .rmdir = jffs2_rmdir,
|
/linux-4.1.27/fs/f2fs/ |
H A D | namei.c | 791 .rmdir = f2fs_rmdir,
|
/linux-4.1.27/fs/fat/ |
H A D | namei_msdos.c | 635 .rmdir = msdos_rmdir,
|
H A D | namei_vfat.c | 1038 .rmdir = vfat_rmdir,
|
H A D | inode.c | 323 * 3. unlink() and rmdir() unhash F-d-c entry.
|
/linux-4.1.27/security/tomoyo/ |
H A D | file.c | 776 * tomoyo_path_perm - Check permission for "unlink", "rmdir", "truncate", "symlink", "append", "chroot" and "unmount".
|
H A D | common.c | 30 [TOMOYO_MAC_FILE_RMDIR] = "rmdir", 148 [TOMOYO_TYPE_RMDIR] = "rmdir",
|
H A D | common.h | 701 * "file unlink", "file getattr", "file rmdir", "file truncate",
|
/linux-4.1.27/fs/jfs/ |
H A D | namei.c | 341 * rmdir() returns and no new entries may be created in the directory, 1515 .rmdir = jfs_rmdir,
|
/linux-4.1.27/fs/ext3/ |
H A D | namei.c | 1887 * routine to check that the specified directory is empty (for rmdir) 2408 * We might rmdir the source, keep it as pwd of some process ext3_rename() 2560 .rmdir = ext3_rmdir,
|
/linux-4.1.27/fs/ocfs2/ |
H A D | namei.c | 1343 * We might rmdir the source, keep it as pwd of some process ocfs2_rename() 2887 .rmdir = ocfs2_unlink,
|
H A D | dir.c | 2145 * routine to check that the specified directory is empty (for rmdir)
|
/linux-4.1.27/fs/fuse/ |
H A D | dir.c | 130 * timeout is unknown (unlink, rmdir, rename and in some cases 1890 .rmdir = fuse_rmdir,
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | lproc_llite.c | 913 { LPROC_LL_RMDIR, LPROCFS_TYPE_REGS, "rmdir" },
|
H A D | namei.c | 1155 .rmdir = ll_rmdir,
|
/linux-4.1.27/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 3451 * rmdir /sys/kernel/config/target/$driver/$port/$tpg/acls/$i_port_id 3591 * rmdir /sys/kernel/config/target/$driver/$port/$tpg/acls/$i_port_id 3801 * rmdir /sys/kernel/config/target/$driver/$port/$tpg 3837 * rmdir /sys/kernel/config/target/$driver/$port
|
/linux-4.1.27/fs/ubifs/ |
H A D | dir.c | 1181 .rmdir = ubifs_rmdir,
|
H A D | journal.c | 520 * @deletion: indicates a directory entry deletion i.e unlink or rmdir
|
/linux-4.1.27/fs/udf/ |
H A D | namei.c | 1291 .rmdir = udf_rmdir,
|
/linux-4.1.27/fs/hugetlbfs/ |
H A D | inode.c | 715 .rmdir = simple_rmdir,
|
/linux-4.1.27/fs/ncpfs/ |
H A D | dir.c | 66 .rmdir = ncp_rmdir,
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | fsys.S | 584 data8 0 // rmdir
|
/linux-4.1.27/fs/autofs4/ |
H A D | root.c | 65 .rmdir = autofs4_dir_rmdir,
|
/linux-4.1.27/fs/cachefiles/ |
H A D | namei.c | 780 !d_backing_inode(subdir)->i_op->rmdir || cachefiles_get_directory()
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | inode.c | 1119 .rmdir = ecryptfs_rmdir,
|
/linux-4.1.27/fs/ext4/ |
H A D | namei.c | 2752 * routine to check that the specified directory is empty (for rmdir) 3582 * We might rmdir the source, keep it as pwd of some process ext4_rename() 3771 * We might rmdir the source, keep it as pwd of some process ext4_cross_rename() 3896 .rmdir = ext4_rmdir,
|
/linux-4.1.27/kernel/ |
H A D | cgroup.c | 4855 * drained; otherwise, "rmdir parent/child parent" may fail. 4903 .rmdir = cgroup_rmdir, 5331 * Most likely, this user command will try to rmdir this cgroup. 5336 * The presumed 'rmdir' will fail quietly if this cgroup is no longer
|
/linux-4.1.27/kernel/trace/ |
H A D | trace.c | 3681 "\t\t\t Remove sub-buffer with rmdir\n"
|
/linux-4.1.27/security/selinux/ |
H A D | hooks.c | 1744 /* Check whether a task can link, unlink, or rmdir a file/directory. */ may_link()
|