Searched defs:listsz (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_mp_startup.c175 int listsz, i; local
195 listsz = num_nodes * sizeof (mde_cookie_t);
196 listp = kmem_zalloc(listsz, KM_SLEEP);
216 kmem_free(listp, listsz);
H A Dwdt.c86 int listsz; local
118 listsz = num_nodes * sizeof (mde_cookie_t);
119 listp = kmem_zalloc(listsz, KM_SLEEP);
131 kmem_free(listp, listsz);
155 kmem_free(listp, listsz);
164 kmem_free(listp, listsz);
H A Dmach_descrip.c658 int listsz; local
665 listsz = num_nodes * sizeof (mde_cookie_t);
667 (*curr_mach_descrip_memops->meta_allocp)(listsz);
676 (*curr_mach_descrip_memops->meta_freep)(listp, listsz);
H A Dmach_cpu_states.c735 int listsz; local
754 listsz = num_nodes * sizeof (mde_cookie_t);
755 listp = (mde_cookie_t *)prom_alloc((caddr_t)0, listsz, 0);
770 prom_free((caddr_t)listp, listsz);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_import.c258 int listsz; member in struct:__anon253
309 if (a->listsz <= i) {
312 a->listsz += CHUNK;
314 ((a->listsz - 1) * sizeof (a->arglist));
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_io.c400 int listsz; local
405 listsz = max_nodes * sizeof (mde_cookie_t);
406 listp = kmem_zalloc(listsz, KM_SLEEP);
408 __func__, (void *)listp, listsz);
420 __func__, (void *)listp, listsz);
421 kmem_free(listp, listsz);
430 int listsz; local
478 listsz = nnodes * sizeof (mde_cookie_t);
479 listp = kmem_zalloc(listsz, KM_SLEEP);
481 __func__, (void *)listp, listsz);
[all...]
H A Dcnex.c472 int listsz, num_nodes, num_channels; local
507 listsz = num_nodes * sizeof (mde_cookie_t);
508 listp = (mde_cookie_t *)kmem_zalloc(listsz, KM_SLEEP);
518 kmem_free(listp, listsz);
529 kmem_free(listp, listsz);
540 kmem_free(listp, listsz);
547 kmem_free(listp, listsz);
554 kmem_free(listp, listsz);
1295 int listsz; local
1305 listsz
[all...]
H A Dds_drv.c220 int listsz; local
236 listsz = num_nodes * sizeof (mde_cookie_t);
239 portp = kmem_zalloc(listsz, KM_SLEEP);
240 chanp = kmem_zalloc(listsz, KM_SLEEP);
307 DS_FREE(portp, listsz);
308 DS_FREE(chanp, listsz);
H A Dvldc.c533 size_t listsz; local
547 listsz = num_nodes * sizeof (mde_cookie_t);
548 listp = kmem_alloc(listsz, KM_SLEEP);
556 kmem_free(listp, listsz);
566 kmem_free(listp, listsz);
570 kmem_free(listp, listsz);
H A Ddr_cpu.c961 int listsz; local
1014 listsz = num_nodes * sizeof (mde_cookie_t);
1015 listp = kmem_zalloc(listsz, KM_SLEEP);
1017 __func__, (void *)listp, listsz);
1037 __func__, (void *)listp, listsz);
1038 kmem_free(listp, listsz);
1424 int listsz; local
1443 listsz = num_nodes * sizeof (mde_cookie_t);
1444 listp = kmem_zalloc(listsz, KM_SLEEP);
1446 __func__, (void *)listp, listsz);
[all...]
H A Ddr_mem.c1007 int listsz; local
1020 listsz = num_nodes * sizeof (mde_cookie_t);
1021 listp = kmem_zalloc(listsz, KM_SLEEP);
1032 kmem_free(listp, listsz);
H A Dvlds.c1159 size_t listsz; local
1173 listsz = num_nodes * sizeof (mde_cookie_t);
1174 listp = kmem_alloc(listsz, KM_SLEEP);
1182 kmem_free(listp, listsz);
1193 kmem_free(listp, listsz);
1197 kmem_free(listp, listsz);
1265 int listsz; local
1283 listsz = num_nodes * sizeof (mde_cookie_t);
1286 vlds_nodes = kmem_zalloc(listsz, KM_SLEEP);
1338 DS_FREE(vlds_nodes, listsz);
[all...]
H A Dvsw.c1651 int listsz = 0; local
1685 listsz = num_nodes * sizeof (mde_cookie_t);
1686 listp = (mde_cookie_t *)kmem_zalloc(listsz, KM_SLEEP);
1735 kmem_free(listp, listsz);
2458 int listsz = 0; local
2484 listsz = num_nodes * sizeof (mde_cookie_t);
2485 listp = kmem_zalloc(listsz, KM_SLEEP);
2492 kmem_free(listp, listsz);
2502 kmem_free(listp, listsz);
2507 kmem_free(listp, listsz);
[all...]
H A Dvdc.c2253 int listsz; local
2290 listsz = num_nodes * sizeof (mde_cookie_t);
2293 listp = kmem_zalloc(listsz, KM_SLEEP);
2344 kmem_free(listp, listsz);
2372 int listsz; local
2385 listsz = num_nodes * sizeof (mde_cookie_t);
2388 portp = kmem_zalloc(listsz, KM_SLEEP);
2389 chanp = kmem_zalloc(listsz, KM_SLEEP);
2487 kmem_free(chanp, listsz);
2488 kmem_free(portp, listsz);
[all...]
H A Dvnet_gen.c1299 int listsz = 0; local
1309 listsz = num_nodes * sizeof (mde_cookie_t);
1310 listp = (mde_cookie_t *)kmem_zalloc(listsz, KM_SLEEP);
1378 kmem_free(listp, listsz);
2121 int listsz = 0; local
2142 listsz = num_nodes * sizeof (mde_cookie_t);
2143 listp = kmem_zalloc(listsz, KM_NOSLEEP);
2153 kmem_free(listp, listsz);
2164 kmem_free(listp, listsz);
2173 kmem_free(listp, listsz);
[all...]
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_emul.c383 size_t listsz; local
399 listsz = num_nodes * sizeof (mde_cookie_t);
400 listp = kmem_zalloc(listsz, KM_SLEEP);
428 kmem_free(listp, listsz);

Completed in 96 milliseconds