Lines Matching refs:iattr
41 struct pthread_attr *iattr = (struct pthread_attr *) attr; in __pthread_getattr_np() local
47 memcpy (&iattr->schedparam, &thread->schedparam, in __pthread_getattr_np()
49 iattr->schedpolicy = thread->schedpolicy; in __pthread_getattr_np()
52 iattr->flags = thread->flags; in __pthread_getattr_np()
56 iattr->flags |= ATTR_FLAG_DETACHSTATE; in __pthread_getattr_np()
59 iattr->guardsize = thread->reported_guardsize; in __pthread_getattr_np()
66 iattr->stacksize = thread->stackblock_size - thread->guardsize; in __pthread_getattr_np()
68 iattr->stackaddr = (char *) thread->stackblock in __pthread_getattr_np()
71 iattr->stackaddr = (char *) thread->stackblock; in __pthread_getattr_np()
133 iattr->stackaddr = stack_end; in __pthread_getattr_np()
134 iattr->stacksize = in __pthread_getattr_np()
140 iattr->stacksize = (iattr->stacksize in __pthread_getattr_np()
144 if ((size_t) iattr->stacksize in __pthread_getattr_np()
145 > (size_t) iattr->stackaddr - last_to) in __pthread_getattr_np()
146 iattr->stacksize = (size_t) iattr->stackaddr - last_to; in __pthread_getattr_np()
149 if ((size_t) iattr->stacksize in __pthread_getattr_np()
150 > to - (size_t) iattr->stackaddr) in __pthread_getattr_np()
151 iattr->stacksize = to - (size_t) iattr->stackaddr; in __pthread_getattr_np()
169 iattr->flags |= ATTR_FLAG_STACKADDR; in __pthread_getattr_np()