Searched refs:num_agents (Results 1 – 2 of 2) sorted by relevance
412 uint_t num_ports, num_agents, num_agents_per_port; in tavor_agent_list_init() local428 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()
588 uint_t num_ports, num_agents, num_agents_per_port; in hermon_agent_list_init() local602 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()