.. | .. |
---|
20 | 20 | }; |
---|
21 | 21 | |
---|
22 | 22 | /* prototype for functions used for dynamic memory allocation */ |
---|
23 | | -i40e_status i40e_allocate_dma_mem(struct i40e_hw *hw, |
---|
24 | | - struct i40e_dma_mem *mem, |
---|
25 | | - enum i40e_memory_type type, |
---|
26 | | - u64 size, u32 alignment); |
---|
27 | | -i40e_status i40e_free_dma_mem(struct i40e_hw *hw, |
---|
28 | | - struct i40e_dma_mem *mem); |
---|
29 | | -i40e_status i40e_allocate_virt_mem(struct i40e_hw *hw, |
---|
30 | | - struct i40e_virt_mem *mem, |
---|
31 | | - u32 size); |
---|
32 | | -i40e_status i40e_free_virt_mem(struct i40e_hw *hw, |
---|
33 | | - struct i40e_virt_mem *mem); |
---|
| 23 | +int i40e_allocate_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem, |
---|
| 24 | + enum i40e_memory_type type, u64 size, u32 alignment); |
---|
| 25 | +int i40e_free_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem); |
---|
| 26 | +int i40e_allocate_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem, |
---|
| 27 | + u32 size); |
---|
| 28 | +int i40e_free_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem); |
---|
34 | 29 | |
---|
35 | 30 | #endif /* _I40E_ALLOC_H_ */ |
---|