/linux-2.4.37.9/fs/ |
D | ioctl.c | 79 filp->f_flags |= flag; in sys_ioctl() 81 filp->f_flags &= ~flag; in sys_ioctl() 90 if ((flag ^ filp->f_flags) & FASYNC) { in sys_ioctl() 99 filp->f_flags |= FASYNC; in sys_ioctl() 101 filp->f_flags &= ~FASYNC; in sys_ioctl()
|
D | fifo.c | 60 if ((filp->f_flags & O_NONBLOCK)) { in fifo_open() 80 if ((filp->f_flags & O_NONBLOCK) && !PIPE_READERS(*inode)) in fifo_open()
|
D | pipe.c | 68 if (filp->f_flags & O_NONBLOCK) in pipe_read() 112 if (count && PIPE_WAITING_WRITERS(*inode) && !(filp->f_flags & O_NONBLOCK)) { in pipe_read() 166 if (filp->f_flags & O_NONBLOCK) { in pipe_write() 209 if (filp->f_flags & O_NONBLOCK) in pipe_write() 565 f1->f_flags = O_RDONLY; in do_pipe() 571 f2->f_flags = O_WRONLY; in do_pipe()
|
D | fcntl.c | 218 if ((arg ^ filp->f_flags) & FASYNC) { in setfl() 250 filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK); in setfl() 274 err = filp->f_flags; in do_fcntl()
|
D | open.c | 202 if (file->f_flags & O_LARGEFILE) in do_sys_ftruncate() 687 f->f_flags = flags; in dentry_open() 706 if (f->f_flags & O_DIRECT) { in dentry_open() 717 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in dentry_open() 915 if (!(filp->f_flags & O_LARGEFILE) && inode->i_size > MAX_NON_LFS) in generic_file_open()
|
/linux-2.4.37.9/fs/coda/ |
D | file.c | 112 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open() 137 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open() 165 unsigned short flags = coda_file->f_flags & ~O_EXCL; in coda_flush() 175 if ((coda_file->f_flags & O_ACCMODE) == O_RDONLY) in coda_flush() 202 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
|
/linux-2.4.37.9/fs/ext3/ |
D | file.c | 49 if (!(filp->f_flags & O_LARGEFILE) && in ext3_open_file() 80 if (file->f_flags & O_SYNC) { in ext3_file_write()
|
/linux-2.4.37.9/arch/sparc64/solaris/ |
D | timod.c | 505 oldflags = filp->f_flags; in timod_putmsg() 506 filp->f_flags &= ~O_NONBLOCK; in timod_putmsg() 511 filp->f_flags = oldflags; in timod_putmsg() 653 if (!(filp->f_flags & O_NONBLOCK)) { in timod_getmsg() 744 oldflags = filp->f_flags; in timod_getmsg() 745 filp->f_flags |= O_NONBLOCK; in timod_getmsg() 750 filp->f_flags = oldflags; in timod_getmsg() 811 oldflags = filp->f_flags; in timod_getmsg() 812 filp->f_flags |= O_NONBLOCK; in timod_getmsg() 816 filp->f_flags = oldflags; in timod_getmsg()
|
/linux-2.4.37.9/fs/intermezzo/ |
D | file.c | 125 if (file->f_flags & O_TRUNC) { in open_check_dod() 155 int writable = (file->f_flags & (O_RDWR | O_WRONLY)); in presto_file_open() 171 if ( !ISLENTO(minor) && (file->f_flags & O_RDWR || in presto_file_open() 172 file->f_flags & O_WRONLY)) { in presto_file_open() 195 if (file->f_flags & O_TRUNC) { in presto_file_open()
|
/linux-2.4.37.9/net/ |
D | socket.c | 367 file->f_flags = O_RDWR; in sock_map_fd() 555 flags = !(file->f_flags & O_NONBLOCK) ? 0 : MSG_DONTWAIT; in sock_read() 586 msg.msg_flags=!(file->f_flags & O_NONBLOCK) ? 0 : MSG_DONTWAIT; in sock_write() 606 flags = !(file->f_flags & O_NONBLOCK) ? 0 : MSG_DONTWAIT; in sock_sendpage() 630 msg.msg_flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; in sock_readv_writev() 1068 err = sock->ops->accept(sock, newsock, sock->file->f_flags); in sys_accept() 1123 sock->file->f_flags); in sys_connect() 1210 if (sock->file->f_flags & O_NONBLOCK) in sys_sendto() 1257 if (sock->file->f_flags & O_NONBLOCK) in sys_recvfrom() 1406 if (sock->file->f_flags & O_NONBLOCK) in sys_sendmsg() [all …]
|
/linux-2.4.37.9/drivers/char/ |
D | amd768_rng.c | 104 if (filp->f_flags & O_NONBLOCK) { in rng_dev_open() 152 if (filp->f_flags & O_NONBLOCK) in rng_dev_read()
|
D | i810_rng.c | 190 if (filp->f_flags & O_NONBLOCK) { in rng_dev_open() 244 if (filp->f_flags & O_NONBLOCK) in rng_dev_read()
|
D | ppdev.c | 133 (file->f_flags & O_NONBLOCK) ? in pp_read() 164 if (file->f_flags & O_NONBLOCK) { in pp_read() 214 (file->f_flags & O_NONBLOCK) ? in pp_write() 248 if (file->f_flags & O_NONBLOCK) { in pp_write()
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_file.c | 74 if (unlikely(file->f_flags & O_DIRECT)) { in __linvfs_read() 139 if (unlikely(file->f_flags & O_DIRECT)) { in __linvfs_write() 183 if (!(filp->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) in linvfs_open()
|
/linux-2.4.37.9/drivers/char/drm/ |
D | drm_fops.h | 43 if (filp->f_flags & O_EXCL) return -EBUSY; /* No exclusive opens */ in DRM() 135 if (filp->f_flags & O_NONBLOCK) { in DRM()
|
/linux-2.4.37.9/arch/mips/boot/ |
D | ecoff.h | 11 unsigned short f_flags; /* flags */ member
|
/linux-2.4.37.9/drivers/ide/ |
D | ide-default.c | 46 if(filp->f_flags & O_NDELAY) in idedefault_open()
|
/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | fops.c | 44 if (filp->f_flags & O_EXCL) return -EBUSY; /* No exclusive opens */ in drm_open_helper() 161 if (filp->f_flags & O_NONBLOCK) { in drm_read()
|
/linux-2.4.37.9/fs/udf/ |
D | file.c | 163 if (file->f_flags & O_APPEND) in udf_file_write() 358 if ((inode->i_size & 0xFFFFFFFF80000000ULL) && !(filp->f_flags & O_LARGEFILE)) in udf_open_file()
|
/linux-2.4.37.9/drivers/block/ |
D | swim_iop.c | 383 if (fs->ref_count == -1 || filp->f_flags & O_EXCL) return -EBUSY; in floppy_open() 385 if (err == 0 && (filp->f_flags & O_NDELAY) == 0 in floppy_open() 399 if (filp->f_flags & O_EXCL) in floppy_open()
|
/linux-2.4.37.9/drivers/sound/ |
D | esssolo1.c | 1052 if (file->f_flags & O_NONBLOCK) { in solo1_read() 1145 if (file->f_flags & O_NONBLOCK) { in solo1_write() 1443 file->f_flags |= O_NONBLOCK; in solo1_ioctl() 1572 drain_dac(s, file->f_flags & O_NONBLOCK); in solo1_release() 1618 if (file->f_flags & O_NONBLOCK) { in solo1_open() 1756 if (file->f_flags & O_NONBLOCK) { in solo1_midi_read() 1821 if (file->f_flags & O_NONBLOCK) { in solo1_midi_write() 1864 if (file->f_flags & FMODE_WRITE) in solo1_midi_poll() 1866 if (file->f_flags & FMODE_READ) in solo1_midi_poll() 1869 if (file->f_flags & FMODE_READ) { in solo1_midi_poll() [all …]
|
D | midibuf.c | 293 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_write() 336 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_read()
|
/linux-2.4.37.9/drivers/sound/emu10k1/ |
D | midi.c | 117 if (file->f_flags & O_NONBLOCK) { in emu10k1_midi_open() 204 if (!(file->f_flags & O_NONBLOCK)) { in emu10k1_midi_release() 287 if (file->f_flags & O_NONBLOCK) in emu10k1_midi_read()
|
/linux-2.4.37.9/include/asm-alpha/ |
D | a.out.h | 22 __u16 f_opthdr, f_flags; member
|
/linux-2.4.37.9/arch/ppc/boot/include/ |
D | rs6000.h | 19 char f_flags[2]; /* flags */ member
|