Lines Matching refs:nptr
1141 char * nptr;
1206 nptr = ptr + sizeof(struct workqueue);
1209 wq->wq_thscheduled_count[i] = (uint16_t *)nptr;
1210 nptr += (num_cpus * sizeof(uint16_t));
1212 nptr += (sizeof(uint32_t) - 1);
1213 nptr = (char *)((uintptr_t)nptr & ~(sizeof(uint32_t) - 1));
1216 wq->wq_thactive_count[i] = (uint32_t *)nptr;
1217 nptr += (num_cpus * sizeof(uint32_t));
1220 * align nptr on a 64 bit boundary so that we can do nice
1225 nptr += (sizeof(uint64_t) - 1);
1226 nptr = (char *)((uintptr_t)nptr & ~(sizeof(uint64_t) - 1));
1229 wq->wq_lastblocked_ts[i] = (uint64_t *)nptr;
1230 nptr += (num_cpus * sizeof(uint64_t));