Searched refs:old_flags (Results 1 – 2 of 2) sorted by relevance
1182 int old_flags = fcntl (STDOUT_FILENO, F_GETFL); in iwrite() local1183 if (fcntl (STDOUT_FILENO, F_SETFL, old_flags & ~O_DIRECT) != 0 in iwrite()2055 int old_flags = fcntl (fd, F_GETFL); in set_fd_flags() local2056 int new_flags = old_flags | add_flags; in set_fd_flags()2058 if (old_flags < 0) in set_fd_flags()2060 else if (old_flags != new_flags) in set_fd_flags()2082 if (ok && old_flags != new_flags in set_fd_flags()
1182 int old_flags = fcntl (fd, F_GETFL); in tail_forever() local1183 int new_flags = old_flags | (blocking ? 0 : O_NONBLOCK); in tail_forever()1184 if (old_flags < 0 in tail_forever()1185 || (new_flags != old_flags in tail_forever()