Searched refs:new_pit (Results 1 – 1 of 1) sorted by relevance
3860 struct i40e_flex_pit *new_pit, *entry; in i40e_add_flex_offset() local3862 new_pit = kzalloc(sizeof(*entry), GFP_KERNEL); in i40e_add_flex_offset()3863 if (!new_pit) in i40e_add_flex_offset()3866 new_pit->src_offset = src_offset; in i40e_add_flex_offset()3867 new_pit->pit_index = pit_index; in i40e_add_flex_offset()3873 if (new_pit->src_offset < entry->src_offset) { in i40e_add_flex_offset()3874 list_add_tail(&new_pit->list, &entry->list); in i40e_add_flex_offset()3882 if (new_pit->src_offset == entry->src_offset) { in i40e_add_flex_offset()3888 if (new_pit->pit_index != entry->pit_index) in i40e_add_flex_offset()3891 kfree(new_pit); in i40e_add_flex_offset()[all …]