Searched refs:FREAD (Results 1 - 25 of 35) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dtty_pty.c228 ptcwakeup(tp, FREAD|FWRITE);
257 ptsstop(tp, FREAD|FWRITE);
386 ptcwakeup(tp, FREAD);
400 if (flag & FREAD) {
472 ttyflush(tp, FREAD | FWRITE);
566 if (flush & FREAD)
569 flag |= FREAD;
591 case FREAD:
779 ptcwakeup(tp, FREAD);
786 ptcwakeup(tp, FREAD);
[all...]
H A Dtty_ptmx.c556 ptmx_wakeup(tp, FREAD|FWRITE);
593 ptsd_stop(tp, FREAD|FWRITE);
745 ptmx_wakeup(tp, FREAD);
765 if (flag & FREAD) {
847 ttyflush(tp, FREAD | FWRITE);
957 if (flush & FREAD)
960 flag |= FREAD;
1034 case FREAD:
1074 case FREAD:
1290 ptmx_wakeup(tp, FREAD);
[all...]
H A Dtty_tty.c194 error = VNOP_SELECT(ttyvp, flag, FREAD|FWRITE, wql, &context);
H A Dtty.c345 ttyflush(tp, FREAD | FWRITE);
434 ttyflush(tp, FREAD | FWRITE);
513 ttyflush(tp, FREAD | FWRITE);
521 ttyflush(tp, FREAD);
911 flags = FREAD | FWRITE;
913 flags &= FREAD | FWRITE;
1013 ttyflush(tp, FREAD);
1114 if (suser(kauth_cred_get(), NULL) && (flag & FREAD) == 0) {
1247 case FREAD:
1339 ttyflush(tp, FREAD);
[all...]
H A Dposix_shm.c438 if ((fmode & (FREAD | FWRITE))==0) {
555 if (fmode & FREAD)
758 if (mode & FREAD)
767 if (mode & FREAD)
775 if (mode & FREAD)
H A Dsubr_log.c232 case FREAD:
H A Dposix_sem.c616 if (mode & FREAD)
625 if (mode & FREAD)
633 if (mode & FREAD)
H A Dkern_exec.c541 fp->f_fglob->fg_flag = FREAD;
2681 if ((error = vn_open(&nd1, FREAD, 0)) == 0) {
2712 if ((error = vnode_ref_ext(dev_null, FREAD)) != 0) {
2717 fp->f_fglob->fg_flag = FREAD;
H A Dsys_socket.c401 case FREAD:
H A Dkern_mman.c380 if (fp->f_fglob->fg_flag & FREAD)
1110 if (!(fp->f_fglob->fg_flag & FREAD)) {
H A Dkern_descrip.c763 if ((fflag & FREAD) == 0) {
1253 (fp->f_flag & FREAD) == 0) {
1311 (fp->f_flag & FREAD) == 0) {
4218 if (((mode & (FREAD|FWRITE)) | wfp->f_flag) != wfp->f_flag) {
H A Duipc_syscalls.c186 fp->f_flag = FREAD|FWRITE;
721 fp1->f_flag = FREAD|FWRITE;
731 fp2->f_flag = FREAD|FWRITE;
2033 if ((fp->f_flag & FREAD) == 0) {
H A Dmach_loader.c1616 if ((error = VNOP_OPEN(vp, FREAD, ctx)) != 0) {
1688 err2 = VNOP_CLOSE(vp, FREAD, ctx);
H A Dsys_pipe.c370 rf->f_flag = FREAD;
1472 case FREAD:
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fifofs/
H A Dfifo_vnops.c221 if (ap->a_mode & FREAD) {
243 if ((ap->a_mode & FREAD) && (ap->a_mode & O_NONBLOCK) == 0) {
384 if (ap->a_fflag & FREAD) {
408 if (ap->a_which & FREAD) {
457 if (fflag & FREAD) {
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dfcntl.h120 * FREAD and FWRITE are excluded from the #ifdef KERNEL so that TIOCFLUSH,
121 * which was documented to use FREAD/FWRITE, continues to work.
124 #define FREAD 0x0001 macro
168 /* convert from open() flags to/from fflags; convert O_RD/WR to FREAD/FWRITE */
173 #define FMASK (FREAD|FWRITE|FAPPEND|FASYNC|FFSYNC|FNONBLOCK)
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/union/
H A Dunion_subr.c872 error = VNOP_OPEN(lvp, FREAD, context);
875 (void) VNOP_CLOSE(lvp, FREAD, context);
890 * the right thing with (cred) and (FREAD) though.
899 (void) VNOP_CLOSE(lvp, FREAD, context);
900 (void) VNOP_OPEN(uvp, FREAD, context);
1026 error = VNOP_OPEN(lvp, FREAD, context);
1029 (void) VNOP_CLOSE(lvp, FREAD, context);
1567 error = mac_vnode_check_open(ctx, lvp, FREAD);
1573 error = VNOP_OPEN(lvp, FREAD, ctx);
1582 error = VNOP_CLOSE(vp, FREAD, ct
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_quota.c494 error = vnode_open(fnamep, FREAD|FWRITE, 0, 0, &vp, NULL);
499 (void) vnode_close(vp, FREAD|FWRITE, NULL);
518 (void) vnode_close(vp, FREAD|FWRITE, NULL);
625 error = vnode_close(qvp, FREAD|FWRITE, NULL);
H A Dhfs_vfsops.c1513 (void)VNOP_CLOSE(hfsmp->jvp, ronly ? FREAD : FREAD|FWRITE, context);
1699 hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE,
2357 VNOP_CLOSE(jvp, hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE, context);
2424 VNOP_CLOSE(hfsmp->jvp, hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE, context);
5166 retval = vnode_open(devnode, FREAD|FWRITE, 0, 0, &devvp, NULL);
5197 vnode_close(devvp, FREAD|FWRIT
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/
H A Dufs_quota.c470 error = vnode_open(fnamep, FREAD|FWRITE, 0, 0, &vp, NULL);
475 (void) vnode_close(vp, FREAD|FWRITE, NULL);
492 (void) vnode_close(vp, FREAD|FWRITE, NULL);
597 error = vnode_close(qvp, FREAD|FWRITE, NULL);
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dsys_dep.c286 fp->f_flag = FREAD|FWRITE;
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/vn/
H A Dvn.c1122 flags = FREAD|FWRITE;
1185 if (flags == FREAD)
1202 flags = FREAD|FWRITE;
1294 (void)vn_close(vn->sc_shadow_vp, FREAD | FWRITE, ctx);
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_xattr.c1402 fileflags = FREAD;
1572 fileflags = FREAD | FWRITE | O_EXLOCK;
1895 fileflags = FREAD | FWRITE;
2109 if ((error = open_xattrfile(vp, FREAD, &xvp, context))) {
2115 close_xattrfile(xvp, FREAD, context);
2182 close_xattrfile(xvp, FREAD, context);
H A Dvfs_syscalls.c526 ronly ? FREAD : FREAD|FWRITE);
530 if ( (error = VNOP_OPEN(devvp, ronly ? FREAD : FREAD|FWRITE, ctx)) )
733 VNOP_CLOSE(device_vnode, ronly ? FREAD : FREAD|FWRITE, ctx);
758 VNOP_CLOSE(device_vnode, mp->mnt_flag & MNT_RDONLY ? FREAD : FREAD|FWRITE,
1131 VNOP_CLOSE(devvp, mp->mnt_flag & MNT_RDONLY ? FREAD : FREAD|FWRIT
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_vfsops.c285 err = VNOP_OPEN(nd.ni_vp, FREAD, context);
728 error = VNOP_CLOSE(isomp->phys_devvp, FREAD, context);

Completed in 395 milliseconds

12