Lines Matching refs:read_write
1032 static fd_t open_reference_profile(uid_t uid, const char* pkgname, bool read_write) {
1034 int flags = read_write ? O_RDWR | O_CREAT : O_RDONLY;
1039 if (read_write) {
1052 *reference_profile_fd = open_reference_profile(uid, pkgname, /*read_write*/ true);
1418 reference_profile_fd = open_reference_profile(uid, pkgname, /*read_write*/ false);