Searched refs:dirp (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/init/ |
D | initramfs.c | 565 struct linux_dirent64 *dirp; in clean_rootfs() local 579 dirp = buf; in clean_rootfs() 580 num = sys_getdents64(fd, dirp, BUF_SIZE); in clean_rootfs() 586 ret = sys_newlstat(dirp->d_name, &st); in clean_rootfs() 590 sys_rmdir(dirp->d_name); in clean_rootfs() 592 sys_unlink(dirp->d_name); in clean_rootfs() 595 num -= dirp->d_reclen; in clean_rootfs() 596 dirp = (void *)dirp + dirp->d_reclen; in clean_rootfs() 598 dirp = buf; in clean_rootfs() 600 num = sys_getdents64(fd, dirp, BUF_SIZE); in clean_rootfs()
|
/linux-4.1.27/fs/nfsd/ |
D | vfs.c | 1197 struct inode *dirp; in nfsd_create() local 1214 dirp = d_inode(dentry); in nfsd_create() 1217 if (!dirp->i_op->lookup) in nfsd_create() 1277 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in nfsd_create() 1282 host_err = vfs_mkdir(dirp, dchild, iap->ia_mode); in nfsd_create() 1288 host_err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); in nfsd_create() 1338 struct inode *dirp; in do_nfsd_create() local 1356 dirp = d_inode(dentry); in do_nfsd_create() 1361 if (!dirp->i_op->lookup) in do_nfsd_create() 1446 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in do_nfsd_create() [all …]
|
/linux-4.1.27/tools/power/x86/turbostat/ |
D | turbostat.c | 2718 int dir_filter(const struct dirent *dirp) in dir_filter() argument 2720 if (isdigit(dirp->d_name[0])) in dir_filter()
|