Home
last modified time | relevance | path

Searched refs:p9_omode (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/9p/
Dvfs_inode_dotl.c235 int p9_omode = v9fs_open_to_dotl_flags(flags); in v9fs_vfs_atomic_open_dotl() local
290 if ((v9ses->cache & CACHE_WRITEBACK) && (p9_omode & P9_OWRITE)) { in v9fs_vfs_atomic_open_dotl()
291 p9_omode = (p9_omode & ~P9_OWRITE) | P9_ORDWR; in v9fs_vfs_atomic_open_dotl()
295 err = p9_client_create_dotl(ofid, name, p9_omode, mode, gid, &qid); in v9fs_vfs_atomic_open_dotl()
Dvfs_inode.c801 int p9_omode; in v9fs_vfs_atomic_open() local
818 p9_omode = v9fs_uflags2omode(flags, v9fs_proto_dotu(v9ses)); in v9fs_vfs_atomic_open()
820 if ((v9ses->cache & CACHE_WRITEBACK) && (p9_omode & P9_OWRITE)) { in v9fs_vfs_atomic_open()
821 p9_omode = (p9_omode & ~P9_OWRITE) | P9_ORDWR; in v9fs_vfs_atomic_open()
825 fid = v9fs_create(v9ses, dir, dentry, NULL, perm, p9_omode); in v9fs_vfs_atomic_open()