Searched refs:ldtsz (Results 1 – 1 of 1) sorted by relevance
687 size_t ldtsz; in ldt_alloc() local698 ldtsz = P2ROUNDUP((seli + 1) * sizeof (user_desc_t), PAGESIZE); in ldt_alloc()699 nsels = ldtsz / sizeof (user_desc_t); in ldt_alloc()702 ldt = kmem_zalloc(ldtsz, KM_SLEEP); in ldt_alloc()706 if (xen_ldt_setprot(ldt, ldtsz, PROT_READ)) in ldt_alloc()718 size_t ldtsz; in ldt_free() local724 ldtsz = (pp->p_ldtlimit + 1) * sizeof (user_desc_t); in ldt_free()726 ASSERT(IS_P2ALIGNED(ldtsz, PAGESIZE)); in ldt_free()743 if (xen_ldt_setprot(ldt, ldtsz, PROT_READ | PROT_WRITE)) in ldt_free()747 kmem_free(ldt, ldtsz); in ldt_free()[all …]