Lines Matching defs:nldt
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)
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 = -1;
128 nldt = ssize / sizeof (struct ssd);
131 return (nldt);