Lines Matching refs:pos
211 unsigned int pos, unsigned int count, in regset_tls_get() argument
216 if (pos >= GDT_ENTRY_TLS_ENTRIES * sizeof(struct user_desc) || in regset_tls_get()
217 (pos % sizeof(struct user_desc)) != 0 || in regset_tls_get()
221 pos /= sizeof(struct user_desc); in regset_tls_get()
224 tls = &target->thread.tls_array[pos]; in regset_tls_get()
229 fill_user_desc(info++, GDT_ENTRY_TLS_MIN + pos++, in regset_tls_get()
235 fill_user_desc(&info, GDT_ENTRY_TLS_MIN + pos++, tls++); in regset_tls_get()
245 unsigned int pos, unsigned int count, in regset_tls_set() argument
252 if (pos >= GDT_ENTRY_TLS_ENTRIES * sizeof(struct user_desc) || in regset_tls_set()
253 (pos % sizeof(struct user_desc)) != 0 || in regset_tls_set()
269 GDT_ENTRY_TLS_MIN + (pos / sizeof(struct user_desc)), in regset_tls_set()