Searched refs:FMODE_OPENED (Results 1 – 6 of 6) sorted by relevance
208 file->f_mode |= FMODE_OPENED; in alloc_file()262 if (unlikely(!(file->f_mode & FMODE_OPENED))) in __fput()
777 f->f_mode = FMODE_PATH | FMODE_OPENED; in do_dentry_open()821 f->f_mode |= FMODE_OPENED; in do_dentry_open()888 BUG_ON(file->f_mode & FMODE_OPENED); /* once it's opened, it's opened */ in finish_open()
3047 if (file->f_mode & FMODE_OPENED) { in atomic_open()3260 if (file->f_mode & (FMODE_OPENED | FMODE_CREATED)) { in open_last_lookups()3286 if (!(file->f_mode & (FMODE_OPENED | FMODE_CREATED))) { in do_open()3319 if (!error && !(file->f_mode & FMODE_OPENED)) in do_open()3442 if (likely(file->f_mode & FMODE_OPENED)) in path_openat()
1276 if (!(file->f_mode & FMODE_OPENED)) in gfs2_atomic_open()
765 FMODE_OPENED/FMODE_CREATED, set in file->f_mode. Additionally, return
161 #define FMODE_OPENED ((__force fmode_t)0x80000) macro