Lines Matching defs:fmode
370 int fmode ;
437 fmode = FFLAGS(uap->oflag);
438 if ((fmode & (FREAD | FWRITE))==0) {
459 if (fmode & O_CREAT) {
460 if ((fmode & O_EXCL) && incache) {
517 if ( (error = pshm_access(pinfo, fmode, kauth_cred_get(), p)) ) {
542 if ( (error = pshm_access(pinfo, fmode, kauth_cred_get(), p)) ) {
547 if (fmode & O_TRUNC) {
553 if (fmode & FWRITE)
555 if (fmode & FREAD)
592 fp->f_flag = fmode & FMASK;