Lines Matching refs:ldt
131 if (!memcmp(&old_ldt->ldt[i++], &null_ldt, sizeof(null_ldt))) {
190 * Have new LDT. If there was a an old ldt, copy descriptors
194 bcopy(&old_ldt->ldt[0],
195 &new_ldt->ldt[old_ldt->start - begin_sel],
204 bzero(&new_ldt->ldt[old_ldt->count],
207 bzero(&new_ldt->ldt[num_sels],
216 err = copyin(descs, (char *)&new_ldt->ldt[start_sel - begin_sel],
225 bzero(&new_ldt->ldt[start_sel - begin_sel], num_sels * sizeof(struct real_descriptor));
232 for (i = 0, dp = (struct real_descriptor *) &new_ldt->ldt[start_sel - begin_sel];
389 bcopy(user_ldt->ldt, &ldtp[user_ldt->start],