Searched refs:FWRITE (Results 1 - 25 of 43) sorted by relevance

12

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_acct.c165 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 Dtty_pty.c229 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 Dtty_ptmx.c600 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 Dposix_shm.c446 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 Dkern_symfile.c226 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 Dtty.c446 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 Dkern_core.c287 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 Dkern_shutdown.c222 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 Dtty_tty.c239 error = VNOP_SELECT(ttyvp, flag, FREAD|FWRITE, wql, &context);
H A Dsys_socket.c392 case FWRITE:
H A Dsys_generic.c470 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 Dsys_pipe.c392 * FWRITE | fd1 | -->[struct wpipe] --X /
444 wf->f_flag = FWRITE;
1215 case FWRITE:
/darwin-on-arm/xnu/bsd/miscfs/fifofs/
H A Dfifo_vnops.c230 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 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.
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 Daudit_private.h366 #define AUDIT_OPEN_FLAGS (FWRITE | O_APPEND)
367 #define AUDIT_CLOSE_FLAGS (FWRITE | O_APPEND)
/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.c1364 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 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.c241 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 Dspec_vnops.c266 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 Dnfs_syscalls.c538 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 Drandomdev.c446 if (flags & FWRITE) {
/darwin-on-arm/xnu/bsd/dev/
H A Dmemdev.c196 if ((flags & FWRITE) && (mdev[devid].mdFlags & mdRO)) return (EACCES); /* Currently mounted RO */
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_compat.h521 #define FWRITE WRITE

Completed in 209 milliseconds

12