Home
last modified time | relevance | path

Searched refs:low_desc (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/x86/
H A Dfsgsbase_restore.c78 struct user_desc *low_desc = mmap( in init_seg() local
82 memcpy(low_desc, &desc, sizeof(desc)); in init_seg()
84 low_desc->entry_number = -1; in init_seg()
89 : "=a" (ret), "+m" (*low_desc) in init_seg()
90 : "a" (243), "b" (low_desc) in init_seg()
95 memcpy(&desc, low_desc, sizeof(desc)); in init_seg()
96 munmap(low_desc, sizeof(desc)); in init_seg()
H A Dfsgsbase.c271 struct user_desc *low_desc = mmap( in load_gs() local
275 memcpy(low_desc, &desc, sizeof(desc)); in load_gs()
277 low_desc->entry_number = set_thread_area_entry_number; in load_gs()
282 : "=a" (ret), "+m" (*low_desc) in load_gs()
283 : "a" (243), "b" (low_desc) in load_gs()
285 memcpy(&desc, low_desc, sizeof(desc)); in load_gs()
286 munmap(low_desc, sizeof(desc)); in load_gs()