Home
last modified time | relevance | path

Searched refs:fmode (Results 1 – 7 of 7) sorted by relevance

/original-bsd/sys/kern/
H A Dvfs_vnops.c37 vn_open(ndp, fmode, cmode) in vn_open() argument
39 int fmode, cmode;
48 if (fmode & O_CREAT) {
51 if ((fmode & O_EXCL) == 0)
59 if (fmode & O_EXCL)
65 fmode &= ~O_TRUNC;
75 if (fmode & O_EXCL) {
79 fmode &= ~O_CREAT;
93 if (fmode & FREAD) {
107 if (fmode & O_TRUNC) {
[all …]
/original-bsd/sys/miscfs/union/
H A Dunion_subr.c840 int fmode = FFLAGS(O_WRONLY|O_CREAT|O_TRUNC|O_EXCL); local
900 if (error = VOP_OPEN(vp, fmode, cred, p)) {
911 union_vn_close(vp, fmode, cred, p) in union_vn_close() argument
913 int fmode;
918 if (fmode & FWRITE)
920 return (VOP_CLOSE(vp, fmode, cred, p));
/original-bsd/sys/miscfs/kernfs/
H A Dkernfs_vnops.c284 mode_t fmode = local
291 if ((amode & VWRITE) && (fmode & (S_IWUSR|S_IWGRP|S_IWOTH)) == 0)
307 return ((fmode & mask) == mask ? 0 : EACCES);
317 return ((fmode & mask) == mask ? 0 : EACCES);
/original-bsd/sys/sparc/sunos/
H A Dsun_misc.c71 int fmode; member
85 openuap.crtmode = uap->fmode;
/original-bsd/sys/sys/
H A Dvnode.h394 int vn_open __P((struct nameidata *ndp, int fmode, int cmode));
/original-bsd/sys/nfs/
H A Dnfs_vnops.c1245 int error = 0, wccflag = NFSV3_WCCRATTR, gotvp = 0, fmode = 0; local
1262 fmode |= O_EXCL;
1271 if (fmode & O_EXCL) {
1312 if (v3 && (fmode & O_EXCL) && error == NFSERR_NOTSUPP) {
1313 fmode &= ~O_EXCL;
1318 } else if (v3 && (fmode & O_EXCL))
/original-bsd/sys/hp/hpux/
H A Dhpux_compat.c281 int fmode; member
295 openuap.crtmode = uap->fmode;