Searched refs:new_ldt (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/i386/i386/ |
| H A D | sys_machdep.c | 452 struct proc_ldt *pldt, *new_ldt; in user_ldt_alloc() local 461 new_ldt->ldt_refcnt = 1; in user_ldt_alloc() 462 new_ldt->ldt_active = 0; in user_ldt_alloc() 477 return (new_ldt); in user_ldt_alloc() 740 struct proc_ldt *new_ldt, *pldt; in i386_ldt_grow() local 758 if (new_ldt == NULL) in i386_ldt_grow() 769 pmap_trm_free(new_ldt->ldt_base, in i386_ldt_grow() 771 free(new_ldt, M_SUBPROC); in i386_ldt_grow() 782 pldt->ldt_sd = new_ldt->ldt_sd; in i386_ldt_grow() 786 mdp->md_ldt = pldt = new_ldt; in i386_ldt_grow() [all …]
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | sys_machdep.c | 509 struct proc_ldt *pldt, *new_ldt; in user_ldt_alloc() local 520 new_ldt = malloc(sizeof(struct proc_ldt), M_SUBPROC, M_WAITOK); in user_ldt_alloc() 523 new_ldt->ldt_base = (caddr_t)sva; in user_ldt_alloc() 525 new_ldt->ldt_refcnt = 1; in user_ldt_alloc() 539 free(new_ldt, M_SUBPROC); in user_ldt_alloc() 544 bcopy(pldt->ldt_base, new_ldt->ldt_base, max_ldt_segment * in user_ldt_alloc() 551 mdp->md_ldt = new_ldt; in user_ldt_alloc()
|