Lines Matching refs:size
53 unsigned long size; member
57 #define DTV_SIZE(size) (sizeof(union dtv) + (size)) argument
91 size_t size = 0; in __utee_tcb_init() local
121 size = DTV_SIZE((__elf_phdr_info.count + 1) * sizeof(union dtv)); in __utee_tcb_init()
122 _tcb->dtv = realloc(_tcb->dtv, size); in __utee_tcb_init()
124 EMSG("DTV allocation failed (%zu bytes)", size); in __utee_tcb_init()
129 size = 0; in __utee_tcb_init()
136 if (size + phdr->p_memsz <= _tls_size) { in __utee_tcb_init()
140 _tcb->dtv[i + 1].tls = _tcb->tls + size; in __utee_tcb_init()
142 memcpy(_tcb->tls + size, in __utee_tcb_init()
146 memset(_tcb->tls + size + phdr->p_filesz, 0, in __utee_tcb_init()
148 size += phdr->p_memsz; in __utee_tcb_init()
151 _tcb->dtv[0].size = i; in __utee_tcb_init()