Searched refs:prealloc_sz (Results 1 – 2 of 2) sorted by relevance
/titanic_50/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 1697 prealloc_sz = info->swi_prealloc_sz; 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 1745 prealloc_sz = info->swi_prealloc_sz; in hermon_rsrc_sw_handles_fini() 1757 kmem_free(info->swi_table_ptr, num_swhdl * prealloc_sz); in hermon_rsrc_sw_handles_fini()
|
/titanic_50/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 2079 prealloc_sz = info->swi_prealloc_sz; 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 2131 prealloc_sz = info->swi_prealloc_sz; in tavor_rsrc_sw_handles_fini() 2143 kmem_free(info->swi_table_ptr, num_swhdl * prealloc_sz); in tavor_rsrc_sw_handles_fini()
|