Searched refs:FMODE_OPENED (Results 1 – 6 of 6) sorted by relevance
311 file->f_mode |= FMODE_OPENED; in alloc_file()365 if (unlikely(!(file->f_mode & FMODE_OPENED))) in __fput()
887 f->f_mode = FMODE_PATH | FMODE_OPENED; in do_dentry_open()933 f->f_mode |= FMODE_OPENED; in do_dentry_open()1021 BUG_ON(file->f_mode & FMODE_OPENED); /* once it's opened, it's opened */ in finish_open()
3357 if (file->f_mode & FMODE_OPENED) { in atomic_open()3572 if (file->f_mode & (FMODE_OPENED | FMODE_CREATED)) { in open_last_lookups()3599 if (!(file->f_mode & (FMODE_OPENED | FMODE_CREATED))) { in do_open()3633 if (!error && !(file->f_mode & FMODE_OPENED)) in do_open()3795 if (likely(file->f_mode & FMODE_OPENED)) in path_openat()
1301 if (!(file->f_mode & FMODE_OPENED)) in gfs2_atomic_open()
153 #define FMODE_OPENED ((__force fmode_t)0x80000) macro
768 FMODE_OPENED/FMODE_CREATED, set in file->f_mode. Additionally, return