Lines Matching refs:new_pit
3975 struct i40e_flex_pit *new_pit, *entry; in i40e_add_flex_offset() local
3977 new_pit = kzalloc(sizeof(*entry), GFP_KERNEL); in i40e_add_flex_offset()
3978 if (!new_pit) in i40e_add_flex_offset()
3981 new_pit->src_offset = src_offset; in i40e_add_flex_offset()
3982 new_pit->pit_index = pit_index; in i40e_add_flex_offset()
3988 if (new_pit->src_offset < entry->src_offset) { in i40e_add_flex_offset()
3989 list_add_tail(&new_pit->list, &entry->list); in i40e_add_flex_offset()
3997 if (new_pit->src_offset == entry->src_offset) { in i40e_add_flex_offset()
4003 if (new_pit->pit_index != entry->pit_index) in i40e_add_flex_offset()
4006 kfree(new_pit); in i40e_add_flex_offset()
4014 list_add_tail(&new_pit->list, flex_pit_list); in i40e_add_flex_offset()