Searched refs:new_pit (Results 1 – 1 of 1) sorted by relevance
3967 struct i40e_flex_pit *new_pit, *entry; in i40e_add_flex_offset() local3969 new_pit = kzalloc(sizeof(*entry), GFP_KERNEL); in i40e_add_flex_offset()3970 if (!new_pit) in i40e_add_flex_offset()3973 new_pit->src_offset = src_offset; in i40e_add_flex_offset()3974 new_pit->pit_index = pit_index; in i40e_add_flex_offset()3980 if (new_pit->src_offset < entry->src_offset) { in i40e_add_flex_offset()3981 list_add_tail(&new_pit->list, &entry->list); in i40e_add_flex_offset()3989 if (new_pit->src_offset == entry->src_offset) { in i40e_add_flex_offset()3995 if (new_pit->pit_index != entry->pit_index) in i40e_add_flex_offset()3998 kfree(new_pit); in i40e_add_flex_offset()[all …]