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

12

/darwin-on-arm/xnu/bsd/kern/
H A Dtty_pty.c229 ptcwakeup(tp, FREAD|FWRITE);
260 ptsstop(tp, FREAD|FWRITE);
398 ptcwakeup(tp, FREAD);
411 if (flag & FREAD) {
482 ttyflush(tp, FREAD | FWRITE);
581 if (flush & FREAD)
584 flag |= FREAD;
603 case FREAD:
792 ptcwakeup(tp, FREAD);
799 ptcwakeup(tp, FREAD);
[all...]
H A Dtty_ptmx.c600 ptmx_wakeup(tp, FREAD|FWRITE);
634 ptsd_stop(tp, FREAD|FWRITE);
784 ptmx_wakeup(tp, FREAD);
799 if (flag & FREAD) {
876 ttyflush(tp, FREAD | FWRITE);
979 if (flush & FREAD)
982 flag |= FREAD;
1054 case FREAD:
1104 case FREAD:
1321 ptmx_wakeup(tp, FREAD);
[all...]
H A Dtty.c446 ttyflush(tp, FREAD | FWRITE);
546 ttyflush(tp, FREAD | FWRITE);
627 ttyflush(tp, FREAD | FWRITE);
646 ttyflush(tp, FREAD);
1143 flags = FREAD | FWRITE;
1145 flags &= FREAD | FWRITE;
1258 ttyflush(tp, FREAD);
1364 if (suser(kauth_cred_get(), NULL) && (flag & FREAD) == 0) {
1520 case FREAD:
1666 ttyflush(tp, FREAD);
[all...]
H A Dtty_tty.c239 error = VNOP_SELECT(ttyvp, flag, FREAD|FWRITE, wql, &context);
H A Dsubr_log.c238 case FREAD:
H A Dposix_shm.c446 if ((fmode & (FREAD | FWRITE)) == 0) {
573 if (fmode & FREAD)
819 int mode_req = ((mode & FREAD) ? S_IRUSR : 0) |
H A Dsys_socket.c382 case FREAD:
H A Dkern_mman.c351 if (fp->f_fglob->fg_flag & FREAD)
1149 if (!(fp->f_fglob->fg_flag & FREAD)) {
H A Duipc_syscalls.c187 fp->f_flag = FREAD|FWRITE;
716 fp1->f_flag = FREAD|FWRITE;
726 fp2->f_flag = FREAD|FWRITE;
2094 if ((fp->f_flag & FREAD) == 0) {
H A Dmach_loader.c1756 if ((error = VNOP_OPEN(vp, FREAD, ctx)) != 0) {
1830 (void) VNOP_CLOSE(vp, FREAD, ctx);
H A Dsys_pipe.c390 * FREAD | fd0 | -->[struct rpipe] --> |~~buffer~~| \
434 rf->f_flag = FREAD;
1203 case FREAD:
H A Dkern_descrip.c407 if (rw == UIO_READ && !(fp->f_flag & FREAD)) {
890 if ((fflag & FREAD) == 0) {
1399 (fp->f_flag & FREAD) == 0) {
1459 (fp->f_flag & FREAD) == 0) {
5025 if (((flags & (FREAD|FWRITE)) | wfp->f_flag) != wfp->f_flag) {
H A Dkern_exec.c541 fp->f_fglob->fg_flag = FREAD;
3330 if ((error = vn_open(&nd1, FREAD, 0)) != 0) {
3337 fg->fg_flag = FREAD;
H A Dsys_generic.c307 if ((fp->f_flag & FREAD) == 0) {
776 if ((fp->f_flag & (FREAD | FWRITE)) == 0) {
1321 static int flag[3] = { FREAD, FWRITE, 0 };
/darwin-on-arm/xnu/bsd/miscfs/fifofs/
H A Dfifo_vnops.c219 if (ap->a_mode & FREAD) {
241 if ((ap->a_mode & FREAD) && (ap->a_mode & O_NONBLOCK) == 0) {
382 if (ap->a_fflag & FREAD) {
406 if (ap->a_which & FREAD) {
455 if (fflag & FREAD) {
/darwin-on-arm/xnu/bsd/sys/
H A Dfcntl.h123 * FREAD and FWRITE are excluded from the #ifdef KERNEL so that TIOCFLUSH,
124 * which was documented to use FREAD/FWRITE, continues to work.
127 #define FREAD 0x0001 macro
197 /* convert from open() flags to/from fflags; convert O_RD/WR to FREAD/FWRITE */
202 #define FMASK (FREAD|FWRITE|FAPPEND|FASYNC|FFSYNC|FFDSYNC|FNONBLOCK)
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_quota.c565 error = vnode_open(fnamep, FREAD|FWRITE, 0, 0, &vp, NULL);
570 (void) vnode_close(vp, FREAD|FWRITE, NULL);
589 (void) vnode_close(vp, FREAD|FWRITE, NULL);
696 error = vnode_close(qvp, FREAD|FWRITE, NULL);
H A Dhfs_vfsops.c2079 (void)VNOP_CLOSE(hfsmp->jvp, ronly ? FREAD : FREAD|FWRITE, vfs_context_kernel());
2294 hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE,
2993 VNOP_CLOSE(jvp, hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE, vfs_context_kernel());
3068 VNOP_CLOSE(hfsmp->jvp, hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE, vfs_context_kernel());
/darwin-on-arm/xnu/bsd/netat/
H A Dsys_dep.c286 fp->f_flag = FREAD|FWRITE;
H A Dddp.save269 if ((err = ufdcreate(FREAD|FWRITE,
272 if ((err = ufdcreate(FREAD|FWRITE,
/darwin-on-arm/xnu/bsd/dev/vn/
H A Dvn.c1142 flags = FREAD|FWRITE;
1205 if (flags == FREAD)
1222 flags = FREAD|FWRITE;
1314 (void)vn_close(vn->sc_shadow_vp, FREAD | FWRITE, ctx);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_xattr.c1536 fileflags = FREAD;
1706 fileflags = FREAD | FWRITE | O_EXLOCK;
2032 fileflags = FREAD | FWRITE;
2249 if ((error = open_xattrfile(vp, FREAD, &xvp, context))) {
2257 close_xattrfile(xvp, FREAD, context);
2324 close_xattrfile(xvp, FREAD, context);
H A Dvfs_syscalls.c727 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
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_compat.h522 #define FREAD READ
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_syscalls.c538 if (((fmode & (FREAD | FWRITE)) == 0) || (fmode & O_CREAT))
585 if (fmode & FREAD)

Completed in 224 milliseconds

12