Home
last modified time | relevance | path

Searched refs:num_swhdl (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_rsrc.c1688 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 Dtavor_rsrc.c1935 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()