Searched refs:new_ldt (Results 1 – 1 of 1) sorted by relevance
103 user_ldt_t new_ldt, old_ldt; in i386_set_ldt_impl() local170 new_ldt = NULL; in i386_set_ldt_impl()191 new_ldt = (user_ldt_t)kalloc_data(USER_LDT_SIZE(ldt_count), Z_WAITOK); in i386_set_ldt_impl()192 if (new_ldt == NULL) { in i386_set_ldt_impl()197 new_ldt->start = begin_sel; in i386_set_ldt_impl()198 new_ldt->count = ldt_count; in i386_set_ldt_impl()206 &new_ldt->ldt[old_ldt->start - begin_sel], in i386_set_ldt_impl()215 bzero(&new_ldt->ldt[old_ldt->count], in i386_set_ldt_impl()218 bzero(&new_ldt->ldt[num_sels], in i386_set_ldt_impl()228 err = copyin(descs, (char *)&new_ldt->ldt[start_sel - begin_sel], in i386_set_ldt_impl()[all …]