|
iPXE
|
Go to the source code of this file.
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
Definition at line 17 of file mlx_memory_priv.c.
References malloc(), MLX_OUT_OF_RESOURCES, MLX_SUCCESS, NULL, size, and status.
Referenced by mlx_memory_alloc().
Definition at line 32 of file mlx_memory_priv.c.
References MLX_OUT_OF_RESOURCES, MLX_SUCCESS, NULL, size, status, and zalloc().
Referenced by mlx_memory_zalloc().
| mlx_status mlx_memory_free_priv | ( | IN mlx_utils * | utils, |
| IN mlx_void * | ptr | ||
| ) |
Definition at line 47 of file mlx_memory_priv.c.
References free, MLX_SUCCESS, and status.
Referenced by mlx_memory_free().
| mlx_status mlx_memory_alloc_dma_priv | ( | IN mlx_utils * | utils, |
| IN mlx_size | size, | ||
| IN mlx_size | align, | ||
| OUT mlx_void ** | ptr | ||
| ) |
Definition at line 57 of file mlx_memory_priv.c.
References malloc_phys(), memset(), MLX_OUT_OF_RESOURCES, MLX_SUCCESS, NULL, size, and status.
Referenced by mlx_memory_alloc_dma().
Definition at line 75 of file mlx_memory_priv.c.
References free_phys(), MLX_SUCCESS, size, and status.
Referenced by mlx_memory_free_dma().
| mlx_status mlx_memory_map_dma_priv | ( | IN mlx_utils * | utils, |
| IN mlx_void * | addr, | ||
| IN mlx_size | number_of_bytes, | ||
| OUT mlx_physical_address * | phys_addr, | ||
| OUT mlx_void ** | mapping | ||
| ) |
Definition at line 86 of file mlx_memory_priv.c.
References addr, MLX_SUCCESS, status, and virt_to_bus().
Referenced by mlx_memory_map_dma().
| mlx_status mlx_memory_ummap_dma_priv | ( | IN mlx_utils * | utils, |
| IN mlx_void * | mapping | ||
| ) |
Definition at line 100 of file mlx_memory_priv.c.
References MLX_SUCCESS, and status.
Referenced by mlx_memory_ummap_dma().
| mlx_status mlx_memory_cmp_priv | ( | IN mlx_utils * | utils, |
| IN mlx_void * | first_block, | ||
| IN mlx_void * | second_block, | ||
| IN mlx_size | size, | ||
| OUT mlx_uint32 * | out | ||
| ) |
Referenced by mlx_memory_cmp().
| mlx_status mlx_memory_set_priv | ( | IN mlx_utils * | utils, |
| IN mlx_void * | block, | ||
| IN mlx_int32 | value, | ||
| IN mlx_size | size | ||
| ) |
Referenced by mlx_memory_set().
| mlx_status mlx_memory_cpy_priv | ( | IN mlx_utils * | utils, |
| OUT mlx_void * | destination_buffer, | ||
| IN mlx_void * | source_buffer, | ||
| IN mlx_size | length | ||
| ) |
Referenced by mlx_memory_cpy().
| mlx_status mlx_memory_cpu_to_be32_priv | ( | IN mlx_utils * | utils, |
| IN mlx_uint32 | source, | ||
| IN mlx_uint32 * | destination | ||
| ) |
Referenced by mlx_memory_cpu_to_be32().
| mlx_status mlx_memory_be32_to_cpu_priv | ( | IN mlx_utils * | utils, |
| IN mlx_uint32 | source, | ||
| IN mlx_uint32 * | destination | ||
| ) |
Referenced by mlx_memory_be32_to_cpu().
1.8.15