Searched refs:NOCRED (Results 1 - 23 of 23) sorted by relevance

/openbsd-current/sys/sys/
H A Ducred.h58 #define NOCRED ((struct ucred *)-1) /* no credential available */ macro
/openbsd-current/sys/kern/
H A Dtty_tty.c60 error = VOP_OPEN(ttyvp, flag, NOCRED, p);
74 error = VOP_READ(ttyvp, uio, flag, NOCRED);
88 error = VOP_WRITE(ttyvp, uio, flag, NOCRED);
142 return (VOP_IOCTL(ttyvp, cmd, addr, flag, NOCRED, p));
H A Dkern_acct.c316 (void) vn_close(savacctp, FWRITE, NOCRED, p);
328 (void) vn_close(acctp, FWRITE, NOCRED, p);
358 NOCRED, p);
H A Dsubr_disk.c1734 error = VOP_OPEN(vn, FREAD, NOCRED, curproc);
1742 error = VOP_IOCTL(vn, DIOCGDINFO, (caddr_t)dl, FREAD, NOCRED, curproc);
1749 VOP_CLOSE(vn, FREAD, NOCRED, curproc);
H A Dvfs_subr.c1064 vinvalbuf(vp, V_SAVE, NOCRED, p, 0, INFSLP);
1072 VOP_CLOSE(vp, FNONBLOCK, NOCRED, p);
/openbsd-current/sys/ufs/ufs/
H A Dufs_inode.c82 (void)ufs_quota_free_inode(ip, NOCRED);
84 error = UFS_TRUNCATE(ip, (off_t)0, 0, NOCRED);
H A Dufs_quota.c198 (cred != NOCRED && cred->cr_uid != 0)) {
606 ump->um_cred[type] = NOCRED;
890 dq->dq_cred = NOCRED;
/openbsd-current/usr.sbin/makefs/ffs/
H A Dbuf.h110 #define NOCRED NULL macro
/openbsd-current/sys/ntfs/
H A Dntfs_vfsops.c447 (void)VOP_CLOSE(devvp, FREAD, NOCRED, p);
506 vinvalbuf(ntmp->ntm_devvp, V_SAVE, NOCRED, p, 0, INFSLP);
507 (void)VOP_CLOSE(ntmp->ntm_devvp, FREAD, NOCRED, p);
/openbsd-current/sys/dev/
H A Dsoftraid_crypto.c668 if (VOP_OPEN(vn, FREAD | FWRITE, NOCRED, curproc)) {
679 FREAD, NOCRED, curproc)) {
789 VOP_CLOSE(vn, FREAD | FWRITE, NOCRED, curproc);
832 if (VOP_OPEN(vn, FREAD, NOCRED, curproc)) {
843 NOCRED, curproc)) {
912 VOP_CLOSE(vn, FREAD, NOCRED, curproc);
H A Dsoftraid.c336 error = VOP_OPEN(vn, FREAD | FWRITE, NOCRED, curproc);
1039 error = VOP_OPEN(vn, FREAD, NOCRED, curproc);
1048 error = VOP_IOCTL(vn, DIOCGDINFO, (caddr_t)&label, FREAD, NOCRED,
1053 VOP_CLOSE(vn, FREAD, NOCRED, curproc);
1059 error = VOP_CLOSE(vn, FREAD, NOCRED, curproc);
1095 error = VOP_OPEN(vn, FREAD, NOCRED, curproc);
1107 VOP_CLOSE(vn, FREAD, NOCRED, curproc);
1114 VOP_CLOSE(vn, FREAD, NOCRED, curproc);
1133 VOP_CLOSE(vn, FREAD, NOCRED, curproc);
1562 NOCRED, curpro
[all...]
/openbsd-current/sys/ufs/ffs/
H A Dffs_vfsops.c625 cred = p ? p->p_ucred : NOCRED;
945 vinvalbuf(ump->um_devvp, V_SAVE, NOCRED, p, 0, INFSLP);
947 NOCRED, p);
H A Dffs_inode.c376 (void)ufs_quota_free_blocks(oip, blocksreleased, NOCRED);
H A Dffs_alloc.c116 if (cred == NOCRED)
192 if (cred == NOCRED)
/openbsd-current/sys/ufs/ext2fs/
H A Dext2fs_inode.c123 error = ext2fs_truncate(ip, (off_t)0, 0, NOCRED);
H A Dext2fs_alloc.c90 if (cred == NOCRED)
H A Dext2fs_vfsops.c493 cred = p ? p->p_ucred : NOCRED;
614 NOCRED, p);
/openbsd-current/sys/msdosfs/
H A Dmsdosfs_denode.c654 error = detrunc(dep, (uint32_t)0, 0, NOCRED, ap->a_p);
H A Dmsdosfs_vfsops.c543 (void) VOP_CLOSE(devvp, ronly ? FREAD : FREAD|FWRITE, NOCRED, p);
585 pmp->pm_flags & MSDOSFSMNT_RONLY ? FREAD : FREAD|FWRITE, NOCRED, p);
H A Dmsdosfs_lookup.c624 (void)detrunc(ddep, ddep->de_FileSize, 0, NOCRED,
H A Dmsdosfs_vnops.c748 detrunc(dep, osize, ioflag & IO_SYNC, NOCRED, curproc);
752 detrunc(dep, dep->de_FileSize, ioflag & IO_SYNC, NOCRED, curproc);
/openbsd-current/sys/isofs/udf/
H A Dudf_vfsops.c467 vinvalbuf(devvp, V_SAVE, NOCRED, p, 0, INFSLP);
468 (void)VOP_CLOSE(devvp, FREAD, NOCRED, p);
/openbsd-current/sys/isofs/cd9660/
H A Dcd9660_vfsops.c432 VOP_CLOSE(devvp, ronly ? FREAD : FREAD|FWRITE, NOCRED, p);
554 (void)VOP_CLOSE(isomp->im_devvp, FREAD, NOCRED, p);

Completed in 217 milliseconds