Lines Matching refs:p_ldtlimit
325 xen_set_ldt(curproc->p_ldt, curproc->p_ldtlimit + 1); in ldt_load()
334 len = (curproc->p_ldtlimit + 1) * sizeof (user_desc_t); in ldt_load()
526 } else if (seli > pp->p_ldtlimit) { in setdscr()
535 ASSERT(seli <= pp->p_ldtlimit); in setdscr()
692 ASSERT(pp->p_ldtlimit == 0); in ldt_alloc()
711 pp->p_ldtlimit = nsels - 1; in ldt_alloc()
724 ldtsz = (pp->p_ldtlimit + 1) * sizeof (user_desc_t); in ldt_free()
729 pp->p_ldtlimit = 0; in ldt_free()
767 ldtsz = (pp->p_ldtlimit + 1) * sizeof (user_desc_t); in ldt_dup()
769 ldt_alloc(cp, pp->p_ldtlimit); in ldt_dup()
811 ASSERT(pp->p_ldtlimit != 0); in ldt_grow()
820 ASSERT(nsels > pp->p_ldtlimit); in ldt_grow()
823 oldtsz = (pp->p_ldtlimit + 1) * sizeof (user_desc_t); in ldt_grow()
850 pp->p_ldtlimit = nsels - 1; in ldt_grow()