/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_acct.c | 165 if ((error = vn_open(&nd, FWRITE, 0))) 171 vn_close(nd.ni_vp, FWRITE, ctx); 178 vn_close(nd.ni_vp, FWRITE, ctx); 197 FWRITE, vfs_context_current()); 379 (void) vn_close(suspend_acctp, FWRITE, vfs_context_kernel()); 396 (void) vn_close(acctp, FWRITE, vfs_context_kernel());
|
H A D | tty_pty.c | 229 ptcwakeup(tp, FREAD|FWRITE); 260 ptsstop(tp, FREAD|FWRITE); 348 ptcwakeup(tp, FWRITE); 415 if (flag & FWRITE) { 482 ttyflush(tp, FREAD | FWRITE); 582 flag |= FWRITE; 583 if (flush & FWRITE) 625 case FWRITE: 843 ttyflush(tp, FREAD|FWRITE); 865 ttyflush(tp, FREAD|FWRITE); [all...] |
H A D | tty_ptmx.c | 600 ptmx_wakeup(tp, FREAD|FWRITE); 634 ptsd_stop(tp, FREAD|FWRITE); 731 ptmx_wakeup(tp, FWRITE); 803 if (flag & FWRITE) { 876 ttyflush(tp, FREAD | FWRITE); 980 flag |= FWRITE; 981 if (flush & FWRITE) 1067 case FWRITE: 1125 case FWRITE: 1372 ttyflush(tp, FREAD|FWRITE); [all...] |
H A D | posix_shm.c | 446 if ((fmode & (FREAD | FWRITE)) == 0) { 571 if (fmode & FWRITE) 820 ((mode & FWRITE) ? S_IWUSR : 0); 858 if ((prot & PROT_WRITE) && ((fp->f_flag & FWRITE) == 0)) { 1106 if ( (error = pshm_access(pinfo, FWRITE, kauth_cred_get(), p)) ) {
|
H A D | kern_symfile.c | 226 if ((error = vnode_open(name, (O_CREAT | FWRITE), (0), 0, &ref->vp, ref->ctx))) 448 vnode_close(ref->vp, FWRITE, ref->ctx); 510 error = vnode_close(ref->vp, FWRITE, ref->ctx);
|
H A D | tty.c | 446 ttyflush(tp, FREAD | FWRITE); 546 ttyflush(tp, FREAD | FWRITE); 612 ttyflush(tp, FWRITE); 627 ttyflush(tp, FREAD | FWRITE); 1143 flags = FREAD | FWRITE; 1145 flags &= FREAD | FWRITE; 1532 case FWRITE: 1683 if (rw & FWRITE) { 1697 if (rw & FWRITE) 1733 if (rw & FWRITE) { [all...] |
H A D | kern_core.c | 287 if ((error = vnode_open(name, (O_CREAT | FWRITE | O_NOFOLLOW), S_IRUSR, VNODE_LOOKUP_NOFOLLOW, &vp, ctx))) 488 error1 = vnode_close(vp, FWRITE, ctx);
|
H A D | kern_shutdown.c | 222 if ((error = vnode_open(PROC_SHUTDOWN_LOG, (O_CREAT | FWRITE | O_NOFOLLOW), 0644, 0, &sd_logvp, ctx))) { 243 error = vnode_close(sd_logvp, FWRITE, ctx);
|
H A D | tty_tty.c | 239 error = VNOP_SELECT(ttyvp, flag, FREAD|FWRITE, wql, &context);
|
H A D | sys_socket.c | 392 case FWRITE:
|
H A D | sys_generic.c | 470 if ((fp->f_flag & FWRITE) == 0) { 518 if ((fp->f_flag & FWRITE) == 0) { 671 if ((fp->f_flag & FWRITE) == 0) { 776 if ((fp->f_flag & (FREAD | FWRITE)) == 0) { 1321 static int flag[3] = { FREAD, FWRITE, 0 };
|
H A D | sys_pipe.c | 392 * FWRITE | fd1 | -->[struct wpipe] --X / 444 wf->f_flag = FWRITE; 1215 case FWRITE:
|
/darwin-on-arm/xnu/bsd/miscfs/fifofs/ |
H A D | fifo_vnops.c | 230 if (ap->a_mode & FWRITE) { 253 if (ap->a_mode & FWRITE) { 388 if (ap->a_fflag & FWRITE) { 412 if (ap->a_which & FWRITE) { 464 if (fflag & FWRITE) {
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | fcntl.h | 123 * FREAD and FWRITE are excluded from the #ifdef KERNEL so that TIOCFLUSH, 124 * which was documented to use FREAD/FWRITE, continues to work. 128 #define FWRITE 0x0002 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/security/audit/ |
H A D | audit_private.h | 366 #define AUDIT_OPEN_FLAGS (FWRITE | O_APPEND) 367 #define AUDIT_CLOSE_FLAGS (FWRITE | O_APPEND)
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_quota.c | 565 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 D | hfs_vfsops.c | 1364 if (VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE, (caddr_t)&size512, FWRITE, context)) { 1375 (void)VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE, (caddr_t)&log_blksize, FWRITE, context); 1413 if (VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE, (caddr_t)&log_blksize, FWRITE, context)) { 1595 if (VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE, (caddr_t)&log_blksize, FWRITE, context)) { 1654 (caddr_t)&log_blksize, FWRITE, context)) { 1845 if (VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE, (caddr_t)&log_blksize, FWRITE, context)) { 2079 (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_kerne [all...] |
/darwin-on-arm/xnu/bsd/netat/ |
H A D | sys_dep.c | 286 fp->f_flag = FREAD|FWRITE;
|
H A D | ddp.save | 269 if ((err = ufdcreate(FREAD|FWRITE, 272 if ((err = ufdcreate(FREAD|FWRITE,
|
/darwin-on-arm/xnu/bsd/dev/vn/ |
H A D | vn.c | 241 if ((flags & FWRITE) && (vn->sc_flags & VNF_READONLY)) 1142 flags = FREAD|FWRITE; 1157 flags &= ~FWRITE; 1222 flags = FREAD|FWRITE; 1314 (void)vn_close(vn->sc_shadow_vp, FREAD | FWRITE, ctx);
|
/darwin-on-arm/xnu/bsd/miscfs/specfs/ |
H A D | spec_vnops.c | 266 if (cred != FSCRED && (ap->a_mode & FWRITE)) { 338 (ap->a_mode & FWRITE) && isdisk(dev, VBLK)) 364 if (!VNOP_IOCTL(vp, DKIOCSETBLOCKSIZE, (caddr_t)&size512, FWRITE, ap->a_context)) { 371 if (VNOP_IOCTL(vp, DKIOCSETBLOCKSIZE, (caddr_t)&blksize, FWRITE, ap->a_context)) 1978 return FWRITE;
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_syscalls.c | 538 if (((fmode & (FREAD | FWRITE)) == 0) || (fmode & O_CREAT)) 578 if (vnode_isdir(vp) && (fmode & (FWRITE | O_TRUNC))) { 587 if (fmode & (FWRITE | O_TRUNC))
|
/darwin-on-arm/xnu/bsd/dev/random/ |
H A D | randomdev.c | 446 if (flags & FWRITE) {
|
/darwin-on-arm/xnu/bsd/dev/ |
H A D | memdev.c | 196 if ((flags & FWRITE) && (mdev[devid].mdFlags & mdRO)) return (EACCES); /* Currently mounted RO */
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_compat.h | 521 #define FWRITE WRITE
|