Searched refs:nldt (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 127 * The caller provides a buffer of size 'nldt * sizeof (struct ssd)'; 128 * If pldt == NULL or nldt == 0, we return the number of existing LDT entries. 129 * Otherwise we return the actual number of LDT entries fetched (<= nldt). 132 proc_get_ldt(pid_t pid, struct ssd *pldt, int nldt) argument 145 if (pldt == NULL || nldt == 0) { 146 nldt = 0; 148 nldt = statb.st_size / sizeof (struct ssd); 150 return (nldt); 153 size = nldt * sizeof (struct ssd); 155 nldt [all...] |
H A D | Pservice.c | 246 int nldt; local 261 if ((nldt = Pldt(P, NULL, 0)) <= 0 || 262 (ldtarray = malloc(nldt * sizeof (struct ssd))) == NULL) 264 if ((nldt = Pldt(P, ldtarray, nldt)) <= 0) { 269 for (i = 0; i < nldt; i++) { 277 if (i < nldt)
|
H A D | Pcore.c | 301 Pldt_core(struct ps_prochandle *P, struct ssd *pldt, int nldt, void *data) argument 305 if (pldt == NULL || nldt == 0) 309 nldt = MIN(nldt, core->core_nldt); 312 nldt * sizeof (struct ssd)); 314 return (nldt); 893 uint_t nldt; local 898 nldt = nbytes / sizeof (struct ssd); 899 nbytes = nldt * sizeof (struct ssd); 911 core->core_nldt = nldt; [all...] |
H A D | Pgcore.c | 1442 int nldt; local 1447 if ((nldt = Pldt(P, NULL, 0)) != 0) { 1448 size = sizeof (struct ssd) * nldt; 1452 if (Pldt(P, ldtp, nldt) == -1 ||
|
H A D | Pcontrol.c | 317 Pldt_live(struct ps_prochandle *P, struct ssd *pldt, int nldt, void *data) argument 319 return (proc_get_ldt(P->pid, pldt, nldt)); 1343 * The caller provides a buffer of size 'nldt * sizeof (struct ssd)'; 1344 * If pldt == NULL or nldt == 0, we return the number of existing LDT entries. 1345 * Otherwise we return the actual number of LDT entries fetched (<= nldt). 1348 Pldt(struct ps_prochandle *P, struct ssd *pldt, int nldt) argument 1350 return (P->ops.pop_ldt(P, pldt, nldt, P->data));
|
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | sysi86.c | 826 user_desc_t *oldt, *nldt; local 845 nldt = kmem_zalloc(nldtsz, KM_SLEEP); 846 ASSERT(IS_P2ALIGNED(nldt, PAGESIZE)); 848 bcopy(oldt, nldt, oldtsz); 865 if (xen_ldt_setprot(nldt, nldtsz, PROT_READ)) 869 pp->p_ldt = nldt; 875 set_syssegd(&pp->p_ldt_desc, nldt, nldtsz - 1, SDT_SYSLDT, SEL_KPL);
|
/illumos-gate/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) argument 1947 if (pldt == NULL || nldt == 0) {
|
Completed in 71 milliseconds