Home
last modified time | relevance | path

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

12345678910>>...13

/linux-2.6.39/arch/mips/include/asm/
Dstatfs.h36 long f_flags; member
57 __u32 f_flags; member
78 long f_flags; member
94 __u32 f_flags; member
/linux-2.6.39/arch/s390/include/asm/
Dstatfs.h36 int f_flags; member
51 int f_flags; member
66 __u32 f_flags; member
/linux-2.6.39/fs/ceph/
Dfile.c135 flags = file->f_flags & ~(O_CREAT|O_EXCL); in ceph_open()
140 ceph_vinop(inode), file, flags, file->f_flags); in ceph_open()
383 (file->f_flags & O_DIRECT) ? "O_DIRECT" : ""); in ceph_sync_read()
385 if (file->f_flags & O_DIRECT) { in ceph_sync_read()
406 file->f_flags & O_DIRECT, in ceph_sync_read()
409 if (ret >= 0 && (file->f_flags & O_DIRECT) == 0) in ceph_sync_read()
415 if (file->f_flags & O_DIRECT) in ceph_sync_read()
471 (unsigned)left, (file->f_flags & O_DIRECT) ? "O_DIRECT" : ""); in ceph_sync_write()
473 if (file->f_flags & O_APPEND) in ceph_sync_write()
494 if ((file->f_flags & (O_SYNC|O_DIRECT)) == 0) in ceph_sync_write()
[all …]
/linux-2.6.39/include/asm-generic/
Dstatfs.h36 __statfs_word f_flags; member
59 __statfs_word f_flags; member
82 __u32 f_flags; member
/linux-2.6.39/fs/ecryptfs/
Dfile.c167 && ((file->f_flags & O_WRONLY) || (file->f_flags & O_RDWR) in ecryptfs_open()
168 || (file->f_flags & O_CREAT) || (file->f_flags & O_TRUNC) in ecryptfs_open()
169 || (file->f_flags & O_APPEND))) { in ecryptfs_open()
202 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) in ecryptfs_open()
203 == O_RDONLY && (file->f_flags & O_ACCMODE) != O_RDONLY) { in ecryptfs_open()
/linux-2.6.39/fs/
Dstatfs.c71 buf->f_flags = calculate_f_flags(path->mnt); in vfs_statfs()
132 buf.f_flags = st->f_flags; in do_statfs_native()
156 buf.f_flags = st->f_flags; in do_statfs64()
Dfcntl.c157 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) in setfl()
161 if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) in setfl()
184 if (((arg ^ filp->f_flags) & FASYNC) && filp->f_op && in setfl()
193 filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK); in setfl()
367 err = filp->f_flags; in do_fcntl()
687 filp->f_flags &= ~FASYNC; in fasync_remove_entry()
740 filp->f_flags |= FASYNC; in fasync_insert_entry()
Dfifo.c65 if ((filp->f_flags & O_NONBLOCK)) { in fifo_open()
84 if ((filp->f_flags & O_NONBLOCK) && !pipe->readers) in fifo_open()
Dopen.c149 if (file->f_flags & O_LARGEFILE) in do_sys_ftruncate()
678 f->f_mode = OPEN_FMODE(f->f_flags) | FMODE_LSEEK | in __dentry_open()
681 if (unlikely(f->f_flags & O_PATH)) in __dentry_open()
720 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in __dentry_open()
725 if (f->f_flags & O_DIRECT) { in __dentry_open()
849 f->f_flags = flags; in dentry_open()
1142 if (!(filp->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) in generic_file_open()
Dsync.c240 if (!(file->f_flags & O_DSYNC) && !IS_SYNC(file->f_mapping->host)) in generic_write_sync()
243 (file->f_flags & __O_SYNC) ? 0 : 1); in generic_write_sync()
/linux-2.6.39/drivers/char/pcmcia/
Dcm4000_cs.c944 ((filp->f_flags & O_NONBLOCK) in cmm_read()
946 if (filp->f_flags & O_NONBLOCK) in cmm_read()
957 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { in cmm_read()
958 if (filp->f_flags & O_NONBLOCK) in cmm_read()
966 ((filp->f_flags & O_NONBLOCK) in cmm_read()
968 if (filp->f_flags & O_NONBLOCK) in cmm_read()
1096 ((filp->f_flags & O_NONBLOCK) in cmm_write()
1098 if (filp->f_flags & O_NONBLOCK) in cmm_write()
1111 ((filp->f_flags & O_NONBLOCK) in cmm_write()
1113 if (filp->f_flags & O_NONBLOCK) in cmm_write()
[all …]
/linux-2.6.39/fs/coda/
Dfile.c137 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open()
155 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open()
168 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
/linux-2.6.39/fs/9p/
Dvfs_file.c68 omode = file->f_flags; in v9fs_file_open()
70 omode = v9fs_uflags2omode(file->f_flags, in v9fs_file_open()
83 if (file->f_flags & O_TRUNC) { in v9fs_file_open()
87 if ((file->f_flags & O_APPEND) && in v9fs_file_open()
95 ((file->f_flags & O_ACCMODE) != O_RDONLY)) { in v9fs_file_open()
622 if (filp->f_flags & O_DIRECT) in v9fs_cached_file_read()
692 if (filp->f_flags & O_DIRECT) in v9fs_cached_file_write()
/linux-2.6.39/fs/notify/fanotify/
Dfanotify_user.c88 group->fanotify_data.f_flags | FMODE_NONOTIFY, in create_fd()
350 if (file->f_flags & O_NONBLOCK) in fanotify_read()
680 int f_flags, fd; in SYSCALL_DEFINE2() local
698 f_flags = O_RDWR | FMODE_NONOTIFY; in SYSCALL_DEFINE2()
700 f_flags |= O_CLOEXEC; in SYSCALL_DEFINE2()
702 f_flags |= O_NONBLOCK; in SYSCALL_DEFINE2()
714 group->fanotify_data.f_flags = event_f_flags; in SYSCALL_DEFINE2()
754 fd = anon_inode_getfd("[fanotify]", &fanotify_fops, group, f_flags); in SYSCALL_DEFINE2()
/linux-2.6.39/drivers/char/
Dsnsc.c172 if (file->f_flags & O_NONBLOCK) { in scdrv_read()
191 if (file->f_flags & O_NONBLOCK) { in scdrv_read()
264 if (file->f_flags & O_NONBLOCK) { in scdrv_write()
288 if (file->f_flags & O_NONBLOCK) { in scdrv_write()
/linux-2.6.39/fs/cifs/
Dfile.c108 struct super_block *sb, int mode, unsigned int f_flags, in cifs_posix_open() argument
134 posix_flags = cifs_posix_convert_flags(f_flags); in cifs_posix_open()
171 struct cifsTconInfo *tcon, unsigned int f_flags, __u32 *poplock, in cifs_nt_open() argument
179 desiredAccess = cifs_convert_flags(f_flags); in cifs_nt_open()
205 disposition = cifs_get_disposition(f_flags); in cifs_nt_open()
257 pCifsFile->f_flags = file->f_flags; in cifs_new_fileinfo()
370 inode, file->f_flags, full_path); in cifs_open()
384 file->f_flags, &oplock, &netfid, xid); in cifs_open()
406 file->f_flags, &oplock, &netfid, xid); in cifs_open()
494 inode, pCifsFile->f_flags, full_path); in cifs_reopen_file()
[all …]
/linux-2.6.39/drivers/media/dvb/dvb-core/
Ddmxdev.c140 if ((file->f_flags & O_ACCMODE) == O_RDWR) { in dvb_dvr_open()
147 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_dvr_open()
162 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_open()
191 if ((file->f_flags & O_ACCMODE) == O_WRONLY) { in dvb_dvr_release()
196 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_dvr_release()
229 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in dvb_dvr_write()
253 file->f_flags & O_NONBLOCK, in dvb_dvr_read()
916 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec()
937 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec()
959 file->f_flags & O_NONBLOCK, in dvb_demux_read()
[all …]
/linux-2.6.39/drivers/media/dvb/ttpci/
Dav7110_av.c949 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in dvb_video_poll()
957 if ((file->f_flags & O_ACCMODE) != O_RDONLY) { in dvb_video_poll()
977 if ((file->f_flags & O_ACCMODE) == O_RDONLY) in dvb_video_write()
986 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write()
988 return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write()
1027 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write()
1029 return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write()
1105 if ((file->f_flags & O_ACCMODE) == O_RDONLY) { in dvb_video_ioctl()
1181 ret = dvb_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl()
1229 file->f_flags & O_NONBLOCK); in dvb_video_ioctl()
[all …]
/linux-2.6.39/include/linux/
Dstatfs.h18 long f_flags; member
/linux-2.6.39/fs/nfs/
Dfile.c129 res = nfs_check_flags(filp->f_flags); in nfs_file_open()
169 if (filp->f_flags & O_DIRECT) in nfs_revalidate_file_size()
236 if (iocb->ki_filp->f_flags & O_DIRECT) in nfs_file_read()
599 if (IS_SYNC(inode) || (filp->f_flags & O_DSYNC)) in nfs_need_sync_write()
616 if (iocb->ki_filp->f_flags & O_DIRECT) in nfs_file_write()
629 if (iocb->ki_filp->f_flags & O_APPEND) { in nfs_file_write()
/linux-2.6.39/sound/core/seq/oss/
Dseq_oss_init.c299 if ((file->f_flags & O_ACCMODE) != O_RDONLY) in translate_mode()
301 if ((file->f_flags & O_ACCMODE) != O_WRONLY) in translate_mode()
303 if (file->f_flags & O_NONBLOCK) in translate_mode()
/linux-2.6.39/arch/alpha/kernel/
Dbinfmt_loader.c15 if (eh->fh.f_magic != 0x183 || (eh->fh.f_flags & 0x3000) != 0x3000) in load_binary()
/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_file.c259 if (unlikely(file->f_flags & O_DIRECT)) in xfs_file_aio_read()
851 if (unlikely(file->f_flags & O_DIRECT)) in xfs_file_aio_write()
864 if ((file->f_flags & O_DSYNC) || IS_SYNC(inode)) { in xfs_file_aio_write()
873 (file->f_flags & __O_SYNC) ? 0 : 1); in xfs_file_aio_write()
922 if (file->f_flags & O_DSYNC) in xfs_file_fallocate()
949 if (!(file->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) in xfs_file_open()
/linux-2.6.39/fs/proc/
Dkmsg.c36 if ((file->f_flags & O_NONBLOCK) && in kmsg_read()
/linux-2.6.39/arch/mips/boot/
Decoff.h11 unsigned short f_flags; /* flags */ member

12345678910>>...13