Lines Matching refs:idx

65 	uint32_t idx;  in tls_thread_entry()  local
67 idx = (uint32_t)POINTER_TO_UINT(p1); in tls_thread_entry()
71 tls_result[idx] = ERR_BAD_STATIC_DATA; in tls_thread_entry()
76 tls_result[idx] = ERR_BAD_STATIC_DATA; in tls_thread_entry()
81 tls_result[idx] = ERR_BAD_STATIC_DATA; in tls_thread_entry()
86 tls_result[idx] = ERR_BSS_NOT_ZERO; in tls_thread_entry()
91 tls_result[idx] = ERR_BSS_NOT_ZERO; in tls_thread_entry()
96 tls_result[idx] = ERR_BSS_NOT_ZERO; in tls_thread_entry()
101 thread_data8 = STATIC_DATA8 + idx; in tls_thread_entry()
102 thread_bss8 = PREFIX_8 + idx; in tls_thread_entry()
104 thread_data32 = STATIC_DATA32 + idx; in tls_thread_entry()
105 thread_bss32 = PREFIX_32 + idx; in tls_thread_entry()
107 thread_data64 = STATIC_DATA64 + idx; in tls_thread_entry()
108 thread_bss64 = PREFIX_64 + idx; in tls_thread_entry()
113 if (thread_data8 != (STATIC_DATA8 + idx)) { in tls_thread_entry()
114 tls_result[idx] = ERR_DATA_CHANGED_BY_OTHERS; in tls_thread_entry()
118 if (thread_data32 != (STATIC_DATA32 + idx)) { in tls_thread_entry()
119 tls_result[idx] = ERR_DATA_CHANGED_BY_OTHERS; in tls_thread_entry()
123 if (thread_data64 != (STATIC_DATA64 + idx)) { in tls_thread_entry()
124 tls_result[idx] = ERR_DATA_CHANGED_BY_OTHERS; in tls_thread_entry()
128 if (thread_bss8 != (PREFIX_8 + idx)) { in tls_thread_entry()
129 tls_result[idx] = ERR_BSS_CHANGED_BY_OTHERS; in tls_thread_entry()
133 if (thread_bss32 != (PREFIX_32 + idx)) { in tls_thread_entry()
134 tls_result[idx] = ERR_BSS_CHANGED_BY_OTHERS; in tls_thread_entry()
138 if (thread_bss64 != (PREFIX_64 + idx)) { in tls_thread_entry()
139 tls_result[idx] = ERR_BSS_CHANGED_BY_OTHERS; in tls_thread_entry()
144 tls_result[idx] = TEST_OK; in tls_thread_entry()