Searched refs:FMODE_OPENED (Results 1 – 6 of 6) sorted by relevance
207 file->f_mode |= FMODE_OPENED; in alloc_file()261 if (unlikely(!(file->f_mode & FMODE_OPENED))) in __fput()
782 f->f_mode = FMODE_PATH | FMODE_OPENED; in do_dentry_open()826 f->f_mode |= FMODE_OPENED; in do_dentry_open()902 BUG_ON(file->f_mode & FMODE_OPENED); /* once it's opened, it's opened */ in finish_open()
3148 if (file->f_mode & FMODE_OPENED) { in atomic_open()3366 if (file->f_mode & (FMODE_OPENED | FMODE_CREATED)) { in open_last_lookups()3393 if (!(file->f_mode & (FMODE_OPENED | FMODE_CREATED))) { in do_open()3427 if (!error && !(file->f_mode & FMODE_OPENED)) in do_open()3565 if (likely(file->f_mode & FMODE_OPENED)) in path_openat()
1283 if (!(file->f_mode & FMODE_OPENED)) in gfs2_atomic_open()
767 FMODE_OPENED/FMODE_CREATED, set in file->f_mode. Additionally, return
163 #define FMODE_OPENED ((__force fmode_t)0x80000) macro