Lines Matching refs:iattr
636 const struct pthread_attr *iattr = (struct pthread_attr *) attr; in __pthread_create_2_1() local
640 if (iattr == NULL || c11) in __pthread_create_2_1()
646 iattr = &default_attr.internal; in __pthread_create_2_1()
650 int err = allocate_stack (iattr, &pd, &stackaddr, &stacksize); in __pthread_create_2_1()
684 pd->flags = ((iattr->flags & ~(ATTR_FLAG_SCHED_SET | ATTR_FLAG_POLICY_SET)) in __pthread_create_2_1()
695 pd->joinid = iattr->flags & ATTR_FLAG_DETACHSTATE ? pd : NULL; in __pthread_create_2_1()
725 if (__builtin_expect ((iattr->flags & ATTR_FLAG_NOTINHERITSCHED) != 0, 0) in __pthread_create_2_1()
726 && (iattr->flags & (ATTR_FLAG_SCHED_SET | ATTR_FLAG_POLICY_SET)) != 0) in __pthread_create_2_1()
729 if (iattr->flags & ATTR_FLAG_POLICY_SET) in __pthread_create_2_1()
731 pd->schedpolicy = iattr->schedpolicy; in __pthread_create_2_1()
734 if (iattr->flags & ATTR_FLAG_SCHED_SET) in __pthread_create_2_1()
737 pd->schedparam = iattr->schedparam; in __pthread_create_2_1()
775 if (iattr->extension != NULL && iattr->extension->sigmask_set) in __pthread_create_2_1()
779 internal_sigset_from_sigset (&pd->sigmask, &iattr->extension->sigmask); in __pthread_create_2_1()
799 retval = create_thread (pd, iattr, &stopped_start, stackaddr, in __pthread_create_2_1()
831 retval = create_thread (pd, iattr, &stopped_start, stackaddr, in __pthread_create_2_1()
919 struct pthread_attr *iattr = (struct pthread_attr *) attr; in __pthread_create_2_0() local
923 new_attr.schedparam = iattr->schedparam; in __pthread_create_2_0()
924 new_attr.schedpolicy = iattr->schedpolicy; in __pthread_create_2_0()
925 new_attr.flags = iattr->flags; in __pthread_create_2_0()