Searched refs:rmdir (Results 1 - 110 of 110) sorted by relevance

/linux-4.1.27/include/linux/
H A Dtracefs.h39 int (*rmdir)(const char *name));
H A Dkernfs.h152 int (*rmdir)(struct kernfs_node *kn); member in struct:kernfs_syscall_ops
H A Dnfs_xdr.h1478 int (*rmdir) (struct inode *, struct qstr *); member in struct:nfs_rpc_ops
H A Dfs.h1638 int (*rmdir) (struct inode *,struct dentry *); member in struct:inode_operations
/linux-4.1.27/fs/tracefs/
H A Dinode.c55 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 Dfw_filesystem.sh23 rmdir "$FWPATH"
H A Dfw_userhelper.sh21 rmdir "$FWPATH"
/linux-4.1.27/arch/um/os-Linux/
H A Duser_syms.c86 EXPORT_SYMBOL_PROTO(rmdir); variable
H A Dumid.c110 if (rmdir(dir) < 0 && errno != ENOENT) { remove_files_and_dir()
/linux-4.1.27/tools/perf/tests/
H A Dpmu.c121 snprintf(buf, PATH_MAX, "rmdir %s\n", dir); test_format_dir_put()
/linux-4.1.27/tools/usb/usbip/src/
H A Dusbip_detach.c65 rmdir(VHCI_STATE_PATH); detach_port()
/linux-4.1.27/fs/hfs/
H A Ddir.c246 * 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 Dbuiltin-buildid-cache.c164 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 Dperf-with-kcore.sh82 $SUDO rmdir "$KCORE_DIR"
199 if rmdir "$PERF_DATA_DIR" > /dev/null 2>/dev/null ; then
/linux-4.1.27/fs/qnx4/
H A Dnamei.c12 * 04-07-1998 by Frank Denis : first step for rmdir/unlink.
/linux-4.1.27/fs/ceph/
H A Dstrings.c70 case CEPH_MDS_OP_RMDIR: return "rmdir"; ceph_mds_op_name()
H A Ddir.c903 * 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 Dclassmap.h54 "reparent", "search", "rmdir", NULL } },
/linux-4.1.27/fs/affs/
H A Ddir.c37 .rmdir = affs_rmdir,
/linux-4.1.27/fs/configfs/
H A Ddir.c49 * 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 Dnamei.c286 .rmdir = sysv_rmdir,
H A Ddir.c286 * routine to check that the specified directory is empty (for rmdir)
/linux-4.1.27/fs/minix/
H A Dnamei.c265 .rmdir = minix_rmdir,
H A Ddir.c363 * routine to check that the specified directory is empty (for rmdir)
/linux-4.1.27/fs/nfs/
H A Dnfs3proc.c599 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 Dproc.c472 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 Ddir.c1782 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 Dnfs4proc.c8600 .rmdir = nfs_rmdir,
8647 .rmdir = nfs4_proc_remove,
/linux-4.1.27/fs/
H A Dbad_inode.c134 .rmdir = bad_inode_rmdir,
H A Dlibfs.c145 * for ramfs-type trees they can't go away without unlink() or rmdir(),
H A Dnamei.c3633 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 Dnamespace.c1536 * During unlink, rmdir, and d_drop it is possible to loose the path
/linux-4.1.27/security/apparmor/
H A Daudit.c30 "rmdir",
/linux-4.1.27/fs/coda/
H A Ddir.c257 /* destruction routines: unlink, rmdir */ coda_unlink()
564 .rmdir = coda_rmdir,
H A Dupcall.c309 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 Dbuilddeb152 rmdir "$tmpdir/lib/modules/$version"
329 rmdir "$tmpdir/lib/firmware"
/linux-4.1.27/tools/perf/scripts/python/
H A Dexport-to-postgresql.py89 os.rmdir(output_dir_name)
323 os.rmdir(output_dir_name)
/linux-4.1.27/fs/overlayfs/
H A Doverlayfs.h33 pr_debug("rmdir(%pd2) = %i\n", dentry, err); ovl_do_rmdir()
H A Ddir.c947 .rmdir = ovl_rmdir,
/linux-4.1.27/fs/ramfs/
H A Dinode.c146 .rmdir = simple_rmdir,
/linux-4.1.27/fs/ufs/
H A Dnamei.c353 .rmdir = ufs_rmdir,
H A Ddir.c605 * routine to check that the specified directory is empty (for rmdir)
/linux-4.1.27/fs/xfs/
H A Dxfs_iops.c1128 * 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 Dhostfs_user.c311 err = rmdir(file); do_rmdir()
H A Dhostfs_kern.c886 .rmdir = hostfs_rmdir,
/linux-4.1.27/arch/powerpc/include/asm/
H A Dsystbl.h46 SYSCALL_SPU(rmdir)
/linux-4.1.27/fs/exofs/
H A Dnamei.c312 .rmdir = exofs_rmdir,
/linux-4.1.27/fs/logfs/
H A Ddir.c28 * Unlink and rmdir also share the same function: unlink. Again, this
791 .rmdir = logfs_rmdir,
/linux-4.1.27/fs/omfs/
H A Ddir.c450 .rmdir = omfs_remove,
/linux-4.1.27/fs/afs/
H A Dsecurity.c333 if (!(access & (AFS_ACE_DELETE | /* rmdir, unlink, rename from */ afs_permission()
H A Dinode.c307 * - parent dir data changes (rm, rmdir, rename, mkdir, create, link,
H A Ddir.c58 .rmdir = afs_rmdir,
/linux-4.1.27/fs/ext2/
H A Dnamei.c406 .rmdir = ext2_rmdir,
H A Ddir.c668 * routine to check that the specified directory is empty (for rmdir)
/linux-4.1.27/mm/
H A Dhugetlb_cgroup.c395 * hugetlb_lock will make sure a parallel cgroup rmdir won't happen
H A Dshmem.c3149 .rmdir = shmem_rmdir,
H A Dmemcontrol.c4538 * Notify userspace about cgroup removing only after rmdir of cgroup mem_cgroup_css_offline()
/linux-4.1.27/fs/9p/
H A Dvfs_inode.c593 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 Dvfs_inode_dotl.c983 .rmdir = v9fs_vfs_rmdir,
/linux-4.1.27/fs/kernfs/
H A Ddir.c885 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 Dsmb2ops.c1442 .rmdir = smb2_rmdir,
1520 .rmdir = smb2_rmdir,
1601 .rmdir = smb2_rmdir,
H A Dinode.c1568 if (!server->ops->rmdir) { cifs_rmdir()
1574 rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb); cifs_rmdir()
H A Dcifsfs.c866 .rmdir = cifs_rmdir,
H A Dsmb1ops.c1062 .rmdir = CIFSSMBRmDir,
H A Dcifsglob.h292 int (*rmdir)(const unsigned int, struct cifs_tcon *, const char *, member in struct:smb_version_operations
/linux-4.1.27/fs/gfs2/
H A Dinode.c1080 * 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 Ddir.c555 .rmdir = hfsplus_rmdir,
/linux-4.1.27/fs/hpfs/
H A Dnamei.c622 .rmdir = hpfs_rmdir,
/linux-4.1.27/fs/nilfs2/
H A Dnamei.c560 .rmdir = nilfs_rmdir,
H A Ddir.c616 * routine to check that the specified directory is empty (for rmdir)
/linux-4.1.27/arch/s390/kernel/
H A Dcompat_wrapper.c77 COMPAT_SYSCALL_WRAP1(rmdir, const char __user *, pathname);
/linux-4.1.27/arch/parisc/kernel/
H A Dsyscall_table.S108 ENTRY_SAME(rmdir) /* 40 */
/linux-4.1.27/fs/btrfs/
H A Dsend.c213 * 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 Dtree-log.c3252 * 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 Dioctl.c2358 * subvol root, and when rmdir(2) would have been btrfs_ioctl_snap_destroy()
2366 * rmdir(2). btrfs_ioctl_snap_destroy()
H A Dinode.c3975 * 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 Dxattr.c106 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 Dsuper.c347 /* not completed unlink (rmdir) found */ finish_unfinished()
421 /* unlink, rmdir, rename */ add_save_link()
491 /* unlink, rmdir, rename */ remove_save_link()
H A Dnamei.c1618 .rmdir = reiserfs_rmdir,
/linux-4.1.27/drivers/net/
H A Dnetconsole.c840 * and would first be rmdir(2)'ed from userspace. We reach cleanup_netconsole()
/linux-4.1.27/fs/ocfs2/dlmfs/
H A Ddlmfs.c603 .rmdir = simple_rmdir,
/linux-4.1.27/fs/jffs2/
H A Ddir.c58 .rmdir = jffs2_rmdir,
/linux-4.1.27/fs/f2fs/
H A Dnamei.c791 .rmdir = f2fs_rmdir,
/linux-4.1.27/fs/fat/
H A Dnamei_msdos.c635 .rmdir = msdos_rmdir,
H A Dnamei_vfat.c1038 .rmdir = vfat_rmdir,
H A Dinode.c323 * 3. unlink() and rmdir() unhash F-d-c entry.
/linux-4.1.27/security/tomoyo/
H A Dfile.c776 * tomoyo_path_perm - Check permission for "unlink", "rmdir", "truncate", "symlink", "append", "chroot" and "unmount".
H A Dcommon.c30 [TOMOYO_MAC_FILE_RMDIR] = "rmdir",
148 [TOMOYO_TYPE_RMDIR] = "rmdir",
H A Dcommon.h701 * "file unlink", "file getattr", "file rmdir", "file truncate",
/linux-4.1.27/fs/jfs/
H A Dnamei.c341 * rmdir() returns and no new entries may be created in the directory,
1515 .rmdir = jfs_rmdir,
/linux-4.1.27/fs/ext3/
H A Dnamei.c1887 * 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 Dnamei.c1343 * We might rmdir the source, keep it as pwd of some process ocfs2_rename()
2887 .rmdir = ocfs2_unlink,
H A Ddir.c2145 * routine to check that the specified directory is empty (for rmdir)
/linux-4.1.27/fs/fuse/
H A Ddir.c130 * 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 Dlproc_llite.c913 { LPROC_LL_RMDIR, LPROCFS_TYPE_REGS, "rmdir" },
H A Dnamei.c1155 .rmdir = ll_rmdir,
/linux-4.1.27/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c3451 * 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 Ddir.c1181 .rmdir = ubifs_rmdir,
H A Djournal.c520 * @deletion: indicates a directory entry deletion i.e unlink or rmdir
/linux-4.1.27/fs/udf/
H A Dnamei.c1291 .rmdir = udf_rmdir,
/linux-4.1.27/fs/hugetlbfs/
H A Dinode.c715 .rmdir = simple_rmdir,
/linux-4.1.27/fs/ncpfs/
H A Ddir.c66 .rmdir = ncp_rmdir,
/linux-4.1.27/arch/ia64/kernel/
H A Dfsys.S584 data8 0 // rmdir
/linux-4.1.27/fs/autofs4/
H A Droot.c65 .rmdir = autofs4_dir_rmdir,
/linux-4.1.27/fs/cachefiles/
H A Dnamei.c780 !d_backing_inode(subdir)->i_op->rmdir || cachefiles_get_directory()
/linux-4.1.27/fs/ecryptfs/
H A Dinode.c1119 .rmdir = ecryptfs_rmdir,
/linux-4.1.27/fs/ext4/
H A Dnamei.c2752 * 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 Dcgroup.c4855 * 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 Dtrace.c3681 "\t\t\t Remove sub-buffer with rmdir\n"
/linux-4.1.27/security/selinux/
H A Dhooks.c1744 /* Check whether a task can link, unlink, or rmdir a file/directory. */ may_link()

Completed in 3613 milliseconds