Searched refs:num_swhdl (Results 1 – 2 of 2) sorted by relevance
/titanic_41/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()
|
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_rsrc.c | 2068 uint64_t num_swhdl, max_swhdl, prealloc_sz; in tavor_rsrc_sw_handles_init() local 2077 num_swhdl = info->swi_num; in tavor_rsrc_sw_handles_init() 2082 if (num_swhdl > max_swhdl) { in tavor_rsrc_sw_handles_init() 2104 info->swi_table_ptr = kmem_zalloc(num_swhdl * prealloc_sz, in tavor_rsrc_sw_handles_init() 2122 uint64_t num_swhdl, prealloc_sz; in tavor_rsrc_sw_handles_fini() local 2130 num_swhdl = info->swi_num; in tavor_rsrc_sw_handles_fini() 2143 kmem_free(info->swi_table_ptr, num_swhdl * prealloc_sz); in tavor_rsrc_sw_handles_fini()
|