Lines Matching refs:real_descriptor
97 struct real_descriptor *dp;
119 struct real_descriptor null_ldt;
180 new_ldt = (user_ldt_t)kalloc(sizeof(struct user_ldt) + (ldt_count * sizeof(struct real_descriptor)));
196 old_ldt->count * sizeof(struct real_descriptor));
205 (start_sel - (old_ldt->start + old_ldt->count)) * sizeof(struct real_descriptor));
208 (old_ldt->start - (start_sel + num_sels)) * sizeof(struct real_descriptor));
217 num_sels * sizeof(struct real_descriptor));
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];
325 descs, copy_sels * sizeof(struct real_descriptor));
339 kfree(user_ldt, sizeof(struct user_ldt) + (user_ldt->count * sizeof(struct real_descriptor)));
347 size_t size = sizeof(struct user_ldt) + (user_ldt->count * sizeof(struct real_descriptor));
382 struct real_descriptor *ldtp = (struct real_descriptor *)current_ldt();
386 sizeof(struct real_descriptor) * (user_ldt->start - LDTSZ_MIN));
390 sizeof(struct real_descriptor) * (user_ldt->count));
392 gdt_desc_p(USER_LDT)->limit_low = (uint16_t)((sizeof(struct real_descriptor) * (user_ldt->start + user_ldt->count)) - 1);