Home
last modified time | relevance | path

Searched refs:FMODE_OPENED (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/fs/
Dfile_table.c311 file->f_mode |= FMODE_OPENED; in alloc_file()
365 if (unlikely(!(file->f_mode & FMODE_OPENED))) in __fput()
Dopen.c887 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()
Dnamei.c3357 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()
/linux-6.6.21/fs/gfs2/
Dinode.c1301 if (!(file->f_mode & FMODE_OPENED)) in gfs2_atomic_open()
/linux-6.6.21/include/linux/
Dfs.h153 #define FMODE_OPENED ((__force fmode_t)0x80000) macro
/linux-6.6.21/Documentation/filesystems/
Dporting.rst768 FMODE_OPENED/FMODE_CREATED, set in file->f_mode. Additionally, return