Lines Matching refs:f_mode
3329 if (file->f_mode & FMODE_OPENED) { in atomic_open()
3383 file->f_mode &= ~FMODE_CREATED; in lookup_open()
3455 file->f_mode |= FMODE_CREATED; in lookup_open()
3533 if (!IS_ERR(dentry) && (file->f_mode & FMODE_CREATED)) in open_last_lookups()
3546 if (file->f_mode & (FMODE_OPENED | FMODE_CREATED)) { in open_last_lookups()
3573 if (!(file->f_mode & (FMODE_OPENED | FMODE_CREATED))) { in do_open()
3578 if (!(file->f_mode & FMODE_CREATED)) in do_open()
3582 if ((open_flag & O_EXCL) && !(file->f_mode & FMODE_CREATED)) in do_open()
3596 if (file->f_mode & FMODE_CREATED) { in do_open()
3607 if (!error && !(file->f_mode & FMODE_OPENED)) in do_open()
3746 if (likely(file->f_mode & FMODE_OPENED)) in path_openat()