Lines Matching refs:atomic_flag_works
995 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() argument
1012 assert(!(atomic_flag_works != NULL && inheritable)); in set_inheritable()
1014 if (atomic_flag_works != NULL && !inheritable) { in set_inheritable()
1015 if (*atomic_flag_works == -1) { in set_inheritable()
1019 *atomic_flag_works = !isInheritable; in set_inheritable()
1022 if (*atomic_flag_works) in set_inheritable()
1140 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() argument
1142 return set_inheritable(fd, inheritable, 1, atomic_flag_works); in _Py_set_inheritable()
1149 _Py_set_inheritable_async_safe(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable_async_safe() argument
1151 return set_inheritable(fd, inheritable, 0, atomic_flag_works); in _Py_set_inheritable_async_safe()
1160 int *atomic_flag_works; in _Py_open_impl() local
1166 atomic_flag_works = &_Py_open_cloexec_works; in _Py_open_impl()
1169 atomic_flag_works = NULL; in _Py_open_impl()
1193 if (set_inheritable(fd, 0, gil_held, atomic_flag_works) < 0) { in _Py_open_impl()