Searched refs:num_swhdl (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_rsrc.c | 1688 uint64_t num_swhdl, max_swhdl, prealloc_sz; in hermon_rsrc_sw_handles_init() local 1695 num_swhdl = info->swi_num; in hermon_rsrc_sw_handles_init() 1701 if (num_swhdl > max_swhdl) { in hermon_rsrc_sw_handles_init() 1720 info->swi_table_ptr = kmem_zalloc(num_swhdl * prealloc_sz, in hermon_rsrc_sw_handles_init() 1738 uint64_t num_swhdl, prealloc_sz; in hermon_rsrc_sw_handles_fini() local 1744 num_swhdl = info->swi_num; in hermon_rsrc_sw_handles_fini() 1757 kmem_free(info->swi_table_ptr, num_swhdl * prealloc_sz); in hermon_rsrc_sw_handles_fini()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_rsrc.c | 1935 uint64_t num_swhdl, max_swhdl, prealloc_sz; in tavor_rsrc_sw_handles_init() local 1942 num_swhdl = info->swi_num; in tavor_rsrc_sw_handles_init() 1947 if (num_swhdl > max_swhdl) { in tavor_rsrc_sw_handles_init() 1965 info->swi_table_ptr = kmem_zalloc(num_swhdl * prealloc_sz, in tavor_rsrc_sw_handles_init() 1982 uint64_t num_swhdl, prealloc_sz; in tavor_rsrc_sw_handles_fini() local 1988 num_swhdl = info->swi_num; in tavor_rsrc_sw_handles_fini() 2001 kmem_free(info->swi_table_ptr, num_swhdl * prealloc_sz); in tavor_rsrc_sw_handles_fini()
|