/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | tty_pty.c | 228 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 D | tty_ptmx.c | 556 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 D | tty_tty.c | 194 error = VNOP_SELECT(ttyvp, flag, FREAD|FWRITE, wql, &context);
|
H A D | tty.c | 345 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 D | posix_shm.c | 438 if ((fmode & (FREAD | FWRITE))==0) { 555 if (fmode & FREAD) 758 if (mode & FREAD) 767 if (mode & FREAD) 775 if (mode & FREAD)
|
H A D | subr_log.c | 232 case FREAD:
|
H A D | posix_sem.c | 616 if (mode & FREAD) 625 if (mode & FREAD) 633 if (mode & FREAD)
|
H A D | kern_exec.c | 541 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 D | sys_socket.c | 401 case FREAD:
|
H A D | kern_mman.c | 380 if (fp->f_fglob->fg_flag & FREAD) 1110 if (!(fp->f_fglob->fg_flag & FREAD)) {
|
H A D | kern_descrip.c | 763 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 D | uipc_syscalls.c | 186 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 D | mach_loader.c | 1616 if ((error = VNOP_OPEN(vp, FREAD, ctx)) != 0) { 1688 err2 = VNOP_CLOSE(vp, FREAD, ctx);
|
H A D | sys_pipe.c | 370 rf->f_flag = FREAD; 1472 case FREAD:
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fifofs/ |
H A D | fifo_vnops.c | 221 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 D | fcntl.h | 120 * 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 D | union_subr.c | 872 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 D | hfs_quota.c | 494 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 D | hfs_vfsops.c | 1513 (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 D | ufs_quota.c | 470 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 D | sys_dep.c | 286 fp->f_flag = FREAD|FWRITE;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/vn/ |
H A D | vn.c | 1122 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 D | vfs_xattr.c | 1402 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 D | vfs_syscalls.c | 526 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 D | cd9660_vfsops.c | 285 err = VNOP_OPEN(nd.ni_vp, FREAD, context); 728 error = VNOP_CLOSE(isomp->phys_devvp, FREAD, context);
|