Home
last modified time | relevance | path

Searched refs:user_desc (Results 1 – 25 of 27) sorted by relevance

12

/external/strace/tests-mx32/
Dxet_thread_area_x86.c72 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in set_thread_area()
112 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in get_thread_area()
113 struct user_desc *expected_ptr = in get_thread_area()
114 (struct user_desc *) (uintptr_t) expected; in get_thread_area()
156 struct user_desc *ta1 = tail_alloc(sizeof(*ta1)); in main()
157 struct user_desc *ta2 = tail_alloc(sizeof(*ta2)); in main()
Dprint_user_desc.c45 print_user_desc(struct user_desc *us, const char *entry_str) in print_user_desc()
Dmodify_ldt.c70 struct user_desc *us = tail_alloc(sizeof(*us)); in main()
/external/strace/tests/
Dxet_thread_area_x86.c72 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in set_thread_area()
112 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in get_thread_area()
113 struct user_desc *expected_ptr = in get_thread_area()
114 (struct user_desc *) (uintptr_t) expected; in get_thread_area()
156 struct user_desc *ta1 = tail_alloc(sizeof(*ta1)); in main()
157 struct user_desc *ta2 = tail_alloc(sizeof(*ta2)); in main()
Dprint_user_desc.c45 print_user_desc(struct user_desc *us, const char *entry_str) in print_user_desc()
Dmodify_ldt.c70 struct user_desc *us = tail_alloc(sizeof(*us)); in main()
/external/strace/tests-m32/
Dxet_thread_area_x86.c72 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in set_thread_area()
112 struct user_desc *ptr = (struct user_desc *) (uintptr_t) ptr_val; in get_thread_area()
113 struct user_desc *expected_ptr = in get_thread_area()
114 (struct user_desc *) (uintptr_t) expected; in get_thread_area()
156 struct user_desc *ta1 = tail_alloc(sizeof(*ta1)); in main()
157 struct user_desc *ta2 = tail_alloc(sizeof(*ta2)); in main()
Dprint_user_desc.c45 print_user_desc(struct user_desc *us, const char *entry_str) in print_user_desc()
Dmodify_ldt.c70 struct user_desc *us = tail_alloc(sizeof(*us)); in main()
/external/linux-kselftest/tools/testing/selftests/x86/
Dldt_gdt.c59 static struct user_desc *low_user_desc;
60 static struct user_desc *low_user_desc_clear; /* Use to delete GDT entry */
139 static bool install_valid_mode(const struct user_desc *d, uint32_t ar, in install_valid_mode()
142 struct user_desc desc = *d; in install_valid_mode()
189 static bool install_valid(const struct user_desc *desc, uint32_t ar) in install_valid()
202 static void install_invalid(const struct user_desc *desc, bool oldmode) in install_invalid()
223 static int safe_modify_ldt(int func, struct user_desc *ptr, in safe_modify_ldt()
232 static void fail_install(struct user_desc *desc) in fail_install()
246 struct user_desc desc = { in do_simple_tests()
451 const struct user_desc desc = {}; in threadproc()
[all …]
Dsigreturn.c174 static void add_ldt(const struct user_desc *desc, unsigned short *var, in add_ldt()
194 const struct user_desc code16_desc = { in setup_ldt()
207 const struct user_desc data16_desc = { in setup_ldt()
220 const struct user_desc npcode32_desc = { in setup_ldt()
233 const struct user_desc npdata32_desc = { in setup_ldt()
246 struct user_desc gdt_data16_desc = { in setup_ldt()
271 struct user_desc gdt_npdata32_desc = { in setup_ldt()
Dfsgsbase.c219 struct user_desc desc = { in do_unexpected_base()
236 struct user_desc *low_desc = mmap( in do_unexpected_base()
/external/ltp/testcases/kernel/syscalls/set_thread_area/
Dset_thread_area.h14 typedef struct user_desc thread_area_s;
18 typedef struct user_desc { struct
Dset_thread_area01.c52 static struct user_desc u_info1 = {.entry_number = -1 };
53 static struct user_desc u_info2 = {.entry_number = -2 };
/external/strace/
Dldt.c48 struct user_desc desc; in print_user_desc()
139 if (tcp->u_arg[2] != sizeof(struct user_desc)) in SYS_FUNC()
166 struct user_desc desc; in SYS_FUNC()
Dconfigure.ac306 AC_CHECK_TYPES([struct user_desc],
307 [AC_CHECK_MEMBERS([struct user_desc.lm],,,
Dconfig.h.in1247 /* Define to 1 if the system has the type `struct user_desc'. */
1250 /* Define to 1 if `lm' is a member of `struct user_desc'. */
Dconfigure9590 ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h>
9598 ac_fn_c_check_member "$LINENO" "struct user_desc" "lm" "ac_cv_member_struct_user_desc_lm" "#include…
/external/kernel-headers/original/uapi/asm-x86/asm/
Dldt.h21 struct user_desc { struct
/external/ltp/testcases/kernel/syscalls/modify_ldt/
Dmodify_ldt03.c41 # define SIZE sizeof(struct user_desc)
Dmodify_ldt02.c66 typedef struct user_desc modify_ldt_s;
Dmodify_ldt01.c70 typedef struct user_desc modify_ldt_s;
/external/ltp/m4/
Dltp-modify_ldt.m430 AC_CHECK_TYPES([struct user_desc, struct modify_ldt_ldt_s],[],[],[dnl
/external/ltp/include/
Dconfig.h.default182 /* Define to 1 if the system has the type `struct user_desc'. */
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-x86-linux.c808 PRE_REG_READ1(int, "set_thread_area", struct user_desc *, u_info) in PRE()
818 PRE_REG_READ1(int, "get_thread_area", struct user_desc *, u_info) in PRE()

12