pile 192 drivers/net/ethernet/intel/i40e/i40e_main.c static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, pile 198 drivers/net/ethernet/intel/i40e/i40e_main.c if (!pile || needed == 0 || id >= I40E_PILE_VALID_BIT) { pile 201 drivers/net/ethernet/intel/i40e/i40e_main.c pile ? "<valid>" : "<null>", needed, id); pile 206 drivers/net/ethernet/intel/i40e/i40e_main.c i = pile->search_hint; pile 207 drivers/net/ethernet/intel/i40e/i40e_main.c while (i < pile->num_entries) { pile 209 drivers/net/ethernet/intel/i40e/i40e_main.c if (pile->list[i] & I40E_PILE_VALID_BIT) { pile 215 drivers/net/ethernet/intel/i40e/i40e_main.c for (j = 0; (j < needed) && ((i+j) < pile->num_entries); j++) { pile 216 drivers/net/ethernet/intel/i40e/i40e_main.c if (pile->list[i+j] & I40E_PILE_VALID_BIT) pile 223 drivers/net/ethernet/intel/i40e/i40e_main.c pile->list[i+j] = id | I40E_PILE_VALID_BIT; pile 225 drivers/net/ethernet/intel/i40e/i40e_main.c pile->search_hint = i + j; pile 244 drivers/net/ethernet/intel/i40e/i40e_main.c static int i40e_put_lump(struct i40e_lump_tracking *pile, u16 index, u16 id) pile 250 drivers/net/ethernet/intel/i40e/i40e_main.c if (!pile || index >= pile->num_entries) pile 254 drivers/net/ethernet/intel/i40e/i40e_main.c i < pile->num_entries && pile->list[i] == valid_id; pile 256 drivers/net/ethernet/intel/i40e/i40e_main.c pile->list[i] = 0; pile 260 drivers/net/ethernet/intel/i40e/i40e_main.c if (count && index < pile->search_hint) pile 261 drivers/net/ethernet/intel/i40e/i40e_main.c pile->search_hint = index;