Lines Matching defs:ldt_entry
76 entry_number = i386_set_ldt(LDT_AUTO_ALLOC, reinterpret_cast<ldt_entry*>(&entry), 1);
97 user_desc ldt_entry;
98 memset(&ldt_entry, 0, sizeof(ldt_entry));
99 ldt_entry.entry_number = entry_number;
100 ldt_entry.base_addr = base;
101 ldt_entry.limit = limit;
102 ldt_entry.seg_32bit = seg_32bit;
103 ldt_entry.contents = contents;
104 ldt_entry.read_exec_only = read_exec_only;
105 ldt_entry.limit_in_pages = limit_in_pages;
106 ldt_entry.seg_not_present = seg_not_present;
107 ldt_entry.useable = useable;
108 CHECK_EQ(0, syscall(__NR_modify_ldt, 1, &ldt_entry, sizeof(ldt_entry)));
109 entry_number = ldt_entry.entry_number;