/external/strace/ |
D | ldt.c | 49 unsigned *entry_number = get_tcb_priv_data(tcp); in print_user_desc() local 53 if (umove_or_printaddr(tcp, addr, &desc.entry_number)) in print_user_desc() 62 if (entry_number) in print_user_desc() 78 PRINT_FIELD_ID("{", desc, entry_number); in print_user_desc() 85 entry_number = xmalloc(sizeof(*entry_number)); in print_user_desc() 87 *entry_number = desc.entry_number; in print_user_desc() 88 set_tcb_priv_data(tcp, entry_number, free); in print_user_desc() 98 if (entry_number) { in print_user_desc() 99 if (*entry_number != desc.entry_number) { in print_user_desc() 100 if ((int) desc.entry_number == -1) in print_user_desc() [all …]
|
/external/strace/tests-mx32/ |
D | xet_thread_area_x86.c | 87 printf(" (entry_number=%u)", ptr->entry_number); in set_thread_area() 124 assert(ptr->entry_number == expected_ptr->entry_number); in get_thread_area() 144 (int) ptr->entry_number == -1 ? "-1" : NULL); in get_thread_area() 183 ta1->entry_number = -1; in main() 203 ta2->entry_number = 3141592653U; in main() 207 ta2->entry_number = -1; in main() 211 ta2->entry_number = ta1->entry_number; in main() 212 assert(set_rc == 0 || (int) ta2->entry_number == -1); in main()
|
D | print_user_desc.c | 50 printf("{entry_number=%u", us->entry_number); in print_user_desc()
|
D | modify_ldt.c | 118 us->entry_number = -1; in main()
|
/external/strace/tests/ |
D | xet_thread_area_x86.c | 87 printf(" (entry_number=%u)", ptr->entry_number); in set_thread_area() 124 assert(ptr->entry_number == expected_ptr->entry_number); in get_thread_area() 144 (int) ptr->entry_number == -1 ? "-1" : NULL); in get_thread_area() 183 ta1->entry_number = -1; in main() 203 ta2->entry_number = 3141592653U; in main() 207 ta2->entry_number = -1; in main() 211 ta2->entry_number = ta1->entry_number; in main() 212 assert(set_rc == 0 || (int) ta2->entry_number == -1); in main()
|
D | print_user_desc.c | 50 printf("{entry_number=%u", us->entry_number); in print_user_desc()
|
D | modify_ldt.c | 118 us->entry_number = -1; in main()
|
/external/strace/tests-m32/ |
D | xet_thread_area_x86.c | 87 printf(" (entry_number=%u)", ptr->entry_number); in set_thread_area() 124 assert(ptr->entry_number == expected_ptr->entry_number); in get_thread_area() 144 (int) ptr->entry_number == -1 ? "-1" : NULL); in get_thread_area() 183 ta1->entry_number = -1; in main() 203 ta2->entry_number = 3141592653U; in main() 207 ta2->entry_number = -1; in main() 211 ta2->entry_number = ta1->entry_number; in main() 212 assert(set_rc == 0 || (int) ta2->entry_number == -1); in main()
|
D | print_user_desc.c | 50 printf("{entry_number=%u", us->entry_number); in print_user_desc()
|
D | modify_ldt.c | 118 us->entry_number = -1; in main()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | sigreturn.c | 167 *var = LDT3(desc->entry_number); in add_ldt() 184 .entry_number = LDT_OFFSET + 0, in setup_ldt() 197 .entry_number = LDT_OFFSET + 1, in setup_ldt() 210 .entry_number = LDT_OFFSET + 3, in setup_ldt() 223 .entry_number = LDT_OFFSET + 4, in setup_ldt() 236 .entry_number = -1, in setup_ldt() 254 gdt_data16_desc.entry_number); in setup_ldt() 255 gdt_data16_idx = gdt_data16_desc.entry_number; in setup_ldt() 261 .entry_number = -1, in setup_ldt() 277 gdt_npdata32_desc.entry_number); in setup_ldt() [all …]
|
D | ldt_gdt.c | 152 desc.entry_number = gdt_entry_num; in install_valid_mode() 172 check_valid_segment(desc.entry_number, ldt, ar, limit, true); in install_valid_mode() 209 check_invalid_segment(desc->entry_number, 1); in install_invalid() 247 .entry_number = 0, in do_simple_tests() 265 desc.entry_number = 2; in do_simple_tests() 335 check_valid_segment(desc.entry_number, 1, in do_simple_tests() 358 desc.entry_number = i; in do_simple_tests() 376 desc.entry_number = 8192; in do_simple_tests() 573 .entry_number = 0, in do_multicpu_tests() 642 .entry_number = 0, in do_exec_test() [all …]
|
D | fsgsbase_restore.c | 63 .entry_number = 0, in init_seg() 85 low_desc->entry_number = -1; in init_seg() 103 printf("\tusing GDT slot %d\n", desc.entry_number); in init_seg() 105 unsigned short sel = (unsigned short)((desc.entry_number << 3) | 0x3); in init_seg()
|
D | fsgsbase.c | 260 .entry_number = 0, in load_gs() 283 low_desc->entry_number = set_thread_area_entry_number; in load_gs() 298 printf("\tusing GDT slot %d\n", desc.entry_number); in load_gs() 299 set_thread_area_entry_number = desc.entry_number; in load_gs() 301 unsigned short gs = (unsigned short)((desc.entry_number << 3) | 0x3); in load_gs()
|
/external/python/cpython3/Modules/clinic/ |
D | readline.c.h | 393 readline_remove_history_item_impl(PyObject *module, int entry_number); 399 int entry_number; in readline_remove_history_item() local 401 entry_number = _PyLong_AsInt(arg); in readline_remove_history_item() 402 if (entry_number == -1 && PyErr_Occurred()) { in readline_remove_history_item() 405 return_value = readline_remove_history_item_impl(module, entry_number); in readline_remove_history_item() 423 readline_replace_history_item_impl(PyObject *module, int entry_number, 430 int entry_number; in readline_replace_history_item() local 436 entry_number = _PyLong_AsInt(args[0]); in readline_replace_history_item() 437 if (entry_number == -1 && PyErr_Occurred()) { in readline_replace_history_item() 448 return_value = readline_replace_history_item_impl(module, entry_number, line); in readline_replace_history_item()
|
/external/python/cpython2/Modules/ |
D | readline.c | 409 int entry_number; in py_remove_history() local 412 if (!PyArg_ParseTuple(args, "i:remove_history_item", &entry_number)) in py_remove_history() 414 if (entry_number < 0) { in py_remove_history() 419 entry = remove_history(entry_number); in py_remove_history() 423 entry_number); in py_remove_history() 438 int entry_number; in py_replace_history() local 442 if (!PyArg_ParseTuple(args, "is:replace_history_item", &entry_number, in py_replace_history() 446 if (entry_number < 0) { in py_replace_history() 451 old_entry = replace_history_entry(entry_number, line, (void *)NULL); in py_replace_history() 455 entry_number); in py_replace_history()
|
/external/ltp/testcases/kernel/syscalls/fork/ |
D | fork05.c | 120 unsigned int entry_number; member 146 ldt0.entry_number = 0; in main()
|
/external/ltp/testcases/kernel/syscalls/set_thread_area/ |
D | set_thread_area01.c | 52 static struct user_desc u_info1 = {.entry_number = -1 }; 53 static struct user_desc u_info2 = {.entry_number = -2 };
|
D | set_thread_area.h | 19 unsigned int entry_number; member
|
/external/python/cpython3/Modules/ |
D | readline.c | 622 readline_remove_history_item_impl(PyObject *module, int entry_number) in readline_remove_history_item_impl() argument 627 if (entry_number < 0) { in readline_remove_history_item_impl() 632 entry = remove_history(entry_number); in readline_remove_history_item_impl() 636 entry_number); in readline_remove_history_item_impl() 657 readline_replace_history_item_impl(PyObject *module, int entry_number, in readline_replace_history_item_impl() argument 664 if (entry_number < 0) { in readline_replace_history_item_impl() 674 entry_number + libedit_append_replace_history_offset, in readline_replace_history_item_impl() 680 entry_number); in readline_replace_history_item_impl()
|
/external/ltp/testcases/kernel/syscalls/modify_ldt/ |
D | modify_ldt02.c | 71 unsigned int entry_number; member 149 entry.entry_number = 0; in create_segment()
|
D | modify_ldt01.c | 75 unsigned int entry_number; member 190 entry.entry_number = 0; in create_segment()
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | ldt.h | 22 unsigned int entry_number; member
|
/external/ltp/testcases/cve/ |
D | cve-2017-17053.c | 105 struct user_desc desc = { .entry_number = 8191 }; in run_test()
|
D | cve-2015-3290.c | 187 .entry_number = 0, in set_ldt()
|