Lines Matching refs:FREAD
727 ronly ? FREAD : FREAD|FWRITE);
731 if ( (error = VNOP_OPEN(devvp, ronly ? FREAD : FREAD|FWRITE, ctx)) )
763 error = bdevsw[maj].d_open(dev, FREAD | FWRITE, S_IFBLK, p);
940 VNOP_CLOSE(device_vnode, ronly ? FREAD : FREAD|FWRITE, ctx);
981 VNOP_CLOSE(device_vnode, mp->mnt_flag & MNT_RDONLY ? FREAD : FREAD|FWRITE,
1880 VNOP_CLOSE(devvp, mp->mnt_flag & MNT_RDONLY ? FREAD : FREAD|FWRITE,
6927 if ((fp->f_fglob->fg_flag & FREAD) == 0) {
7207 if ((fp->f_fglob->fg_flag & FREAD) == 0) {
7766 return FREAD | FWRITE | O_EVTONLY;
7769 return FREAD | O_EVTONLY;
8081 if (fmode & FREAD) {