Lines Matching refs:real_npsets
745 uint_t real_npsets;
764 real_npsets = 0;
766 real_npsets = 1;
767 psets = kmem_alloc(real_npsets * sizeof (psetid_t),
772 real_npsets = cpupart_list(0, NULL, CP_ALL);
773 if (real_npsets) {
774 psets = kmem_alloc(real_npsets * sizeof (psetid_t),
776 (void) cpupart_list(psets, real_npsets, CP_ALL);
781 if (user_npsets > real_npsets)
782 user_npsets = real_npsets;
785 if (copyout(&real_npsets, numpsets, sizeof (uint_t)) != 0)
794 if (real_npsets)
795 kmem_free(psets, real_npsets * sizeof (psetid_t));