Searched refs:new_pit (Results 1 – 1 of 1) sorted by relevance
3975 struct i40e_flex_pit *new_pit, *entry; in i40e_add_flex_offset() local3977 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()[all …]