Searched refs:open_flags (Results 1 – 1 of 1) sorted by relevance
1277 int open_flags = fi->flags; in pf_open() local1278 if (open_flags & O_WRONLY) { in pf_open()1279 open_flags &= ~O_WRONLY; in pf_open()1280 open_flags |= O_RDWR; in pf_open()1283 if (open_flags & O_APPEND) { in pf_open()1284 open_flags &= ~O_APPEND; in pf_open()1287 const int fd = open(io_path.c_str(), open_flags); in pf_open()1817 int open_flags = fi->flags; in pf_create() local1818 if (open_flags & O_WRONLY) { in pf_create()1819 open_flags &= ~O_WRONLY; in pf_create()[all …]