Searched defs:nldt (Results 1 - 5 of 5) sorted by relevance
/osnet-11/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 98 * The caller provides a buffer of size 'nldt * sizeof (struct ssd)'; 99 * If pldt == NULL or nldt == 0, we return the number of existing LDT entries. 100 * Otherwise we return the actual number of LDT entries fetched (<= nldt). 103 proc_get_ldt(pid_t pid, struct ssd *pldt, int nldt) argument 116 if (pldt == NULL || nldt == 0) { 117 nldt = 0; 119 nldt = statb.st_size / sizeof (struct ssd); 121 return (nldt); 124 size = nldt * sizeof (struct ssd); 126 nldt [all...] |
H A D | Pservice.c | 350 int nldt; local 365 if ((nldt = Pldt(P, NULL, 0)) <= 0 || 366 (ldtarray = malloc(nldt * sizeof (struct ssd))) == NULL) 368 if ((nldt = Pldt(P, ldtarray, nldt)) <= 0) { 373 for (i = 0; i < nldt; i++) { 381 if (i < nldt)
|
H A D | Pcore.c | 413 uint_t nldt; local 418 nldt = nbytes / sizeof (struct ssd); 419 nbytes = nldt * sizeof (struct ssd); 431 P->core->core_nldt = nldt;
|
H A D | Pgcore.c | 1371 int nldt; local 1376 if ((nldt = Pldt(P, NULL, 0)) != 0) { 1377 size = sizeof (struct ssd) * nldt; 1381 if (Pldt(P, ldtp, nldt) == -1 ||
|
H A D | Pcontrol.c | 1115 * The caller provides a buffer of size 'nldt * sizeof (struct ssd)'; 1116 * If pldt == NULL or nldt == 0, we return the number of existing LDT entries. 1117 * Otherwise we return the actual number of LDT entries fetched (<= nldt). 1120 Pldt(struct ps_prochandle *P, struct ssd *pldt, int nldt) argument 1128 return (proc_get_ldt(P->pid, pldt, nldt)); 1130 if (pldt == NULL || nldt == 0) 1134 nldt = MIN(nldt, P->core->core_nldt); 1137 nldt * sizeof (struct ssd)); 1139 return (nldt); [all...] |
Completed in 207 milliseconds