Searched refs:first_empty_slot (Results 1 – 2 of 2) sorted by relevance
134 s32 regindex, first_empty_slot; in igb_find_vlvf_slot() local145 first_empty_slot = vlvf_bypass ? -E1000_ERR_NO_SPACE : 0; in igb_find_vlvf_slot()156 if (!first_empty_slot && !bits) in igb_find_vlvf_slot()157 first_empty_slot = regindex; in igb_find_vlvf_slot()160 return first_empty_slot ? : -E1000_ERR_NO_SPACE; in igb_find_vlvf_slot()
3082 s32 regindex, first_empty_slot; in ixgbe_find_vlvf_slot() local3093 first_empty_slot = vlvf_bypass ? IXGBE_ERR_NO_SPACE : 0; in ixgbe_find_vlvf_slot()3107 if (!first_empty_slot && !bits) in ixgbe_find_vlvf_slot()3108 first_empty_slot = regindex; in ixgbe_find_vlvf_slot()3114 if (!first_empty_slot) in ixgbe_find_vlvf_slot()3117 return first_empty_slot ? : IXGBE_ERR_NO_SPACE; in ixgbe_find_vlvf_slot()