Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_agents.c412 uint_t num_ports, num_agents, num_agents_per_port; in tavor_agent_list_init() local
428 num_agents = 0; in tavor_agent_list_init()
433 num_agents += (num_ports * TAVOR_NUM_QP0_AGENTS_PER_PORT); in tavor_agent_list_init()
438 num_agents += (num_ports * TAVOR_NUM_QP1_AGENTS_PER_PORT); in tavor_agent_list_init()
452 state->ts_num_agents = num_agents; in tavor_agent_list_init()
457 state->ts_agents = (tavor_agent_list_t *)kmem_zalloc(num_agents * in tavor_agent_list_init()
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_agents.c588 uint_t num_ports, num_agents, num_agents_per_port; in hermon_agent_list_init() local
602 num_agents = 0; in hermon_agent_list_init()
607 num_agents += (num_ports * HERMON_NUM_QP0_AGENTS_PER_PORT); in hermon_agent_list_init()
612 num_agents += (num_ports * HERMON_NUM_QP1_AGENTS_PER_PORT); in hermon_agent_list_init()
626 state->hs_num_agents = num_agents; in hermon_agent_list_init()
631 state->hs_agents = (hermon_agent_list_t *)kmem_zalloc(num_agents * in hermon_agent_list_init()