Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c185 struct hnae3_ring_chain_node *cur_chain, *new_chain; in hclge_get_ring_chain_from_mbx() local
215 new_chain = kzalloc(sizeof(*new_chain), GFP_KERNEL); in hclge_get_ring_chain_from_mbx()
216 if (!new_chain) in hclge_get_ring_chain_from_mbx()
219 hnae3_set_bit(new_chain->flag, HNAE3_RING_TYPE_B, in hclge_get_ring_chain_from_mbx()
222 new_chain->tqp_index = in hclge_get_ring_chain_from_mbx()
226 hnae3_set_field(new_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hclge_get_ring_chain_from_mbx()
230 cur_chain->next = new_chain; in hclge_get_ring_chain_from_mbx()
231 cur_chain = new_chain; in hclge_get_ring_chain_from_mbx()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Drunqueue.py522 new_chain = []
526 new_chain.extend(chain[lowest:])
527 new_chain.extend(chain[:lowest])
528 return new_chain
560 new_chain = chain_reorder(chain)
561 if not chain_array_contains(new_chain, valid_chains):
562 valid_chains.append(new_chain)
564 for dep in new_chain: