Searched refs:new_pit (Results 1 – 1 of 1) sorted by relevance
3970 struct i40e_flex_pit *new_pit, *entry; in i40e_add_flex_offset() local3972 new_pit = kzalloc(sizeof(*entry), GFP_KERNEL); in i40e_add_flex_offset()3973 if (!new_pit) in i40e_add_flex_offset()3976 new_pit->src_offset = src_offset; in i40e_add_flex_offset()3977 new_pit->pit_index = pit_index; in i40e_add_flex_offset()3983 if (new_pit->src_offset < entry->src_offset) { in i40e_add_flex_offset()3984 list_add_tail(&new_pit->list, &entry->list); in i40e_add_flex_offset()3992 if (new_pit->src_offset == entry->src_offset) { in i40e_add_flex_offset()3998 if (new_pit->pit_index != entry->pit_index) in i40e_add_flex_offset()4001 kfree(new_pit); in i40e_add_flex_offset()[all …]