Searched refs:dirp (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/init/
H A Dinitramfs.c565 struct linux_dirent64 *dirp; clean_rootfs() local
579 dirp = buf; clean_rootfs()
580 num = sys_getdents64(fd, dirp, BUF_SIZE); clean_rootfs()
586 ret = sys_newlstat(dirp->d_name, &st); clean_rootfs()
590 sys_rmdir(dirp->d_name); clean_rootfs()
592 sys_unlink(dirp->d_name); clean_rootfs()
595 num -= dirp->d_reclen; clean_rootfs()
596 dirp = (void *)dirp + dirp->d_reclen; clean_rootfs()
598 dirp = buf; clean_rootfs()
600 num = sys_getdents64(fd, dirp, BUF_SIZE); clean_rootfs()
/linux-4.4.14/fs/nfsd/
H A Dvfs.c1127 struct inode *dirp; nfsd_create() local
1144 dirp = d_inode(dentry); nfsd_create()
1147 if (!dirp->i_op->lookup) nfsd_create()
1207 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); nfsd_create()
1212 host_err = vfs_mkdir(dirp, dchild, iap->ia_mode); nfsd_create()
1218 host_err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); nfsd_create()
1262 struct inode *dirp; do_nfsd_create() local
1280 dirp = d_inode(dentry); do_nfsd_create()
1285 if (!dirp->i_op->lookup) do_nfsd_create()
1370 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); do_nfsd_create()
1531 struct inode *dirp; nfsd_link() local
1559 dirp = d_inode(ddir); nfsd_link()
1571 host_err = vfs_link(dold, dirp, dnew, NULL); nfsd_link()
1700 struct inode *dirp; nfsd_unlink() local
1717 dirp = d_inode(dentry); nfsd_unlink()
1734 host_err = vfs_unlink(dirp, rdentry, NULL); nfsd_unlink()
1736 host_err = vfs_rmdir(dirp, rdentry); nfsd_unlink()
/linux-4.4.14/tools/power/x86/turbostat/
H A Dturbostat.c2829 int dir_filter(const struct dirent *dirp) dir_filter() argument
2831 if (isdigit(dirp->d_name[0])) dir_filter()

Completed in 305 milliseconds