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

123

/macosx-10.10/lsof-53/lsof/dialects/darwin/libproc/
H A Ddstore.c54 { (long)FWRITE, FF_WRITE },
H A Ddfile.c58 f = pfi->fi_openflags & (FREAD | FWRITE);
61 else if (f == FWRITE)
63 else if (f == (FREAD | FWRITE))
/macosx-10.10/lsof-53/lsof/lib/
H A Dprfp.c90 if ((flag = (f.f_flag & (FREAD | FWRITE))) == FREAD)
92 else if (flag == FWRITE)
94 else if (flag == (FREAD | FWRITE))
/macosx-10.10/lsof-53/lsof/dialects/darwin/kmem/
H A Ddstore.c74 { (long)FWRITE, FF_WRITE },
H A Ddfile.c303 if ((flag = (f.f_flag & (FREAD | FWRITE))) == FREAD)
305 else if (flag == FWRITE)
307 else if (flag == (FREAD | FWRITE))
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_acct.c180 if ((error = vn_open(&nd, FWRITE, 0)))
186 vn_close(nd.ni_vp, FWRITE, ctx);
193 vn_close(nd.ni_vp, FWRITE, ctx);
213 FWRITE, vfs_context_current());
395 (void) vn_close(suspend_acctp, FWRITE, vfs_context_kernel());
413 (void) vn_close(acctp, FWRITE, vfs_context_kernel());
H A Dtty_dev.c297 ptcwakeup(tp, FREAD|FWRITE);
332 ptsstop(tp, FREAD|FWRITE);
428 ptcwakeup(tp, FWRITE);
500 if (flag & FWRITE) {
576 ttyflush(tp, FREAD | FWRITE);
687 flag |= FWRITE;
688 if (flush & FWRITE)
729 case FWRITE:
790 case FWRITE:
1041 ttyflush(tp, FREAD|FWRITE);
[all...]
H A Dkern_symfile.c226 if ((error = vnode_open(name, (create_file) ? (O_CREAT | FWRITE) : FWRITE,
480 vnode_close(ref->vp, FWRITE, ref->ctx);
551 error = vnode_close(ref->vp, FWRITE, ref->ctx);
H A Dposix_shm.c450 if ((fmode & (FREAD | FWRITE)) == 0) {
575 if (fmode & FWRITE)
827 ((mode & FWRITE) ? S_IWUSR : 0);
865 if ((prot & PROT_WRITE) && ((fp->f_flag & FWRITE) == 0)) {
1115 if ( (error = pshm_access(pinfo, FWRITE, kauth_cred_get(), p)) ) {
H A Dtty.c446 ttyflush(tp, FREAD | FWRITE);
546 ttyflush(tp, FREAD | FWRITE);
612 ttyflush(tp, FWRITE);
627 ttyflush(tp, FREAD | FWRITE);
1166 flags = FREAD | FWRITE;
1168 flags &= FREAD | FWRITE;
1564 case FWRITE:
1715 if (rw & FWRITE) {
1729 if (rw & FWRITE)
1765 if (rw & FWRITE) {
[all...]
H A Dkern_core.c285 if ((error = vnode_open(name, (O_CREAT | FWRITE | O_NOFOLLOW), S_IRUSR, VNODE_LOOKUP_NOFOLLOW, &vp, ctx)))
492 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.c249 error = VNOP_SELECT(ttyvp, flag, FREAD|FWRITE, wql, &context);
H A Dkern_guarded.c800 if ((fp->f_flag & FWRITE) == 0) {
845 if ((fp->f_flag & FWRITE) == 0) {
941 if ((fp->f_flag & FWRITE) == 0) {
/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/
H A Dtermios.c249 com = FWRITE;
252 com = FREAD | FWRITE;
/macosx-10.10/xnu-2782.1.97/bsd/miscfs/fifofs/
H A Dfifo_vnops.c227 if (ap->a_mode & FWRITE) {
250 if (ap->a_mode & FWRITE) {
385 if (ap->a_fflag & FWRITE) {
409 if (ap->a_which & FWRITE) {
461 if (fflag & FWRITE) {
/macosx-10.10/xnu-2782.1.97/bsd/dev/random/
H A Drandomdev.c134 if (flags & FWRITE) {
/macosx-10.10/xnu-2782.1.97/bsd/security/audit/
H A Daudit_private.h366 #define AUDIT_OPEN_FLAGS (FWRITE | O_APPEND)
367 #define AUDIT_CLOSE_FLAGS (FWRITE | O_APPEND)
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dfcntl.h108 * FREAD and FWRITE are excluded from the #ifdef KERNEL so that TIOCFLUSH,
109 * which was documented to use FREAD/FWRITE, continues to work.
113 #define FWRITE 0x0002 macro
200 /* convert from open() flags to/from fflags; convert O_RD/WR to FREAD/FWRITE */
205 #define FMASK (FREAD|FWRITE|FAPPEND|FASYNC|FFSYNC|FFDSYNC|FNONBLOCK)
/macosx-10.10/xnu-2782.1.97/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.c1293 if (VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE, (caddr_t)&size512, FWRITE, context)) {
1304 (void)VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE, (caddr_t)&log_blksize, FWRITE, context);
1343 if (VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE, (caddr_t)&log_blksize, FWRITE, context)) {
1527 if (VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE, (caddr_t)&log_blksize, FWRITE, context)) {
1587 (caddr_t)&log_blksize, FWRITE, context)) {
1779 if (VNOP_IOCTL(devvp, DKIOCSETBLOCKSIZE, (caddr_t)&log_blksize, FWRITE, context)) {
1979 (void)VNOP_CLOSE(hfsmp->jvp, ronly ? FREAD : FREAD|FWRITE, vfs_context_kernel());
2180 hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE,
2979 (void) VNOP_IOCTL(hfsmp->hfs_devvp, DKIOCSYNCHRONIZECACHE, NULL, FWRITE, context);
3018 VNOP_CLOSE(jvp, hfsmp->hfs_flags & HFS_READ_ONLY ? FREAD : FREAD|FWRITE, vfs_context_kerne
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/vm/
H A Dvm_compressor_backing_file.c56 if ((error = vnode_open(path, (O_CREAT | O_TRUNC | FREAD | FWRITE), S_IRUSR | S_IWUSR, 0, vp, ctx))) {
/macosx-10.10/xnu-2782.1.97/bsd/dev/vn/
H A Dvn.c241 if ((flags & FWRITE) && (vn->sc_flags & VNF_READONLY))
1130 flags = FREAD|FWRITE;
1145 flags &= ~FWRITE;
1210 flags = FREAD|FWRITE;
1302 (void)vn_close(vn->sc_shadow_vp, FREAD | FWRITE, ctx);
/macosx-10.10/webdavfs-367/webdav_fs.kextproj/webdav_fs.kmodproj/
H A Dwebdav_vnops.c1263 if (pt->pt_writeseq_enabled && pt->pt_opencount_write && (ap->a_mode & FWRITE))
1287 if (ap->a_mode & FWRITE)
1361 if (ap->a_mode & FWRITE)
1796 force_fsync = (((ap->a_fflag & FWRITE) != 0) && vnode_isreg(ap->a_vp) && (pt->pt_writeseq_enabled == 0));
1806 if (ap->a_fflag & FWRITE) {
3410 open_ap.a_mode = FWRITE;
3532 close_ap.a_fflag = FWRITE;
4166 open_ap.a_mode = FWRITE;
4306 close_ap.a_fflag = FWRITE;
/macosx-10.10/xnu-2782.1.97/bsd/miscfs/specfs/
H A Dspec_vnops.c304 if (cred != FSCRED && (ap->a_mode & FWRITE)) {
377 (ap->a_mode & FWRITE) && bdevsw[maj].d_type == D_DISK)
403 if (!VNOP_IOCTL(vp, DKIOCSETBLOCKSIZE, (caddr_t)&size512, FWRITE, ap->a_context)) {
410 if (VNOP_IOCTL(vp, DKIOCSETBLOCKSIZE, (caddr_t)&blksize, FWRITE, ap->a_context))
2347 return FWRITE;

Completed in 317 milliseconds

123