Searched refs:nldt (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 103 proc_get_ldt(pid_t pid, struct ssd *pldt, int nldt) in proc_get_ldt() argument 116 if (pldt == NULL || nldt == 0) { in proc_get_ldt() 117 nldt = 0; in proc_get_ldt() 119 nldt = statb.st_size / sizeof (struct ssd); in proc_get_ldt() 121 return (nldt); in proc_get_ldt() 124 size = nldt * sizeof (struct ssd); in proc_get_ldt() 126 nldt = -1; in proc_get_ldt() 128 nldt = ssize / sizeof (struct ssd); in proc_get_ldt() 131 return (nldt); in proc_get_ldt()
|
H A D | Pservice.c | 246 int nldt; in ps_lgetLDT() local 261 if ((nldt = Pldt(P, NULL, 0)) <= 0 || in ps_lgetLDT() 262 (ldtarray = malloc(nldt * sizeof (struct ssd))) == NULL) in ps_lgetLDT() 264 if ((nldt = Pldt(P, ldtarray, nldt)) <= 0) { in ps_lgetLDT() 269 for (i = 0; i < nldt; i++) { in ps_lgetLDT() 277 if (i < nldt) in ps_lgetLDT()
|
H A D | Pcore.c | 280 Pldt_core(struct ps_prochandle *P, struct ssd *pldt, int nldt, void *data) in Pldt_core() argument 284 if (pldt == NULL || nldt == 0) in Pldt_core() 288 nldt = MIN(nldt, core->core_nldt); in Pldt_core() 291 nldt * sizeof (struct ssd)); in Pldt_core() 293 return (nldt); in Pldt_core() 843 uint_t nldt; in note_ldt() local 848 nldt = nbytes / sizeof (struct ssd); in note_ldt() 849 nbytes = nldt * sizeof (struct ssd); in note_ldt() 861 core->core_nldt = nldt; in note_ldt()
|
H A D | Pgcore.c | 1426 int nldt; in Pfgcore() local 1431 if ((nldt = Pldt(P, NULL, 0)) != 0) { in Pfgcore() 1432 size = sizeof (struct ssd) * nldt; in Pfgcore() 1436 if (Pldt(P, ldtp, nldt) == -1 || in Pfgcore()
|
H A D | Pcontrol.c | 308 Pldt_live(struct ps_prochandle *P, struct ssd *pldt, int nldt, void *data) in Pldt_live() argument 310 return (proc_get_ldt(P->pid, pldt, nldt)); in Pldt_live() 1316 Pldt(struct ps_prochandle *P, struct ssd *pldt, int nldt) in Pldt() argument 1318 return (P->ops.pop_ldt(P, pldt, nldt, P->data)); in Pldt()
|
/titanic_41/usr/src/uts/intel/ia32/os/ |
H A D | sysi86.c | 826 user_desc_t *oldt, *nldt; in ldt_grow() local 845 nldt = kmem_zalloc(nldtsz, KM_SLEEP); in ldt_grow() 846 ASSERT(IS_P2ALIGNED(nldt, PAGESIZE)); in ldt_grow() 848 bcopy(oldt, nldt, oldtsz); in ldt_grow() 865 if (xen_ldt_setprot(nldt, nldtsz, PROT_READ)) in ldt_grow() 869 pp->p_ldt = nldt; in ldt_grow() 875 set_syssegd(&pp->p_ldt_desc, nldt, nldtsz - 1, SDT_SYSLDT, SEL_KPL); in ldt_grow()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 1932 Pldt_gcore(struct ps_prochandle *P, struct ssd *pldt, int nldt, void *data) in Pldt_gcore() argument 1947 if (pldt == NULL || nldt == 0) { in Pldt_gcore()
|