Lines Matching refs:mall
18 list_for_each_entry(mall_entry, &block->mall.list, list) in mlxsw_sp_mall_entry_find()
162 if (list_empty(&block->mall.list)) in mlxsw_sp_mall_prio_update()
164 block->mall.min_prio = UINT_MAX; in mlxsw_sp_mall_prio_update()
165 block->mall.max_prio = 0; in mlxsw_sp_mall_prio_update()
166 list_for_each_entry(mall_entry, &block->mall.list, list) { in mlxsw_sp_mall_prio_update()
167 if (mall_entry->priority < block->mall.min_prio) in mlxsw_sp_mall_prio_update()
168 block->mall.min_prio = mall_entry->priority; in mlxsw_sp_mall_prio_update()
169 if (mall_entry->priority > block->mall.max_prio) in mlxsw_sp_mall_prio_update()
170 block->mall.max_prio = mall_entry->priority; in mlxsw_sp_mall_prio_update()
279 list_add_tail(&mall_entry->list, &block->mall.list); in mlxsw_sp_mall_replace()
322 list_for_each_entry(mall_entry, &block->mall.list, list) { in mlxsw_sp_mall_port_bind()
330 list_for_each_entry_continue_reverse(mall_entry, &block->mall.list, in mlxsw_sp_mall_port_bind()
341 list_for_each_entry(mall_entry, &block->mall.list, list) in mlxsw_sp_mall_port_unbind()
348 if (chain_index || list_empty(&block->mall.list)) in mlxsw_sp_mall_prio_get()
354 *p_min_prio = block->mall.min_prio; in mlxsw_sp_mall_prio_get()
355 *p_max_prio = block->mall.max_prio; in mlxsw_sp_mall_prio_get()