Home
last modified time | relevance | path

Searched refs:f_flags (Results 1 – 25 of 220) sorted by relevance

123456789

/linux-2.4.37.9/fs/
Dioctl.c79 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()
Dfifo.c60 if ((filp->f_flags & O_NONBLOCK)) { in fifo_open()
80 if ((filp->f_flags & O_NONBLOCK) && !PIPE_READERS(*inode)) in fifo_open()
Dpipe.c68 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()
Dfcntl.c218 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()
Dopen.c202 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/
Dfile.c112 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/
Dfile.c49 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/
Dtimod.c505 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/
Dfile.c125 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/
Dsocket.c367 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/
Damd768_rng.c104 if (filp->f_flags & O_NONBLOCK) { in rng_dev_open()
152 if (filp->f_flags & O_NONBLOCK) in rng_dev_read()
Di810_rng.c190 if (filp->f_flags & O_NONBLOCK) { in rng_dev_open()
244 if (filp->f_flags & O_NONBLOCK) in rng_dev_read()
Dppdev.c133 (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/
Dxfs_file.c74 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/
Ddrm_fops.h43 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/
Decoff.h11 unsigned short f_flags; /* flags */ member
/linux-2.4.37.9/drivers/ide/
Dide-default.c46 if(filp->f_flags & O_NDELAY) in idedefault_open()
/linux-2.4.37.9/drivers/char/drm-4.0/
Dfops.c44 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/
Dfile.c163 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/
Dswim_iop.c383 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/
Desssolo1.c1052 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 …]
Dmidibuf.c293 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/
Dmidi.c117 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/
Da.out.h22 __u16 f_opthdr, f_flags; member
/linux-2.4.37.9/arch/ppc/boot/include/
Drs6000.h19 char f_flags[2]; /* flags */ member

123456789