Home
last modified time | relevance | path

Searched refs:listsz (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/os/
H A Dwdt.c86 int listsz; in watchdog_init() local
118 listsz = num_nodes * sizeof (mde_cookie_t); in watchdog_init()
119 listp = kmem_zalloc(listsz, KM_SLEEP); in watchdog_init()
131 kmem_free(listp, listsz); in watchdog_init()
155 kmem_free(listp, listsz); in watchdog_init()
164 kmem_free(listp, listsz); in watchdog_init()
H A Dmach_mp_startup.c174 int listsz, i; in mp_cpu_configure() local
194 listsz = num_nodes * sizeof (mde_cookie_t); in mp_cpu_configure()
195 listp = kmem_zalloc(listsz, KM_SLEEP); in mp_cpu_configure()
215 kmem_free(listp, listsz); in mp_cpu_configure()
H A Dmach_descrip.c658 int listsz; in init_md_params() local
665 listsz = num_nodes * sizeof (mde_cookie_t); in init_md_params()
667 (*curr_mach_descrip_memops->meta_allocp)(listsz); in init_md_params()
676 (*curr_mach_descrip_memops->meta_freep)(listp, listsz); in init_md_params()
H A Dmach_cpu_states.c735 int listsz; in cpu_init_tick_freq() local
754 listsz = num_nodes * sizeof (mde_cookie_t); in cpu_init_tick_freq()
755 listp = (mde_cookie_t *)prom_alloc((caddr_t)0, listsz, 0); in cpu_init_tick_freq()
770 prom_free((caddr_t)listp, listsz); in cpu_init_tick_freq()
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_io.c400 int listsz; in dr_vio_find_parent_md() local
406 listp = kmem_zalloc(listsz, KM_SLEEP); in dr_vio_find_parent_md()
408 __func__, (void *)listp, listsz); in dr_vio_find_parent_md()
420 __func__, (void *)listp, listsz); in dr_vio_find_parent_md()
421 kmem_free(listp, listsz); in dr_vio_find_parent_md()
430 int listsz; in dr_io_configure() local
478 listsz = nnodes * sizeof (mde_cookie_t); in dr_io_configure()
479 listp = kmem_zalloc(listsz, KM_SLEEP); in dr_io_configure()
481 __func__, (void *)listp, listsz); in dr_io_configure()
606 __func__, (void *)listp, listsz); in dr_io_configure()
[all …]
H A Dcnex.c472 int listsz, num_nodes, num_channels; in cnex_reg_chan() local
507 listsz = num_nodes * sizeof (mde_cookie_t); in cnex_reg_chan()
508 listp = (mde_cookie_t *)kmem_zalloc(listsz, KM_SLEEP); in cnex_reg_chan()
518 kmem_free(listp, listsz); in cnex_reg_chan()
529 kmem_free(listp, listsz); in cnex_reg_chan()
540 kmem_free(listp, listsz); in cnex_reg_chan()
547 kmem_free(listp, listsz); in cnex_reg_chan()
554 kmem_free(listp, listsz); in cnex_reg_chan()
1295 int listsz; in cnex_find_chan_dip() local
1305 listsz = num_nodes * sizeof (mde_cookie_t); in cnex_find_chan_dip()
[all …]
H A Ddr_cpu.c965 int listsz; in dr_cpu_list_status() local
1018 listsz = num_nodes * sizeof (mde_cookie_t); in dr_cpu_list_status()
1019 listp = kmem_zalloc(listsz, KM_SLEEP); in dr_cpu_list_status()
1021 __func__, (void *)listp, listsz); in dr_cpu_list_status()
1041 __func__, (void *)listp, listsz); in dr_cpu_list_status()
1042 kmem_free(listp, listsz); in dr_cpu_list_status()
1428 int listsz; in dr_cpu_probe() local
1448 listp = kmem_zalloc(listsz, KM_SLEEP); in dr_cpu_probe()
1450 __func__, (void *)listp, listsz); in dr_cpu_probe()
1482 __func__, (void *)listp, listsz); in dr_cpu_probe()
[all …]
H A Dvlds.c1159 size_t listsz; in vlds_get_port_channel() local
1173 listsz = num_nodes * sizeof (mde_cookie_t); in vlds_get_port_channel()
1174 listp = kmem_alloc(listsz, KM_SLEEP); in vlds_get_port_channel()
1182 kmem_free(listp, listsz); in vlds_get_port_channel()
1193 kmem_free(listp, listsz); in vlds_get_port_channel()
1197 kmem_free(listp, listsz); in vlds_get_port_channel()
1265 int listsz; in vlds_mdeg_init() local
1283 listsz = num_nodes * sizeof (mde_cookie_t); in vlds_mdeg_init()
1286 vlds_nodes = kmem_zalloc(listsz, KM_SLEEP); in vlds_mdeg_init()
1338 DS_FREE(vlds_nodes, listsz); in vlds_mdeg_init()
H A Dds_drv.c199 int listsz; in ds_ports_init() local
215 listsz = num_nodes * sizeof (mde_cookie_t); in ds_ports_init()
218 portp = kmem_zalloc(listsz, KM_SLEEP); in ds_ports_init()
219 chanp = kmem_zalloc(listsz, KM_SLEEP); in ds_ports_init()
286 DS_FREE(portp, listsz); in ds_ports_init()
287 DS_FREE(chanp, listsz); in ds_ports_init()
H A Dvsw.c1651 int listsz = 0; in vsw_read_mdprops() local
1685 listsz = num_nodes * sizeof (mde_cookie_t); in vsw_read_mdprops()
1686 listp = (mde_cookie_t *)kmem_zalloc(listsz, KM_SLEEP); in vsw_read_mdprops()
1735 kmem_free(listp, listsz); in vsw_read_mdprops()
2457 int listsz = 0; in vsw_port_read_props() local
2483 listsz = num_nodes * sizeof (mde_cookie_t); in vsw_port_read_props()
2484 listp = kmem_zalloc(listsz, KM_SLEEP); in vsw_port_read_props()
2491 kmem_free(listp, listsz); in vsw_port_read_props()
2501 kmem_free(listp, listsz); in vsw_port_read_props()
2506 kmem_free(listp, listsz); in vsw_port_read_props()
H A Dvldc.c533 size_t listsz; in i_vldc_get_port_channel() local
547 listsz = num_nodes * sizeof (mde_cookie_t); in i_vldc_get_port_channel()
548 listp = kmem_alloc(listsz, KM_SLEEP); in i_vldc_get_port_channel()
556 kmem_free(listp, listsz); in i_vldc_get_port_channel()
566 kmem_free(listp, listsz); in i_vldc_get_port_channel()
570 kmem_free(listp, listsz); in i_vldc_get_port_channel()
H A Ddr_mem.c1007 int listsz; in dr_mem_find() local
1020 listsz = num_nodes * sizeof (mde_cookie_t); in dr_mem_find()
1021 listp = kmem_zalloc(listsz, KM_SLEEP); in dr_mem_find()
1032 kmem_free(listp, listsz); in dr_mem_find()
H A Dvnet_gen.c1302 int listsz = 0; in vgen_read_mdprops() local
1312 listsz = num_nodes * sizeof (mde_cookie_t); in vgen_read_mdprops()
1313 listp = (mde_cookie_t *)kmem_zalloc(listsz, KM_SLEEP); in vgen_read_mdprops()
1381 kmem_free(listp, listsz); in vgen_read_mdprops()
2124 int listsz = 0; in vgen_port_read_props() local
2145 listsz = num_nodes * sizeof (mde_cookie_t); in vgen_port_read_props()
2146 listp = kmem_zalloc(listsz, KM_NOSLEEP); in vgen_port_read_props()
2156 kmem_free(listp, listsz); in vgen_port_read_props()
2167 kmem_free(listp, listsz); in vgen_port_read_props()
2176 kmem_free(listp, listsz); in vgen_port_read_props()
[all …]
H A Dvdc.c2253 int listsz; in vdc_get_md_node() local
2290 listsz = num_nodes * sizeof (mde_cookie_t); in vdc_get_md_node()
2293 listp = kmem_zalloc(listsz, KM_SLEEP); in vdc_get_md_node()
2344 kmem_free(listp, listsz); in vdc_get_md_node()
2372 int listsz; in vdc_init_ports() local
2385 listsz = num_nodes * sizeof (mde_cookie_t); in vdc_init_ports()
2388 portp = kmem_zalloc(listsz, KM_SLEEP); in vdc_init_ports()
2389 chanp = kmem_zalloc(listsz, KM_SLEEP); in vdc_init_ports()
2487 kmem_free(chanp, listsz); in vdc_init_ports()
2488 kmem_free(portp, listsz); in vdc_init_ports()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_import.c258 int listsz; member
309 if (a->listsz <= i) { in i_getln_to_argv()
312 a->listsz += CHUNK; in i_getln_to_argv()
314 ((a->listsz - 1) * sizeof (a->arglist)); in i_getln_to_argv()
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_emul.c383 size_t listsz; in cif_check_cpus() local
399 listsz = num_nodes * sizeof (mde_cookie_t); in cif_check_cpus()
400 listp = kmem_zalloc(listsz, KM_SLEEP); in cif_check_cpus()
428 kmem_free(listp, listsz); in cif_check_cpus()